diff --git a/src/testalone.bzz b/src/testalone.bzz index e99b3cf..086de53 100644 --- a/src/testalone.bzz +++ b/src/testalone.bzz @@ -12,7 +12,7 @@ function updated_neigh(){ neighbors.broadcast(updated, update_no) } -TARGET_ALTITUDE = 2.0 +TARGET_ALTITUDE = 5.0 # Executed once at init time. function init() { @@ -33,8 +33,8 @@ function step() { } # test moveto cmd -if( flight.status == 2 and position.altitude >= TARGET_ALTITUDE-TARGET_ALTITUDE/20.0) - uav_moveto(0.5, 0.5) +#if( flight.status == 2 and position.altitude >= TARGET_ALTITUDE-TARGET_ALTITUDE/20.0) +# uav_moveto(0.5, 0.5) } # Executed once when the robot (or the simulator) is reset.