test
This commit is contained in:
parent
2e2193fcf9
commit
9aee21a4ef
|
@ -106,9 +106,9 @@ neighbors.listen("cmd",
|
||||||
function takeoff() {
|
function takeoff() {
|
||||||
log("TakeOff: ", flight.status)
|
log("TakeOff: ", flight.status)
|
||||||
if( flight.status == 2 and position.altitude >= TARGET_ALTITUDE-TARGET_ALTITUDE/20.0) {
|
if( flight.status == 2 and position.altitude >= TARGET_ALTITUDE-TARGET_ALTITUDE/20.0) {
|
||||||
#barrier_set(ROBOTS,hexagon)
|
barrier_set(ROBOTS,hexagon)
|
||||||
#barrier_ready()
|
barrier_ready()
|
||||||
statef=hexagon
|
#statef=hexagon
|
||||||
}
|
}
|
||||||
else if( flight.status !=3){
|
else if( flight.status !=3){
|
||||||
log("Altitude: ", TARGET_ALTITUDE)
|
log("Altitude: ", TARGET_ALTITUDE)
|
||||||
|
|
Loading…
Reference in New Issue