Skip to content

Conversation

amilcarlucas
Copy link
Collaborator

@amilcarlucas amilcarlucas commented Jun 17, 2024

This is a copy of ArduPilot/ardupilot#27294

@amilcarlucas amilcarlucas changed the title IMPROVEMENT: small usermanual fixes and improvements IMPROVEMENT: Andy Piper fix to tempcal script Jun 17, 2024
@amilcarlucas amilcarlucas force-pushed the master branch 2 times, most recently from a56275f to bb12266 Compare June 19, 2024 15:44
@amilcarlucas amilcarlucas force-pushed the andy_piper_tempcal_fix branch from 5e892eb to 8399d49 Compare July 11, 2024 10:42
Copy link
Contributor

github-actions bot commented Jul 11, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
8548 6922 81% 80% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 297a88d by action🐍

@amilcarlucas amilcarlucas force-pushed the master branch 2 times, most recently from 041fb58 to 46095ad Compare August 1, 2024 12:54
@amilcarlucas amilcarlucas force-pushed the andy_piper_tempcal_fix branch from 8399d49 to 87d0309 Compare August 1, 2024 21:42
@amilcarlucas amilcarlucas requested a review from andyp1per August 2, 2024 15:56
@amilcarlucas amilcarlucas force-pushed the andy_piper_tempcal_fix branch from 87d0309 to f182273 Compare August 3, 2024 10:44
@amilcarlucas
Copy link
Collaborator Author

@andyp1per did you talk with @tridge about this? Does he agree with this?

@amilcarlucas amilcarlucas force-pushed the andy_piper_tempcal_fix branch from bfef6ad to 7e87805 Compare February 18, 2025 08:37
Copy link
Contributor

github-actions bot commented Feb 18, 2025

Test Results

    2 files  ±0      2 suites  ±0   1m 38s ⏱️ -9s
1 883 tests ±0  1 882 ✅ ±0  1 💤 ±0  0 ❌ ±0 
3 766 runs  ±0  3 764 ✅ ±0  2 💤 ±0  0 ❌ ±0 

Results for commit 297a88d. ± Comparison against base commit c0d7d34.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 amilcarlucas force-pushed the andy_piper_tempcal_fix branch from 4359fbb to 297a88d Compare October 6, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants