mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: minor format fix
This commit is contained in:
parent
ab8c30a282
commit
e9b8948ade
|
@ -3377,7 +3377,7 @@ void GCS_MAVLINK::handle_odometry(const mavlink_message_t &msg)
|
|||
posErr = cbrtf(sq(m.pose_covariance[0])+sq(m.pose_covariance[6])+sq(m.pose_covariance[11]));
|
||||
angErr = cbrtf(sq(m.pose_covariance[15])+sq(m.pose_covariance[18])+sq(m.pose_covariance[20]));
|
||||
}
|
||||
|
||||
|
||||
const uint32_t timestamp_ms = correct_offboard_timestamp_usec_to_ms(m.time_usec, PAYLOAD_SIZE(chan, ODOMETRY));
|
||||
visual_odom->handle_vision_position_estimate(m.time_usec, timestamp_ms, m.x, m.y, m.z, q, posErr, angErr, m.reset_counter);
|
||||
|
||||
|
|
Loading…
Reference in New Issue