mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 20:10:35 +08:00
FlightTasks: do not adjust tilt limit of the position control
Adjusting the tilt limit can lead to diverging position control and should only be used by setting a sanity limit for the controller and not to adjust during the descent phase of a Land or RTL. Otherwise it leads to flyaways in important failsafe modes when there's stronger disturbance e.g. wind.
This commit is contained in:
committed by
Lorenz Meier
parent
95779ea670
commit
809b45eac8
@@ -109,7 +109,7 @@ public:
|
||||
|
||||
/**
|
||||
* Set the maximum tilt angle in radians the output attitude is allowed to have
|
||||
* @param tilt angle from level orientation in radians
|
||||
* @param tilt angle in radians from level orientation
|
||||
*/
|
||||
void setTiltLimit(const float tilt) { _lim_tilt = tilt; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user