mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-12 01:23:56 -03:00
Plane: output user-friendly fence messages
This commit is contained in:
parent
3dbcbe0026
commit
8c2f686bfa
@ -50,7 +50,7 @@ void Plane::fence_check()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (new_breaches) {
|
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
|
// if the user wants some kind of response and motors are armed
|
||||||
const uint8_t fence_act = fence.get_action();
|
const uint8_t fence_act = fence.get_action();
|
||||||
|
Loading…
Reference in New Issue
Block a user