<?xml version="1.0"?>

<control_panel name="paparazzi control panel">

  <section name="variables">
    <variable name="downlink_serial_port" value="/dev/ttyUSB0"/>
    <variable name="fbw_serial_port"      value="/dev/ttyS1"/>
    <variable name="ap_serial_port"       value="/dev/ttyS0"/>
    <variable name="ivy_bus"              value="127:2010"/>
    <variable name="map"                  value="muret_UTM.xml"/>
    <variable name="flight_plan"          value="flight_plans/muret1.xml"/>
  </section>

  <section name="programs">
    <program name="Server" command="sw/ground_segment/tmtc/server">
      <arg flag="-b" variable="ivy_bus"/>
    </program>

    <program name="Data Link" command="sw/ground_segment/tmtc/link">
      <arg flag="-b" variable="ivy_bus"/>
    </program>

    <program name="GCS" command="sw/ground_segment/cockpit/gcs">
      <arg flag="-b" variable="ivy_bus"/>
    </program>

    <program name="Flight Plan Editor" command="sw/ground_segment/cockpit/gcs -edit">
    </program>

    <program name="Messages" command="sw/ground_segment/tmtc/messages">
      <arg flag="-b" variable="ivy_bus"/>
    </program>

    <program name="Settings" command="sw/ground_segment/tmtc/settings">
      <arg flag="-b" variable="ivy_bus"/>
    </program>

    <program name="Log Plotter" command ="sw/logalizer/plot"/>

    <program name="Real-time Plotter" command ="sw/logalizer/plotter"/>

    <program name="Log File Player" command="sw/logalizer/play">
      <arg flag="-b" variable="ivy_bus"/>
    </program>

    <program name="Simulator" command="sw/simulator/launchsitl">
      <arg flag="-b" variable="ivy_bus"/>
    </program>

    <program name="Hardware in the Loop" command="sw/simulator/simhitl">
      <arg flag="-fbw" variable="fbw_serial_port"/>
      <arg flag="-ap" variable="ap_serial_port"/>
    </program>

    <program name="Environment Simulator" command="sw/simulator/gaia">
      <arg flag="-b" variable="ivy_bus"/>
    </program>

    <program name="Http Server" command="sw/ground_segment/tmtc/boa"/>

    <program name="TCP controller" command="sw/ground_segment/tmtc/ivy_tcp_controller"/>
    <program name="TCP aircraft" command="sw/ground_segment/tmtc/ivy_tcp_aircraft"/>
    <program name="Spook" command="sw/in_progress/videolizer/spook/spook"/>
 </section>
  



  <section name="sessions">

   <session name="Berlin">
      <program name="Server"/>
      <program name="GCS">
        <arg flag="-mplayer" constant="rtsp://ricou.homelinux.org:7070/webcam"/>
        <arg flag="-layout"  constant="layout_berlin.xml"/>
      </program>
      <program name="TCP controller">
        <arg flag="-h" constant="85.214.48.162"/>
      </program>
    </session>

   <session name="Toulouse">
      <program name="Data Link">
        <arg flag="-d" constant="/dev/ttyUSB0"/>
        <arg flag="-s" constant="57600"/>
        <arg flag="-aerocomm" constant=""/>
      </program>
      <program name="Server"/>
      <program name="GCS"/>
      <program name="TCP aircraft">
        <arg flag="-h" constant="85.214.48.162"/>
      </program>
      <program name="Spook">
        <arg flag="-c" constant="/home/pascal/pprz/savannah/paparazzi3/sw/in_progress/videolizer/spook/spook.conf.usbraw"/>
      </program>
    </session>

    <session name="Hildesheim">
      <program name="Data Link">
        <arg flag="-d" constant="/dev/ttyUSB0"/>
      </program>
      <program name="Server"/>
      <program name="GCS">
        <arg flag="-layout"  constant="layout_berlin.xml"/>
        <arg flag="-mplayer" constant="rtsp://localhost:7070/webcam"/>
      </program>
      <program name="TCP aircraft">
        <arg flag="-h" constant="85.214.48.162"/>
        <arg flag="-id" constant="26"/>
      </program>
      <program name="Spook">
        <arg flag="-c" constant="/home/mum2hi/uav/paparazzi3/sw/in_progress/videolizer/spook/spook.conf"/>
      </program>
    </session>


    <session name="simulation">
      <program name="Server"/>
      <program name="GCS">      </program>
      <program name="Simulator">
        <arg flag="-a" constant="TJ1"/>
        <arg flag="-norc" constant=""/>
      </program>
      <program name="Simulator">
        <arg flag="-a" constant="R1"/>
        <arg flag="-norc" constant=""/>
      </program>
    </session>



  </section>

</control_panel>
