Plane: add item_reached_msg to GUIDED
This commit is contained in:
parent
dc1846447e
commit
d18c25a0f9
@ -145,6 +145,10 @@ void Plane::update_loiter()
|
||||
if (nav_controller->reached_loiter_target()) {
|
||||
// we've reached the target, start the timer
|
||||
loiter.start_time_ms = millis();
|
||||
if (control_mode == GUIDED) {
|
||||
// starting a loiter in GUIDED means we just reached the target point
|
||||
gcs_send_mission_item_reached_message(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user