Skip to content

Commit

Permalink
AC_AutoTune: remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Jul 4, 2024
1 parent 35bdadb commit 3dff46b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions libraries/AC_AutoTune/AC_AutoTune_Heli.h
Original file line number Diff line number Diff line change
Expand Up @@ -263,19 +263,13 @@ class AC_AutoTune_Heli : public AC_AutoTune
uint32_t settle_time; // time in ms for allowing aircraft to stabilize before initiating test
float trim_meas_rate; // trim measured gyro rate

//variables from rate FF test
float trim_command_reading;
float trim_heading;

// variables from dwell test
LowPassFilterVector2f filt_att_fdbk_from_velxy_cd;
LowPassFilterFloat filt_command_reading; // filtered command reading to keep oscillation centered
LowPassFilterFloat filt_gyro_reading; // filtered gyro reading to keep oscillation centered
LowPassFilterFloat filt_tgt_rate_reading; // filtered target rate reading to keep oscillation centered

// trim variables for determining trim state prior to test starting
Vector3f trim_attitude_cd; // trim attitude before starting test
float trim_command; // trim target yaw reading before starting test
float trim_yaw_tgt_reading_cd; // trim target yaw reading before starting test
float trim_yaw_heading_reading_cd; // trim heading reading before starting test

Expand Down

0 comments on commit 3dff46b

Please sign in to comment.