From f58373e2b5c721d524852f090e606b5a6917bc0a Mon Sep 17 00:00:00 2001 From: Gwaihir Date: Wed, 8 Aug 2018 01:54:48 +0000 Subject: [PATCH] diabled barrier for stop state --- buzz_scripts/include/act/states.bzz | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/buzz_scripts/include/act/states.bzz b/buzz_scripts/include/act/states.bzz index 7fe503d..f0d2af2 100644 --- a/buzz_scripts/include/act/states.bzz +++ b/buzz_scripts/include/act/states.bzz @@ -67,12 +67,14 @@ function stop() { neighbors.broadcast("cmd", 21) uav_land() if(flight.status != 2 and flight.status != 3) { - barrier_set(ROBOTS,"TURNEDOFF","STOP", 21) - barrier_ready(21) + BVMSTATE = "TURNEDOFF" + #barrier_set(ROBOTS,"TURNEDOFF","STOP", 21) + #barrier_ready(21) } } else { - barrier_set(ROBOTS,"TURNEDOFF","STOP", 21) - barrier_ready(21) + BVMSTATE = "TURNEDOFF" + #barrier_set(ROBOTS,"TURNEDOFF","STOP", 21) + #barrier_ready(21) } }