From e6f6e2085cd7d4f5355e1d4f0b2448dafead2ebe Mon Sep 17 00:00:00 2001 From: Dennis Mannhart Date: Tue, 22 May 2018 13:14:50 +0200 Subject: [PATCH] ControlMath: remove false comment --- src/modules/mc_pos_control/Utility/ControlMath.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/mc_pos_control/Utility/ControlMath.cpp b/src/modules/mc_pos_control/Utility/ControlMath.cpp index a2dda58e88..acac1396c2 100644 --- a/src/modules/mc_pos_control/Utility/ControlMath.cpp +++ b/src/modules/mc_pos_control/Utility/ControlMath.cpp @@ -102,8 +102,6 @@ vehicle_attitude_setpoint_s thrustToAttitude(const matrix::Vector3f &thr_sp, con matrix::Eulerf euler = R_sp; att_sp.roll_body = euler(0); att_sp.pitch_body = euler(1); - - // fill and publish att_sp message att_sp.thrust = thr_sp.length(); return att_sp;