Skip to content

Commit

Permalink
AC_Autorotation: Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKear committed Jul 3, 2024
1 parent 703bad2 commit e293a0b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libraries/AC_Autorotation/AC_Autorotation.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,12 @@ class AC_Autorotation
float _avg_acc_z; // Averaged vertical acceleration
float _acc_z_sum; // Sum of vertical acceleration samples
int16_t _index; // Index for vertical acceleration rolling average
float _curr_acc_z[10]{}; // Array for storing vertical acceleration samples
float _curr_acc_z[10]; // Array for storing vertical acceleration samples
float _flare_alt_calc; // Calculated flare altitude
float _lift_hover; // Main rotor thrust in hover condition
float _c; // Main rotor drag coefficient
float _cushion_alt; // Altitude for touchdown collective pull
float _disc_area; // Main rotor disc area
float _last_vertical_speed; // Last cycle measured vertical speed
float _est_rod; // Estimated rate of descent (vertical autorotation)
bool _flare_complete; // Flare completed
bool _flare_update_check; // Check for flare altitude updating
Expand Down

0 comments on commit e293a0b

Please sign in to comment.