Skip to content

Commit

Permalink
[fix] nominal throttle was not initialised (#3222)
Browse files Browse the repository at this point in the history
  • Loading branch information
gautierhattenberger committed Dec 19, 2023
1 parent 3a956fa commit cf23b6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sw/airborne/firmwares/rotorcraft/guidance/guidance_v.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ void guidance_v_init(void)

guidance_v.mode = GUIDANCE_V_MODE_KILL;
guidance_v_guided_mode = GUIDANCE_V_GUIDED_MODE_ZHOLD;
guidance_v.nominal_throttle = GUIDANCE_V_NOMINAL_HOVER_THROTTLE;

guidance_v.thrust_coeff = BFP_OF_REAL(1.f, INT32_TRIG_FRAC);
desired_zd_updated = false;
Expand Down

0 comments on commit cf23b6b

Please sign in to comment.