ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You should never try to edit, create or change files in /opt/ros/.... Instead, create a overlay in your home directory. To create an overlay for electric, just execute the following commands:
sudo apt-get install python-pip
sudo pip install -U rosinstall
rosws init ~/ros_overlay /opt/ros/electric
mkdir ~/ros_overlay/sandbox
rosws set ~/ros_overlay/sandbox
Now open your ~/.bashrc and change the line
source /opt/ros/electric/setup.bash
to
source ~/ros_workspace/setup.bash
Now close and re-open your terminal and execute the command roscreate-pkg
in ~/ros_workspace/sandbox.
2 | No.2 Revision |
You should never try to edit, create or change files in /opt/ros/.... Instead, create a overlay in your home directory. To create an overlay for electric, just execute the following commands:
sudo apt-get install python-pip
sudo pip install -U rosinstall
rosws init ~/ros_overlay /opt/ros/electric
mkdir ~/ros_overlay/sandbox
rosws set ~/ros_overlay/sandbox
Now open your ~/.bashrc and change the line
source /opt/ros/electric/setup.bash
to
source ~/ros_workspace/setup.bash
~/ros_overlay/setup.bash
Now close and re-open your terminal and execute the command roscreate-pkg
in ~/ros_workspace/sandbox.
3 | No.3 Revision |
You should never try to edit, create or change files in /opt/ros/.... Instead, create a overlay in your home directory. To create an overlay for electric, just execute the following commands:
sudo apt-get install python-pip
sudo pip install -U rosinstall
rosws init ~/ros_overlay /opt/ros/electric
mkdir ~/ros_overlay/sandbox
source ~/ros_overlay/setup.bash
rosws set ~/ros_overlay/sandbox
Now open your ~/.bashrc and change the line
source /opt/ros/electric/setup.bash
to
source ~/ros_overlay/setup.bash
Now close and re-open your terminal and execute the command roscreate-pkg
in ~/ros_workspace/sandbox.