ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Generally you should not install packages by hand in system directories such as /opt/ros/diamondback. People normally create an overlay in there home directory. An easy way of creating such an overlay (and installing stacks/packages) is by using rosinstall. To create an overlay in ~/ros, you can do the following:

rosinstall ~/ros /opt/ros/diamondback

Then replace the line source /opt/ros/diamondback/setup.bash in your ~/.bashrc by the line source ~/ros/setup.bash.

Now, if you want to install a new stack that is not available as a debian package (e.g. bosch_drivers because it contains usb_cam), execute the following:

roslocate info bosch_drivers > ~/bosh_drivers.rosinstall
rosinstall ~/ros ~/bosh_drivers.rosinstall

After opening a new terminal to reload setup.bash you will have the package usb_cam in your package path and you should be able to rosmake it.

Generally you should not install packages by hand in system directories such as /opt/ros/diamondback. People normally create an overlay in there their home directory. An easy way of creating such an overlay (and installing stacks/packages) is by using rosinstall. To create an overlay in ~/ros, you can do the following:

rosinstall ~/ros /opt/ros/diamondback

Then replace the line source /opt/ros/diamondback/setup.bash in your ~/.bashrc by the line source ~/ros/setup.bash.

Now, if you want to install a new stack that is not available as a debian package (e.g. bosch_drivers because it contains usb_cam), execute the following:

roslocate info bosch_drivers > ~/bosh_drivers.rosinstall
rosinstall ~/ros ~/bosh_drivers.rosinstall

After opening a new terminal to reload setup.bash you will have the package usb_cam in your package path and you should be able to rosmake it.

Generally you should not install packages by hand in system directories such as /opt/ros/diamondback. People normally create an overlay in their home directory. An easy way of creating such an overlay (and installing stacks/packages) is by using rosinstall. To create an overlay in ~/ros, you can do the following:

rosinstall ~/ros /opt/ros/diamondback

Then replace the line

source /opt/ros/diamondback/setup.bash/opt/ros/diamondback/setup.bash

in your ~/.bashrc in your ~/.bashrc by with the line

source ~/ros/setup.bash~/ros/setup.bash
.

Now, if you want to install a new stack that is not available as a debian package (e.g. bosch_drivers because it which contains usb_cam), execute the following:

roslocate info bosch_drivers > ~/bosh_drivers.rosinstall
rosinstall ~/ros ~/bosh_drivers.rosinstall

After opening a new terminal to reload setup.bash you will have the package usb_cam in your package path and you should be able to rosmake it.