fixed typo

This commit is contained in:
Roman Bapst 2014-11-05 15:40:22 +01:00
parent 48cdbf3d0c
commit b5e34eac4f
1 changed files with 1 additions and 1 deletions

View File

@ -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.roll_body = control_attitude_thrust_reference(0);
_v_att_sp.pitch_body = control_attitude_thrust_reference(1); _v_att_sp.pitch_body = control_attitude_thrust_reference(1);
_v_att_sp.yaw_body = control_attitude_thrust_reference(2); _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 // setup rotation matrix
math::Matrix<3,3> Rot_sp; math::Matrix<3,3> Rot_sp;