This commit is contained in:
David St-Onge 2017-01-30 17:49:04 -05:00
parent ad4578faec
commit 0f51990bcb
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ function hexagon() {
# Constants
#
BARRIER_VSTIG = 1
#ROBOTS = 3 # number of robots in the swarm
ROBOTS = 3 # number of robots in the swarm
#
# Sets a barrier
@ -117,7 +117,7 @@ function land() {
barrier_ready()
}
else if(flight.status!=0 and flight.status!=4){
neighbors.broadcast("cmd", 22)
neighbors.broadcast("cmd", 21)
uav_land()
}
}