re-instated auto_launch to agf

This commit is contained in:
dave 2018-09-26 22:31:44 -04:00
parent e22f35a26e
commit 2150efe5b7
1 changed files with 2 additions and 5 deletions

View File

@ -9,10 +9,7 @@ include "vstigenv.bzz"
include "utils/takeoff_heights.bzz" include "utils/takeoff_heights.bzz"
#State launched after takeoff #State launched after takeoff
AUTO_LAUNCH_STATE = "IDLE" AUTO_LAUNCH_STATE = "TASK_ALLOCATE"
#AUTO_LAUNCH_STATE = "CUSFUN"
#Lowest robot id in the network
LOWEST_ROBOT_ID = 0
TARGET = 9.0 TARGET = 9.0
EPSILON = 30.0 EPSILON = 30.0
ROOT_ID = 3 ROOT_ID = 3
@ -38,7 +35,7 @@ function init() {
# initGraph() # initGraph()
TARGET_ALTITUDE = takeoff_heights[id] #4 + (id-LOWEST_ROBOT_ID)*3.0 # m TARGET_ALTITUDE = takeoff_heights[id]
# start the swarm command listener # start the swarm command listener
nei_cmd_listen() nei_cmd_listen()