Skip to content

Commit

Permalink
Copter: remove unused get_vel_desired_cms
Browse files Browse the repository at this point in the history
  • Loading branch information
lthall authored and rmackay9 committed Sep 16, 2024
1 parent 7fafea8 commit d7e25c4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ArduCopter/mode.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,6 @@ class Mode {
// altitude fence
float get_avoidance_adjusted_climbrate(float target_rate);

const Vector3f& get_vel_desired_cms() {
// note that position control isn't used in every mode, so
// this may return bogus data:
return pos_control->get_vel_desired_cms();
}

// send output to the motors, can be overridden by subclasses
virtual void output_to_motors();

Expand Down

0 comments on commit d7e25c4

Please sign in to comment.