Skip to content

Commit

Permalink
Copter: Autorotation: Consolidate controller inits
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKear authored and bnsgeyer committed Jan 20, 2024
1 parent aa3d54a commit af175b9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ArduCopter/mode_autorotate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ bool ModeAutorotate::init(bool ignore_checks)
// init autorotation controllers object
g2.arot.init(motors);

// Initialise controllers
// This must be done before RPM value is fetched
g2.arot.init_hs_controller();
g2.arot.init_fwd_spd_controller();

// initialize radar altitude estimator
g2.arot.init_est_radar_alt();

// Retrieve rpm and start rpm sensor health checks
_initial_rpm = g2.arot.get_rpm(true);

Expand Down

0 comments on commit af175b9

Please sign in to comment.