mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-16 06:00:35 +08:00
FlightTaskOrbit: default center at exact vehicle location
This commit is contained in:
committed by
Daniel Agar
parent
ef774578e1
commit
25dd12382a
@@ -167,7 +167,6 @@ bool FlightTaskOrbit::activate(const vehicle_local_position_setpoint_s &last_set
|
||||
_r = _radius_min;
|
||||
_v = 1.f;
|
||||
_center = _position.xy();
|
||||
_center(0) -= _r;
|
||||
_initial_heading = _yaw;
|
||||
_slew_rate_yaw.setForcedValue(_yaw);
|
||||
_slew_rate_yaw.setSlewRate(math::radians(_param_mpc_yawrauto_max.get()));
|
||||
|
||||
Reference in New Issue
Block a user