Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags. |
How to build and install visp_ros
Description: This tutorial explains how to install visp_ros package from source in a catkin workspace.Tutorial Level: BEGINNER
Next Tutorial: How to use vpROSGrabber
Contents
Installation
Install ROS and create a catkin workspace
mkdir -p ~/catkin_ws/src cd ~/catkin_ws/src catkin_init_workspace cd ~/catkin_ws catkin_make
Bring the source
cd ~/catkin_ws/src
Get visp_ros stack
git clone https://github.com/lagadic/visp_ros.git (master branch)
Install dependencies
cd ~/catkin_ws sudo rosdep init rosdep update rosdep install --from-paths src --ignore-src --rosdistro $ROS_DISTRO
Build the source
cd ~/catkin_ws catkin_make -DCMAKE_BUILD_TYPE=Release --pkg visp_ros
Finish the installation
cd ~/catkin_ws catkin_make install source ~/catkin_ws/install/setup.bash