Skip to content

Commit

Permalink
ardupilotmega: use params 6 and 7 of MAV_CMD_DO_START_MAG_CAL to pass…
Browse files Browse the repository at this point in the history
… lon/lat

This will improve the calibration of compasses on vehicles not equipped with a GPS.
As `fix_radius()` in step two of calibration requires a GPS lock.
  • Loading branch information
Williangalvani committed Jan 17, 2022
1 parent 71138ce commit 65557bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions message_definitions/v1.0/ardupilotmega.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@
<param index="3" label="Autosave" minValue="0" maxValue="1" increment="1">Save without user input (0=require input, 1=autosave).</param>
<param index="4" label="Delay" units="s">Delay.</param>
<param index="5" label="Autoreboot" minValue="0" maxValue="1" increment="1">Autoreboot (0=user reboot, 1=autoreboot).</param>
<param index="6">Empty.</param>
<param index="7">Empty.</param>
<param index="6" label="Latitude" units="deg">Latitude where calibration is happening, for vehicles with no GPS (0 means ignore).</param>
<param index="7" label="Longitude" units="deg">Longitude where calibration is happening, for vehicles with no GPS (0 means ignore).</param>
</entry>
<entry value="42425" name="MAV_CMD_DO_ACCEPT_MAG_CAL" hasLocation="false" isDestination="false">
<description>Accept a magnetometer calibration.</description>
Expand Down

0 comments on commit 65557bf

Please sign in to comment.