This can avoid users having problems as reported at issue #4088 ("Calibration not working in sitl").
1.2 KiB
MAVProxy modules
This folder contains modules for MAVProxy specifically for ArduPilot. Add the
path to this folder to your PYTHONPATH
in order to use it.
Modules
sitl_calibration
This module interfaces with the calibration
model of SITL. It provides
commands to actuate on the vehicle's rotation to simulate a calibration
process.
Make sure to pass --model calibration
to the SITL binary in order to be able
use this module's commands. You can also use
[sim_vehicle.py](../autotest/sim_vehicle.py)
with --frame calibration
.
Accelerometer Calibration
The command sitl_accelcal
listens to the accelerometer calibration status
texts and set the vehicle in the desired attitude. Example:
accelcal
sitl_accelcal
Compass Calibration
The command sitl_magcal
applies angular velocity on the vehicle in order to
get the compasses calibrated. Example:
magcal start
sitl_magcal
Other commands
There are other commands you can use with this module:
sitl_attitude
: set vehicle at a desired attitudesitl_angvel
: apply angular velocity on the vehiclesitl_stop
: stop any of this module's currently active command