Add yaw modes that define multirotor heading behaviour during missions.

This commit is contained in:
Simon Wilks
2015-01-31 11:22:01 +01:00
committed by Lorenz Meier
parent a381ce3732
commit e9bcc0a262
4 changed files with 102 additions and 5 deletions
+2 -1
View File
@@ -134,6 +134,7 @@ MissionBlock::is_mission_item_reached()
}
}
/* Check if the waypoint and the requested yaw setpoint. */
if (_waypoint_position_reached && !_waypoint_yaw_reached) {
/* TODO: removed takeoff, why? */
@@ -151,7 +152,7 @@ MissionBlock::is_mission_item_reached()
}
}
/* check if the current waypoint was reached */
/* Once the waypoint and yaw setpoint have been reached we can start the loiter time countdown */
if (_waypoint_position_reached && _waypoint_yaw_reached) {
if (_time_first_inside_orbit == 0) {