#!/bin/bash
echo me:${0}
. $(dirname ${0})/common
status=${?}
echo root:${status}:${root}
if [ ! ${status} ]; then
  exit 1
fi

gnome-terminal \
  --tab --title="Motors" \
    --working-directory=${root}/fakeGalil \
    --command="${root}/fakeGalil/SIM_GALIL.py -w dingo" \
  --tab --title="Mercury" \
    --working-directory=${root}/fakeTempControl/oxford \
    --command="${root}/fakeTempControl/oxford/SIM_MERCURY.py -w" \
  --tab --title="Pfeiffer" \
    --working-directory=${root}/fakePfeiffer/tpg261 \
    --command="${root}/fakePfeiffer/tpg261/SIM_PFEIFFER.py -w" \
  --tab --title="Bash" \
    --working-directory=${root} \
    --command="bash"
