# ascend behavior behavior ascend { duration = 1200; horizontalMode = heading; horizontal = 215; pitch = 20; speed = 1.5; endDepth = 2; } #Leg to waypoint LOCO1 #N36 47.38 W121 49.21 #maximum depth 30m behavior waypoint_yoyo { latitude = 36.7897; longitude = -121.8202; captureRadius = 10; duration = 1800; speed = MISSION_SPEED; minDepth = 2.0; maxDepth = 25; minAltitude = YOYO_MIN_ALTITUDE; maxCycles = 2000; } # Descend behavior to 5 meters behavior descend { horizontalMode = heading; horizontal = 215; pitch = -15; speed = 1.5; maxDepth = 5; minAltitude = 9; duration = 60; } # setpoint on surface to gather momentum behavior setpoint { duration = 30; heading = 215; speed = 1.5; verticalMode = pitch; pitch = 0; } behavior getgps { duration = 900; minHits = 15; abortOnTimeout = True; }