GCS_MAVLink: minor format fix

This commit is contained in:
Randy Mackay 2022-11-25 08:15:45 +09:00 committed by Andrew Tridgell
parent 99f6a31188
commit a5aa25ef91
1 changed files with 1 additions and 1 deletions

View File

@ -3412,7 +3412,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);