Plane: output user-friendly fence messages

This commit is contained in:
Andy Piper 2024-01-19 20:43:45 +00:00 committed by Peter Barker
parent 3dbcbe0026
commit 8c2f686bfa
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ void Plane::fence_check()
}
if (new_breaches) {
GCS_SEND_TEXT(MAV_SEVERITY_NOTICE, "Fence Breached");
fence.print_fence_message("breached", new_breaches);
// if the user wants some kind of response and motors are armed
const uint8_t fence_act = fence.get_action();