From 960ad0693f3ff13c391bd8ddda61fd15dfe22ae0 Mon Sep 17 00:00:00 2001 From: kamilritz Date: Sun, 3 May 2020 16:41:35 +0200 Subject: [PATCH] fix format --- src/modules/simulator/simulator_mavlink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/simulator/simulator_mavlink.cpp b/src/modules/simulator/simulator_mavlink.cpp index 7f30ff29dd..04acf8b3d0 100644 --- a/src/modules/simulator/simulator_mavlink.cpp +++ b/src/modules/simulator/simulator_mavlink.cpp @@ -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 linvel_local(R_body_to_local * - matrix::Vector3(odom_msg.vx, odom_msg.vy, odom_msg.vz)); + matrix::Vector3(odom_msg.vx, odom_msg.vy, odom_msg.vz)); /* The velocity in the local NED frame */ odom.vx = linvel_local(0);