diff --git a/create_ws_install_serial.sh b/create_ws_install_serial.sh new file mode 100644 index 0000000..5243496 --- /dev/null +++ b/create_ws_install_serial.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +# this script sources and create a new catkin_ws and then install dependicies for rosserial + + +if [[ "${UID}" -ne 0 ]] +then + echo 'Please run as sudo' + exit 1 + fi + + source /opt/ros/kinetic/setup.bash + + mkdir -p ~/catkin_ws/src + + cd ~/catkin_ws/ + + + catkin_make + + + + source devel/setup.bash + + + echo $ROS_PACKAGE_PATH +