mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
inject avoidance setpoints into AutoMapper
This commit is contained in:
parent
320ed40806
commit
4e806d79fe
@ -86,6 +86,9 @@ bool FlightTaskAutoMapper::update()
|
||||
_generateVelocitySetpoints();
|
||||
}
|
||||
|
||||
_obstacle_avoidance.prepareAvoidanceSetpoints(_position_setpoint, _velocity_setpoint, _yaw_setpoint,
|
||||
_yawspeed_setpoint);
|
||||
|
||||
// during mission and reposition, raise the landing gears but only
|
||||
// if altitude is high enough
|
||||
if (_highEnoughForLandingGear()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user