mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-02 10:23:25 +08:00
AC_WPNav: AC_Circle: remove unused get_rate_current method
no longer used
This commit is contained in:
committed by
Peter Barker
parent
2bc9f96416
commit
e0650355dc
@@ -68,14 +68,9 @@ public:
|
||||
// Returns the configured circle turn rate in degrees per second from the RATE parameter.
|
||||
float get_rate_degs() const { return _rate_parm_degs; }
|
||||
|
||||
// Returns the current angular velocity in degrees per second.
|
||||
// May be lower than the configured maximum due to ramp constraints.
|
||||
float get_rate_current() const { return degrees(_angular_vel_rads); }
|
||||
|
||||
// Returns the commanded turn-rate target in degrees per second.
|
||||
// This is the rate the controller ramps towards (set by the RATE
|
||||
// parameter or set_rate_degs()), unlike the instantaneous ramped
|
||||
// velocity returned by get_rate_current().
|
||||
// parameter or set_rate_degs()).
|
||||
float get_rate_target_degs() const { return degrees(_rotation_rate_max_rads); }
|
||||
|
||||
// Sets the target circle rate in degrees per second.
|
||||
|
||||
Reference in New Issue
Block a user