mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 04:33:10 +08:00
Auto: Change 1G to a more accurate value
This commit is contained in:
@@ -809,8 +809,8 @@ void FlightTaskAuto::_updateTrajConstraints()
|
||||
if (_is_emergency_braking_active) {
|
||||
// When initializing with large velocity, allow 1g of
|
||||
// acceleration in 1s on all axes for fast braking
|
||||
_position_smoothing.setMaxAcceleration({9.81f, 9.81f, 9.81f});
|
||||
_position_smoothing.setMaxJerk(9.81f);
|
||||
_position_smoothing.setMaxAcceleration({9.80665f, 9.80665f, 9.80665f});
|
||||
_position_smoothing.setMaxJerk(9.80665f);
|
||||
|
||||
// If the current velocity is beyond the usual constraints, tell
|
||||
// the controller to exceptionally increase its saturations to avoid
|
||||
|
||||
Reference in New Issue
Block a user