Copter: send vibration in STREAM_EXTRA3

This commit is contained in:
Randy Mackay 2015-06-12 15:35:58 +09:00
parent 642aa74530
commit 40ed2f7f53
1 changed files with 6 additions and 0 deletions

View File

@ -715,6 +715,11 @@ bool GCS_MAVLINK::try_send_message(enum ap_message id)
copter.send_pid_tuning(chan);
break;
case MSG_VIBRATION:
CHECK_PAYLOAD_SIZE(VIBRATION);
send_vibration(copter.ins);
break;
case MSG_RETRY_DEFERRED:
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_GIMBAL_REPORT);
send_message(MSG_EKF_STATUS_REPORT);
send_message(MSG_VIBRATION);
}
}