ArduPilot / ArduPilot/MissionPlanner

Compass: display calibration failure message

Open
#3,709 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
2.9k
Avg merge
19h 16m
Merged PRs (30d)
4

Description

On the Setup / Mandatory Hardware / Compass page used for calibration, if a compass fails to calibrate MP restarts the calibration. This is fine but it would be best to display the index number of the compass and the reason for the failure. The list of reasons for failure are in the [MAVLink MAG_CAL_STATUS enumeration](https://mavlink.io/en/messages/common.html#MAG_CAL_STATUS). So in particular "BAD ORIENTATION" (meaning that the compass does not seem to be moving with the autopilot) and "BAD RADIUS" (whose meaning I do not fully understand) should be reported

Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the Setup / Mandatory Hardware / Compass calibration page and trace how calibration failures are handled before the calibration restarts. Use the MAVLink MAG_CAL_STATUS enumeration as the source for failure reasons. Done means the page displays the failed compass index and its reported reason, including BAD ORIENTATION and BAD RADIUS.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.