removed some dead code

Signed-off-by: RomanBapst <bapstroman@gmail.com>
This commit is contained in:
RomanBapst
2025-02-06 11:18:32 +03:00
parent 63b972e5f4
commit 2d67e8cf81
2 changed files with 0 additions and 3 deletions
-1
View File
@@ -71,7 +71,6 @@ DirectionalGuidance::guideToPath(const Vector2f &curr_pos_local, const Vector2f
// must be called before trackErrorBound() as it updates time_const_
adapted_period_ = adaptPeriod(ground_speed, airspeed, wind_speed, track_error,
path_curvature, wind_vel, unit_path_tangent, feas_on_track_);
//const float p_gain = pGain(adapted_period, damping_);
_time_const = timeConst(adapted_period_, damping_);
// track error bound is dynamic depending on ground speed
@@ -317,8 +317,6 @@ FwLateralLongitudinalControl::tecs_update_pitch_throttle(const float control_int
/* No underspeed protection in landing mode */
_tecs.set_detect_underspeed_enabled(!disable_underspeed_detection);
//updateTECSAltitudeTimeConstant(is_low_height, control_interval);
// HOTFIX: the airspeed rate estimate using acceleration in body-forward direction has shown to lead to high biases
// when flying tight turns. It's in this case much safer to just set the estimated airspeed rate to 0.
const float airspeed_rate_estimate = 0.f;