This commit is contained in:
David St-Onge 2017-02-19 18:45:42 -05:00
parent 225143a6a1
commit 2fe5122a98
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ function takeoff() {
barrier_set(ROBOTS,hexagon) barrier_set(ROBOTS,hexagon)
barrier_ready() barrier_ready()
} }
if( flight.status !=3){ else if( flight.status !=3){
log("Altitude: ", TARGET_ALTITUDE) log("Altitude: ", TARGET_ALTITUDE)
neighbors.broadcast("cmd", 22) neighbors.broadcast("cmd", 22)
uav_takeoff(TARGET_ALTITUDE) uav_takeoff(TARGET_ALTITUDE)