common: document force-save values to PREFLIGHT_CALIBRATION#485
Closed
peterbarker wants to merge 1 commit intoArduPilot:masterfrom
Closed
common: document force-save values to PREFLIGHT_CALIBRATION#485peterbarker wants to merge 1 commit intoArduPilot:masterfrom
peterbarker wants to merge 1 commit intoArduPilot:masterfrom
Conversation
ArduPilot uses these two values in MAV_CMD_PREFLIGHT_CALIBRATION to force-accept an existing sensor calibration without re-running it: param2 = 76 force-accept current compass calibration as valid param5 = 76 force-accept current accelerometer calibration as valid Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
tridge
approved these changes
Mar 2, 2026
rmackay9
approved these changes
Mar 2, 2026
IamPete1
approved these changes
Mar 2, 2026
Member
IamPete1
left a comment
There was a problem hiding this comment.
Looks good to take upstream.
hamishwillee
reviewed
Mar 4, 2026
| <entry value="0" name="PREFLIGHT_CAL_ACCEL_NONE"> | ||
| <description>No action.</description> | ||
| </entry> | ||
| <entry value="1" name="PREFLIGHT_CAL_ACCEL_FULL"> |
There was a problem hiding this comment.
Isn't the convention to use enum prefix PREFLIGHT_CALIBRATION_MAGNETOMETER_ for value Ditto for mag?
IF they need to be shorter do PREFLIGHT_CALIBRATION_MAG?
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.
ArduPilot uses these two values in MAV_CMD_PREFLIGHT_CALIBRATION to force-accept an existing sensor calibration without re-running it:
param2 = 76 force-accept current compass calibration as valid
param5 = 76 force-accept current accelerometer calibration as valid