Create create_ws_install_serial.sh
هذا الالتزام موجود في:
27
create_ws_install_serial.sh
Normal file
27
create_ws_install_serial.sh
Normal file
@@ -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
|
||||
|
المرجع في مشكلة جديدة
حظر مستخدم