Sub: support simple accelcal
This commit is contained in:
parent
f81ec9b1b3
commit
cf7b874b42
@ -1187,6 +1187,9 @@ void GCS_MAVLINK_Sub::handleMessage(mavlink_message_t* msg)
|
||||
} else {
|
||||
result = MAV_RESULT_FAILED;
|
||||
}
|
||||
} else if (is_equal(packet.param5,4.0f)) {
|
||||
// simple accel calibration
|
||||
result = sub.ins.simple_accel_cal(sub.ahrs);
|
||||
} else if (is_equal(packet.param6,1.0f)) {
|
||||
// compassmot calibration
|
||||
//result = sub.mavlink_compassmot(chan);
|
||||
|
Loading…
Reference in New Issue
Block a user