IMPROVEMENT: Andy Piper fix to tempcal script#29
Open
amilcarlucas wants to merge 1 commit into
Open
Conversation
amilcarlucas
force-pushed
the
master
branch
2 times, most recently
from
June 19, 2024 15:44
a56275f to
bb12266
Compare
amilcarlucas
force-pushed
the
andy_piper_tempcal_fix
branch
from
July 11, 2024 10:42
5e892eb to
8399d49
Compare
Contributor
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified FilesNo covered modified files...
|
amilcarlucas
force-pushed
the
master
branch
2 times, most recently
from
August 1, 2024 12:54
041fb58 to
46095ad
Compare
amilcarlucas
force-pushed
the
andy_piper_tempcal_fix
branch
from
August 1, 2024 21:42
8399d49 to
87d0309
Compare
amilcarlucas
force-pushed
the
andy_piper_tempcal_fix
branch
from
August 3, 2024 10:44
87d0309 to
f182273
Compare
andyp1per
approved these changes
Aug 4, 2024
amilcarlucas
force-pushed
the
master
branch
4 times, most recently
from
November 21, 2024 23:23
1a4bd94 to
df9f512
Compare
amilcarlucas
force-pushed
the
andy_piper_tempcal_fix
branch
from
December 19, 2024 16:54
f182273 to
ae677f3
Compare
amilcarlucas
force-pushed
the
andy_piper_tempcal_fix
branch
from
January 17, 2025 21:11
ae677f3 to
bfef6ad
Compare
Collaborator
Author
|
@andyp1per did you talk with @tridge about this? Does he agree with this? |
amilcarlucas
force-pushed
the
andy_piper_tempcal_fix
branch
from
February 18, 2025 08:37
bfef6ad to
7e87805
Compare
Contributor
amilcarlucas
force-pushed
the
andy_piper_tempcal_fix
branch
from
February 21, 2025 09:42
7e87805 to
208d284
Compare
amilcarlucas
force-pushed
the
andy_piper_tempcal_fix
branch
from
March 3, 2025 13:14
208d284 to
4359fbb
Compare
Contributor
There was a problem hiding this comment.
PR Overview
This PR improves the tempcal script by adding an extra condition to control IMU processing in the IMUfit loop.
- Introduces an additional check (c.enable[imu] == 2) to skip processing based on the enable state.
- Adjusts the control flow in the IMUfit function accordingly.
Reviewed Changes
| File | Description |
|---|---|
| ardupilot_methodic_configurator/tempcal_imu.py | Adds condition to bypass processing when c.enable[imu] equals 2. |
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
ardupilot_methodic_configurator/tempcal_imu.py:374
- Ensure that c.enable[imu] is properly initialized for every imu index before checking if it equals 2 to avoid potential index errors.
if stop_capture[imu] or c.enable[imu] == 2:
amilcarlucas
force-pushed
the
andy_piper_tempcal_fix
branch
from
October 6, 2025 16:35
4359fbb to
297a88d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a copy of ArduPilot/ardupilot#27294