Skip to content

Commit

Permalink
[rotorcraft] guidance_h: fix typo in y vgain
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Jun 11, 2014
1 parent 722dbaa commit 30b7bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/airborne/firmwares/rotorcraft/guidance/guidance_h.c
Expand Up @@ -446,7 +446,7 @@ static void guidance_h_traj_run(bool_t in_flight) {
((guidance_h_again * guidance_h_accel_ref.x) >> 8); /* acceleration feedforward gain */
guidance_h_cmd_earth.y =
pd_y +
((guidance_h_vgain * guidance_h_speed_ref.x) >> 17) + /* speed feedforward gain */
((guidance_h_vgain * guidance_h_speed_ref.y) >> 17) + /* speed feedforward gain */
((guidance_h_again * guidance_h_accel_ref.y) >> 8); /* acceleration feedforward gain */

/* trim max bank angle from PD */
Expand Down

2 comments on commit 30b7bd7

@alonsoac
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello. Was this causing any particular problem that one might have noticed?

@flixr
Copy link
Member Author

@flixr flixr commented on 30b7bd7 Jun 28, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only if you were using the very recently introduced vgain

Please sign in to comment.