fix format

This commit is contained in:
kamilritz 2020-05-03 16:41:35 +02:00 committed by Nuno Marques
parent 9137813472
commit 960ad0693f
1 changed files with 1 additions and 1 deletions

View File

@ -1048,7 +1048,7 @@ int Simulator::publish_odometry_topic(const mavlink_message_t *odom_mavlink)
/* the linear velocities needs to be transformed from the body frame to the local frame */
const matrix::Vector3<float> linvel_local(R_body_to_local *
matrix::Vector3<float>(odom_msg.vx, odom_msg.vy, odom_msg.vz));
matrix::Vector3<float>(odom_msg.vx, odom_msg.vy, odom_msg.vz));
/* The velocity in the local NED frame */
odom.vx = linvel_local(0);