mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
ControlMath: remove false comment
This commit is contained in:
parent
3ea7f8783f
commit
e6f6e2085c
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user