From 225143a6a13cf56481872202f7e9817ff3f7237c Mon Sep 17 00:00:00 2001 From: David St-Onge Date: Sun, 19 Feb 2017 18:41:45 -0500 Subject: [PATCH] test --- src/test1.bzz | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test1.bzz b/src/test1.bzz index 2c1f7c3..c2a43fa 100644 --- a/src/test1.bzz +++ b/src/test1.bzz @@ -104,6 +104,7 @@ neighbors.listen("cmd", } function takeoff() { + log("TakeOff: ", flight.status) if( flight.status == 2 and position.altitude >= TARGET_ALTITUDE-TARGET_ALTITUDE/20.0) { barrier_set(ROBOTS,hexagon) barrier_ready() @@ -115,7 +116,7 @@ function takeoff() { } } function land() { - #log("Land: ", flight.status) + log("Land: ", flight.status) if(flight.status == 2 or flight.status == 3){ neighbors.broadcast("cmd", 21) uav_land()