#! /bin/sh
#

RTC_DIR=/opt/rh/RS003/bin/comp
CONF_DIR=/opt/rh/RS003/etc/conf

exec gnome-terminal \
	--tab-with-profile=default --working-directory=${RTC_DIR} -t GamePad -e "./GamePadComp -f ${CONF_DIR}/GamePad.conf" \
	--tab-with-profile=default --working-directory=${RTC_DIR} -t DispPos -e "./DispPositionComp -f ${CONF_DIR}/DispPosition.conf" \
	--tab-with-profile=default --working-directory=${RTC_DIR} -t PathPlanning -e "./PathPlanningComp -f ${CONF_DIR}/PathPlanning.conf" \
	--tab-with-profile=default --working-directory=${RTC_DIR} -t PositionInput -e "./PositionInputComp -f ${CONF_DIR}/PositionInput.conf"

#exec gnome-terminal \
#	--tab-with-profile=default --working-directory=${RTC_DIR} -t GamePad -e "./GamePadComp -f ${CONF_DIR}/GamePad.conf" \
#	--tab-with-profile=default --working-directory=${RTC_DIR} -t DispPos -e "./DispPositionComp -f ${CONF_DIR}/DispPosition.conf" \
#	--tab-with-profile=default --working-directory=${RTC_DIR} -t PathPlanning -e "./PathPlanningComp -f ${CONF_DIR}/PathPlanning.conf" \
#	--tab-with-profile=default --working-directory=${RTC_DIR} -t PositionInput -e "./PositionInputComp -f ${CONF_DIR}/PositionInput.conf" \
#	--tab-with-profile=default --working-directory=${RTC_DIR} -t LRFViewer -e "./LRFViewerComp -f ${CONF_DIR}/LRFViewer.conf"
