mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-13 03:23:34 +08:00
corrected error with param lock
This commit is contained in:
@@ -957,7 +957,7 @@ FixedwingPositionINDIControl::Run()
|
||||
_soaring_controller_wind.airspeed = _airspeed;
|
||||
if (_switch_cl_soaring) {
|
||||
// always update shear params in closed loop soaring mode
|
||||
_soaring_controller_wind.lock_params = true;
|
||||
_soaring_controller_wind.lock_params = false;
|
||||
}
|
||||
else {
|
||||
// only update in manual feedthrough in open loop soaring
|
||||
|
||||
@@ -482,7 +482,7 @@ FixedwingShearEstimator::Run()
|
||||
// only update airspeed for trajectory selection
|
||||
_soaring_estimator_shear.aspd = aspd;
|
||||
}
|
||||
PX4_INFO("Unlocked shear estimator, current airspeed \t%.1f", (double)_current_airspeed);
|
||||
//PX4_INFO("Unlocked shear estimator, current airspeed \t%.1f", (double)_current_airspeed);
|
||||
|
||||
// publish shear params
|
||||
// ========================================
|
||||
|
||||
Reference in New Issue
Block a user