Additional yaw handling on land

This commit is contained in:
sander
2016-04-11 11:41:26 +02:00
committed by Lorenz Meier
parent e2812e34f8
commit 3307c71e6d
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -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");