mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 02:10:34 +08:00
Additional yaw handling on land
This commit is contained in:
@@ -267,6 +267,7 @@ RTL::set_rtl_item()
|
||||
}
|
||||
|
||||
case RTL_STATE_LAND: {
|
||||
_mission_item.yaw = _navigator->get_home_position()->yaw;
|
||||
set_land_item(&_mission_item, false);
|
||||
|
||||
mavlink_log_critical(_navigator->get_mavlink_log_pub(), "RTL: land at home");
|
||||
|
||||
Reference in New Issue
Block a user