mirror of https://github.com/ArduPilot/ardupilot
Plane: support simple accelcal
This commit is contained in:
parent
f25e8631ef
commit
f81ec9b1b3
|
@ -1204,6 +1204,9 @@ void GCS_MAVLINK_Plane::handleMessage(mavlink_message_t* msg)
|
||||||
} else {
|
} else {
|
||||||
result = MAV_RESULT_FAILED;
|
result = MAV_RESULT_FAILED;
|
||||||
}
|
}
|
||||||
|
} else if (is_equal(packet.param5,4.0f)) {
|
||||||
|
// simple accel calibration
|
||||||
|
result = plane.ins.simple_accel_cal(plane.ahrs);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
send_text(MAV_SEVERITY_WARNING, "Unsupported preflight calibration");
|
send_text(MAV_SEVERITY_WARNING, "Unsupported preflight calibration");
|
||||||
|
|
Loading…
Reference in New Issue