Note: This tutorial assumes that you have completed the previous tutorials: Building and using catkin packages in a workspace.
(!) 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.

Building RealSense Camera from Sources

Description: Instructions for building the realsense_camera package from source files.

Keywords: realsense, build, source, sources

Tutorial Level: INTERMEDIATE

Next Tutorial: Building both librealsense and RealSense Camera from Sources

Cloning sources into catkin Workspace

# Create the catkin workspace
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src

# Download the source files
git clone https://github.com/intel-ros/realsense.git
cd realsense

# Checkout the latest stable code
git checkout -b stable-branch stable

Install Dependencies

# Update the dependencies database
rosdep update

# Attempt to install dependencies
# Requires that your login has sudo privileges to instal as root using apt-get
cd ~/catkin_ws
rosdep -y install --from-paths src --ignore-src

Build the Package

cd ~/catkin_ws
catkin_make

Use the Package

source ~/catkin_ws/devel/setup.bash
roslaunch realsense_camera r200_nodelet_default.launch

Wiki: realsense_camera/Tutorials/Building_from_Sources (last edited 2016-11-17 02:34:42 by mdhorn)