28 lines
434 B
Bash
28 lines
434 B
Bash
#!/bin/bash
|
|
if [[ $1 == "config" ]]
|
|
then
|
|
cd /root/exomy_ws/src/exomy/scripts
|
|
bash
|
|
elif [[ $1 == "autostart" ]]
|
|
then
|
|
source /opt/ros/melodic/setup.bash
|
|
cd /root/exomy_ws
|
|
catkin_make
|
|
http-server src/exomy/gui -p 8000 &
|
|
|
|
source devel/setup.bash
|
|
roslaunch exomy exomy.launch
|
|
|
|
bash
|
|
elif [[ $1 == "devel" ]]
|
|
then
|
|
cd /root/exomy_ws
|
|
source /opt/ros/melodic/setup.bash
|
|
# catkin_make
|
|
# source devel/setup.bash
|
|
bash
|
|
else
|
|
bash
|
|
fi
|
|
|