<?xml version="1.0" encoding="UTF-8"?>

<Deployment name="SES-MARS-5" hibernate="true" sim="">

  <!-- ================================================================= -->
  <!-- First plan instructs controller to hibernate while descending -->

  <Plan tarzip="false" name="launch-phase">
    <Pause name="launch"  interval="false"  hibernate_for="56" delay_for="4" />
  </Plan>


  <!-- ================================================================= -->
  <!-- Second plan contains the essence of the deployment -->

  <Plan tarzip="true" name="overnight" sites="26" comment="14-hrs">

    <!-- Clean the slide by moving it through the brushes -->

    <MoveCarousel name="After brush" steps="155000" />
    <MoveCarousel name="Before brush" steps="117000" />
    <MoveCarousel steps="200000" />
    
    <!-- Go to home position -->

    <HomeClean />
    
    <!-- Go to collection position and hibernate during collection -->

    <MoveCarousel name="to-collection-position" location="collection" />
    <Pause name="30-mins"  interval="true"  hibernate_for="26" delay_for="4" />
    
    <!-- Acquire reference fluorometer values without sample present -->

    <MeasureFluorometry name="Ref Fluorometry" dark_time="1000" ref_time="1000" />
    
    <!-- Move sample to fluorometer and acquire values with the sample -->

    <MoveCarousel name="to-fluorometer-pos" location="fluoro" />
    <MeasureFluorometry name="Fluorometry" lum_time="1000" flu_time="1000" phos_time="1000" write_log="true" />
    
    <!-- Move sample to the camera position and take some pics -->
`
    <MoveCarousel name="to-camera-pos" location="camera" />
    <FluoroImage name="Take-Pics" prefix="_mars" />
    
  </Plan>

  <!-- ================================================================= -->
  <!-- Last plan instructs controller to mostly hibernate until recovery -->

  <Plan tarzip="false" name="wait-for-recovery" sites="4">
    <Pause name="wait"  interval="false"  hibernate_for="6" delay_for="4" />
  </Plan>
</Deployment>
