#!/bin/bash

source install/setup.bash  # ros workspace
{
	gnome-terminal --title="radio" --tab "XXD_ros" -- bash -c "ros2 run radio_ctrl radio_ctrl_node" 
}&
sleep 0.2s

{
	gnome-terminal --title="mc" --tab "XXD_ros" -- bash -c "ros2 run mc mc_node"
}  &
sleep 0.2s

{
	gnome-terminal --title="ctrl_arbiter" --tab "XXD_ros" -- bash -c "ros2 run ctrl_arbiter ctrl_arbiter_node"
}   &
sleep 0.2s

{
	gnome-terminal --title="report" --tab "XXD_ros" -- bash -c "ros2 run mqtt_report mqtt_report_node"
}  
sleep 0.2s

{
	gnome-terminal --title="rtk" --tab "XXD_ros" -- bash -c "ros2 run rtk rtk_node"
}&
sleep 0.2s

{
	gnome-terminal --title="pub_gps" --tab "XXD_ros" -- bash -c "ros2 run pub_gps pub_gps_node"
}
