Remove thrust_sp from pusher assist calculation

This commit is contained in:
sanderux
2017-08-25 00:09:29 +02:00
committed by Sander Smeets
parent 4e6ca271e7
commit b5c3bc7b0f
+1 -1
View File
@@ -454,7 +454,7 @@ void Standard::update_mc_state()
float roll_new = -asinf(body_z_sp(1));
_pusher_throttle = (sinf(-pitch_forward) - sinf(_params_standard.down_pitch_max))
* _v_att_sp->thrust * _params_standard.forward_thrust_scale;
* _params_standard.forward_thrust_scale;
// return the vehicle to level position
float pitch_new = 0.0f;