Rover: added the VIBRATION message which is sent to the GCS.
This commit is contained in:
parent
8e69b66cf0
commit
801ced34a5
@ -546,10 +546,14 @@ bool GCS_MAVLINK::try_send_message(enum ap_message id)
|
||||
case MSG_LIMITS_STATUS:
|
||||
case MSG_FENCE_STATUS:
|
||||
case MSG_WIND:
|
||||
case MSG_VIBRATION:
|
||||
// unused
|
||||
break;
|
||||
|
||||
case MSG_VIBRATION:
|
||||
CHECK_PAYLOAD_SIZE(VIBRATION);
|
||||
send_vibration(rover.ins);
|
||||
break;
|
||||
|
||||
case MSG_BATTERY2:
|
||||
CHECK_PAYLOAD_SIZE(BATTERY2);
|
||||
rover.gcs[chan-MAVLINK_COMM_0].send_battery2(rover.battery);
|
||||
@ -825,6 +829,7 @@ GCS_MAVLINK::data_stream_send(void)
|
||||
send_message(MSG_MAG_CAL_PROGRESS);
|
||||
send_message(MSG_MOUNT_STATUS);
|
||||
send_message(MSG_EKF_STATUS_REPORT);
|
||||
send_message(MSG_VIBRATION);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user