//******************************************************* // Vehicle behavior configuration file initialize DEPLOY = false initialize RETURN = false initialize STATION_KEEP = false set MODE = ACTIVE { DEPLOY = true } INACTIVE set MODE = STATION-KEEPING { MODE = ACTIVE STATION_KEEP = true } set MODE = TRAVERSING { MODE = ACTIVE DEPLOY = true RETURN = false } set MODE = RETURNING { MODE = ACTIVE RETURN = true } //---------------------------------------------- Behavior = BHV_SpiralSurvey { name = spiral_survey pwt = 100 condition = MODE==TRAVERSING endflag = RETURN = true perpetual = true center_x = 15 center_y = -100 survey_region_radius = 30 min_radius = 5 track_spacing = 8 clockwise = true turning_radius = 5 capture_radius = 5 slip_radius = 10 cycles = 2 updates_var = SPIRAL_SURVEY_UPDATES alt_clockwise = true desired_speed = $(SPEED) debug = true } //---------------------------------------------- Behavior=BHV_Waypoint { name = waypt_return pwt = 100 condition = MODE==RETURNING perpetual = true updates = RETURN_UPDATE endflag = RETURN = false endflag = DEPLOY = false endflag = MISSION = complete speed = $(SPEED) capture_radius = 2.0 slip_radius = 8.0 points = 0,-10 } #include plugs/bhvs/std_bhvs/plug_stationkeep.bhv //#include plugs/bhvs/std_bhvs/plug_opregion.bhv