mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
Copter: send vibration in STREAM_EXTRA3
This commit is contained in:
parent
642aa74530
commit
40ed2f7f53
@ -715,6 +715,11 @@ bool GCS_MAVLINK::try_send_message(enum ap_message id)
|
|||||||
copter.send_pid_tuning(chan);
|
copter.send_pid_tuning(chan);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case MSG_VIBRATION:
|
||||||
|
CHECK_PAYLOAD_SIZE(VIBRATION);
|
||||||
|
send_vibration(copter.ins);
|
||||||
|
break;
|
||||||
|
|
||||||
case MSG_RETRY_DEFERRED:
|
case MSG_RETRY_DEFERRED:
|
||||||
break; // just here to prevent a warning
|
break; // just here to prevent a warning
|
||||||
}
|
}
|
||||||
@ -939,6 +944,7 @@ GCS_MAVLINK::data_stream_send(void)
|
|||||||
send_message(MSG_OPTICAL_FLOW);
|
send_message(MSG_OPTICAL_FLOW);
|
||||||
send_message(MSG_GIMBAL_REPORT);
|
send_message(MSG_GIMBAL_REPORT);
|
||||||
send_message(MSG_EKF_STATUS_REPORT);
|
send_message(MSG_EKF_STATUS_REPORT);
|
||||||
|
send_message(MSG_VIBRATION);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user