mavlink: add missing data to ESTIMATOR_STATUS message

This commit is contained in:
Paul Riseborough
2016-10-05 20:49:17 +11:00
committed by Lorenz Meier
parent 66e887e581
commit bc530ea992
+6
View File
@@ -1707,6 +1707,12 @@ protected:
est_msg.time_usec = est.timestamp;
est_msg.pos_horiz_accuracy = est.pos_horiz_accuracy;
est_msg.pos_vert_accuracy = est.pos_vert_accuracy;
est_msg.mag_ratio = est.mag_test_ratio;
est_msg.vel_ratio = est.vel_test_ratio;
est_msg.pos_horiz_ratio = est.pos_test_ratio;
est_msg.pos_vert_ratio = est.hgt_test_ratio;
est_msg.hagl_ratio = est.hagl_test_ratio;
est_msg.tas_ratio = est.tas_test_ratio;
mavlink_msg_estimator_status_send_struct(_mavlink->get_channel(), &est_msg);