mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-30 13:34:08 +08:00
fixed typo
This commit is contained in:
parent
48cdbf3d0c
commit
b5e34eac4f
@ -351,7 +351,7 @@ void MulticopterAttitudeControlBase::set_attitude_reference(const Eigen::Vector4
|
||||
_v_att_sp.roll_body = control_attitude_thrust_reference(0);
|
||||
_v_att_sp.pitch_body = control_attitude_thrust_reference(1);
|
||||
_v_att_sp.yaw_body = control_attitude_thrust_reference(2);
|
||||
_v_att_sp.thrust = (control_attitude_thrust_referenc(3) -30)*(-1)/30;
|
||||
_v_att_sp.thrust = (control_attitude_thrust_reference(3) -30)*(-1)/30;
|
||||
|
||||
// setup rotation matrix
|
||||
math::Matrix<3,3> Rot_sp;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user