tesT
This commit is contained in:
parent
00242676c1
commit
80ccc87b63
@ -106,8 +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
|
||||||
}
|
}
|
||||||
else if( flight.status !=3){
|
else if( flight.status !=3){
|
||||||
log("Altitude: ", TARGET_ALTITUDE)
|
log("Altitude: ", TARGET_ALTITUDE)
|
||||||
|
Loading…
Reference in New Issue
Block a user