TECS: remove ununsed getSteRate()

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2023-03-16 16:58:08 +01:00
parent 6ec2b902cc
commit 28db47480d
2 changed files with 0 additions and 10 deletions
-3
View File
@@ -240,8 +240,6 @@ void TECSControl::initialize(const Setpoint &setpoint, const Input &input, Param
_throttle_setpoint = _calcThrottleControlOutput(limit, ste_rate, param, flag);
_ste_rate = ste_rate.estimate;
// Debug output
_debug_output.total_energy_rate_estimate = ste_rate.estimate;
_debug_output.total_energy_rate_sp = ste_rate.setpoint;
@@ -502,7 +500,6 @@ void TECSControl::_calcThrottleControl(float dt, const SpecificEnergyRates &spec
}
_throttle_setpoint = constrain(throttle_setpoint, param.throttle_min, param.throttle_max);
_ste_rate = ste_rate.estimate;
// Debug output
_debug_output.total_energy_rate_estimate = ste_rate.estimate;
-7
View File
@@ -313,12 +313,6 @@ public:
* @return THe commanded pitch angle in [rad].
*/
float getPitchSetpoint() const {return _pitch_setpoint;};
/**
* @brief Get specific total energy rate.
*
* @return the total specific energy rate in [m²/s³].
*/
float getSteRate() const {return _ste_rate;};
/**
* @brief Get the Debug Output
*
@@ -535,7 +529,6 @@ private:
float _pitch_setpoint{0.0f}; ///< Controlled pitch setpoint [rad].
float _throttle_setpoint{0.0f}; ///< Controlled throttle setpoint [0,1].
float _ratio_undersped{0.0f}; ///< A continuous representation of how "undersped" the TAS is [0,1]
float _ste_rate{0.0f}; ///< Specific total energy rate [m²/s³].
};
class TECS