AC_WPNav: AC_Circle: remove unused get_rate_current method

no longer used
This commit is contained in:
Peter Barker
2026-07-23 17:56:59 +10:00
committed by Peter Barker
parent 2bc9f96416
commit e0650355dc
+1 -6
View File
@@ -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.