# 1 "biolume_yoyo.cfg"
################################################################################

#PURPOSE: Test the waypoint behavior and dead reckoning with GPS fixes.

#DATE:    00/4/4:
#NOTES:  

#MODS:

################################################################################


















behavior acousticAbort
{
  dummyAttribute = 0;
}

behavior missionTimer
{
  timeOut = 5000 ;
}


#Depth Envelope

behavior depthEnvelope
{
  minDepth     = 0 ;         #Meters
  maxDepth     = 50 ;        #Meters
  minAltitude  = 4 ;        #Meters
  abortDepth   = 55 ;        #Meters
}


behavior ascend 
{
  duration         = 300;       #Seconds
  horizontalMode   = rudder;   #Mode
  horizontal       = -10;       #Degrees; 
  pitch            = 15;       #Degrees
  speed            = 1.25 ;      #Meters/sec
  endDepth         = 2;	       #Meters
}

behavior yoyo 
{
  duration       = 4500 ;     #Seconds
  minDepth       = 4 ;       #Meters
  maxDepth       = 40 ;      #Meters
  minAltitude    = 6 ;   #Meters
  maxCycles      = 1000 ;
}

behavior setpoint

{
  duration     = 4500 ;        #Seconds
  heading      = 235 ;       #Degrees
  speed        = 1.25 ;       #Meters/second
}

######################  
#LAUNCH and Descend #
######################

#Use descend behavior instead of launch to maintain pitch control.
behavior descend 
{
  duration         = 90;       #Seconds
  horizontalMode   = heading;  #Mode
  horizontal       = 235 ;       #Degrees; 
  pitch            = -15;      #Degrees
  speed            = 1.4 ;      #Meters/sec
  maxDepth         = 5;        #Meters
}

behavior setpoint
{
  duration     = 60;        #Seconds
  heading      = 235 ;      #Degrees
  speed        = 1.4 ;       #Meters/second
  verticalMode = depth;
  depth        = 0.0;         #Meters
  legDuration  = 60;        #Seconds
}

