|
@@ -157,11 +157,11 @@ sudo apt-get install python-rosinstall -y
|
|
|
sudo apt-get install python-rosinstall-generator -y
|
|
|
sudo apt-get install python-wstool -y
|
|
|
#setup
|
|
|
-source /opt/ros/melodic/setup.bash
|
|
|
+
|
|
|
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
|
|
|
source ~/.bashrc
|
|
|
#Create Ros Workspace
|
|
|
-cd /home/使用者;pwd;mkdir -p /home/使用者/catkin_ws/src;pwd;cd /home/使用者/catkin_ws/;pwd;catkin_make
|
|
|
+cd /home/使用者/catkin_ws/;pwd;cd /home/使用者/catkin_ws/;pwd;source /opt/ros/melodic/setup.bash;/opt/ros/melodic/bin/catkin_make
|
|
|
#Setup
|
|
|
source /home/使用者/catkin_ws/devel/setup.bash
|
|
|
echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc
|