diabled barrier for stop state
This commit is contained in:
parent
ddbc1339cd
commit
f58373e2b5
@ -67,12 +67,14 @@ function stop() {
|
|||||||
neighbors.broadcast("cmd", 21)
|
neighbors.broadcast("cmd", 21)
|
||||||
uav_land()
|
uav_land()
|
||||||
if(flight.status != 2 and flight.status != 3) {
|
if(flight.status != 2 and flight.status != 3) {
|
||||||
barrier_set(ROBOTS,"TURNEDOFF","STOP", 21)
|
BVMSTATE = "TURNEDOFF"
|
||||||
barrier_ready(21)
|
#barrier_set(ROBOTS,"TURNEDOFF","STOP", 21)
|
||||||
|
#barrier_ready(21)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
barrier_set(ROBOTS,"TURNEDOFF","STOP", 21)
|
BVMSTATE = "TURNEDOFF"
|
||||||
barrier_ready(21)
|
#barrier_set(ROBOTS,"TURNEDOFF","STOP", 21)
|
||||||
|
#barrier_ready(21)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user