Skip to content

mavlink: bump submodule to include MAG_CAL_STATUS failure enums#33642

Merged
peterbarker merged 1 commit into
ArduPilot:masterfrom
christianpetri:mavlink-bump-mag-cal-enums
Jul 4, 2026
Merged

mavlink: bump submodule to include MAG_CAL_STATUS failure enums#33642
peterbarker merged 1 commit into
ArduPilot:masterfrom
christianpetri:mavlink-bump-mag-cal-enums

Conversation

@christianpetri

Copy link
Copy Markdown
Contributor

Bumps the mavlink submodule from 035ffa630d to 13f2f7351a.

This picks up ArduPilot/mavlink#506 which adds specific failure reason enums to MAG_CAL_STATUS, replacing the previous MAG_CAL_BAD_ORIENTATION (6) and MAG_CAL_BAD_RADIUS (7) with more granular codes:

Value Name
6 MAG_CAL_FAILED_ORIENTATION
7 MAG_CAL_FAILED_RADIUS
8 MAG_CAL_FAILED_OFFSETS
9 MAG_CAL_FAILED_DIAG_SCALING
10 MAG_CAL_FAILED_RESIDUALS_HIGH

Required by PR #32757 (AP_Compass: report specific failure reason when fit rejected).

Testing: Verified new enum values are present in generated C headers (build/sitl/) and in the pymavlink Python dialect after reinstall.

Note: This contribution was AI-assisted.

Picks up ArduPilot/mavlink commit 13f2f7351a which adds specific
failure reason enums to MAG_CAL_STATUS:
- MAG_CAL_FAILED_ORIENTATION (6)
- MAG_CAL_FAILED_RADIUS (7)
- MAG_CAL_FAILED_OFFSETS (8)
- MAG_CAL_FAILED_DIAG_SCALING (9)
- MAG_CAL_FAILED_RESIDUALS_HIGH (10)

These replace the previous MAG_CAL_BAD_ORIENTATION and
MAG_CAL_BAD_RADIUS entries with more granular failure codes.
@peterbarker
peterbarker merged commit 48afb18 into ArduPilot:master Jul 4, 2026
99 of 100 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants