mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 04:33:10 +08:00
FlightTaskOrbit: use yaw setpoint from Altitude task with RC yaw mode
This commit is contained in:
@@ -256,8 +256,7 @@ void FlightTaskOrbit::generate_circle_yaw_setpoints(Vector2f center_to_position)
|
||||
break;
|
||||
|
||||
case orbit_status_s::ORBIT_YAW_BEHAVIOUR_RC_CONTROLLED:
|
||||
_yaw_setpoint = NAN;
|
||||
_yawspeed_setpoint = _sticks.getPositionExpo()(3);
|
||||
// inherit setpoint from altitude flight task
|
||||
break;
|
||||
|
||||
case orbit_status_s::ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TO_CIRCLE_CENTER:
|
||||
|
||||
Reference in New Issue
Block a user