Skip to content

Commit

Permalink
Float value correction
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderux authored and LorenzMeier committed Jul 10, 2017
1 parent 7017826 commit 48be611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/vtol_att_control/standard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ void Standard::update_mc_state()
* _v_att_sp->thrust * _params_standard.forward_thrust_scale;

// return the vehicle to level position
float pitch_new = 0;
float pitch_new = 0.0f;

// create corrected desired body z axis in heading frame
matrix::Dcmf R_tmp = matrix::Eulerf(roll_new, pitch_new, 0.0f);
Expand Down

0 comments on commit 48be611

Please sign in to comment.