



################################################################################
#
# PURPOSE: Test operational speed range of the vehicle.
# AUTHOR:  Gashler, McEwen
# DATE:    02/17/2003:
# NOTE:    Sequential behavoirs are bottom-up.  Priorities are top-down.
# MODS:
#
################################################################################






#
behavior missionTimer
{
  timeOut = 1500;
}
#
# Depth Envelope
#
behavior depthEnvelope
{
  minDepth = 0; #Meters
  maxDepth = 35; #Meters
  minAltitude = 15; #Meters
  abortAltitude = 10;
  abortDepth = 45; #Meters
}

behavior getgps
{
  minHits = 10;
  duration = 60;
}

behavior ascend
{

  duration = 120; #Seconds
  horizontalMode = rudder; #Mode
  horizontal = -10; #Degrees; 
  pitch = 15; #Degrees
  speed = 1.5;
  endDepth = 2; #Meters
}
#
# Command a constant heading and depth.
#
behavior setpoint
{
  duration = 400;
  heading = 0.0;
  speed = 1.5;
  verticalMode = depth;
  depth = 20; #Meters
}
#
# Command a constant heading and depth.
#
behavior setpoint
{
  duration = 400;
  heading = 0.0;
  speed = 1.5;
  verticalMode = depth;
  depth = 30; #Meters
}
#
# Command a constant heading and depth.
#
behavior setpoint
{
  duration = 400;
  heading = 0.0;
  speed = 1.5;
  verticalMode = depth;
  depth = 20; #Meters
}

# descend behavior for launch

behavior descend
{
  duration = 90;
  horizontalMode = heading;
  horizontal = 0.0;
  pitch = -30;
  speed = 1.5;
  maxDepth = 17;
  minAltitude = 10;
}

# setpoint on surface to accelerate to speed.

behavior setpoint
{
  duration = 30;
  heading = 0.0;
  speed = 1.5;
  verticalMode = pitch;
  pitch = 0;
}

behavior getgps
{
  minHits = 10;
  duration = 60;
  abortOnTimeout = True;
}
