Use the ROS wrapper to access camera streams and display a depth point cloud in RViz. This tutorial covers Docker and manual setup with ROS Noetic on Ubuntu 20.04.
ROS Noetic reached end of life on May 31, 2025. These instructions cover an existing Noetic workflow. For ROS 2 development, review the LIPSedge ROS 2 integration guide and check its camera and SDK requirements.
Prerequisite #
Install the camera SDK and complete the camera connection setup before using the wrapper. Follow the AE400 / AE450 Linux installation guide and select the appropriate package from the SDK archive.
Check that the camera SDK, wrapper version, and firmware match your development environment.
ROS Installation #
Method 1: Docker (ROS Noetic + Ubuntu 20.04) #
Start the prebuilt AE400 ROS wrapper image:
docker run -it hedgehao/lipsedge-ae4xx:ros-wrapper
Method 2: Install Manually #
The following steps use Ubuntu 20.04 and ROS Noetic. Consult the ROS Noetic installation documentation for platform-specific instructions.
- Install ROS via apt
The commands below retain the original Noetic installation sequence. Before configuring the package repository and signing key, review the official ROS signing key migration guide and use the setup appropriate to your system.
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
sudo apt update
sudo apt install ros-noetic-desktop-full
- Install dependencies
sudo apt install python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential python3-rosdep
- Install some useful ROS packages (e.g. rviz viewer)
sudo apt-get install ros-noetic-rgbd-launch ros-noetic-image-view rviz
- Before using any ROS command, some environment variables need to be setup. You can do that by executing
setup.bashwhich ROS provide
source /opt/ros/noetic/setup.bash
- Initialize ROS and install all ROS dependencies
sudo rosdep init
rosdep update
Using ROS Wrapper #
- Create the workspace
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src/
- Clone ROS application source code
Review the version information in the wrapper repository before building.
The checkout command below selects the highest version tag matching its pattern. Confirm that the selected tag matches your camera SDK and ROS Noetic environment.
git clone https://github.com/IntelRealSense/realsense-ros.git
cd realsense-ros/
git checkout `git tag | sort -V | grep -P "^2.\d+\.\d+" | tail -1`
cd ..
- Install all dependencies
catkin_init_workspace
cd ..
catkin_make clean
catkin_make -DCATKIN_ENABLE_TESTING=False -DCMAKE_BUILD_TYPE=Release
catkin_make install
Launch ROS Application #
Use terminals with the ROS and workspace environments loaded.
- Launch the camera application
roslaunch realsense2_camera rs_camera.launch
- Open RViz.
Start a new Terminal and launch rviz.
rosrun rviz rviz
- Display the point cloud
- In the left panel, set
Fixed Frametocamera_depth_frame. - Click
Addfrom left menu. - On the
By topictab and addDepthCloud. - With the camera application running and the topic available, inspect the point cloud in RViz.
Related guides and support #
For camera IP setup and connection troubleshooting, consult the Technical FAQ.
Return to the AE400 / AE450 installation overview for other installation and integration guides.
For help with wrapper builds, camera streams, or RViz output, contact LIPS Technical Support. Include your camera model, SDK and firmware versions, Ubuntu and ROS versions, wrapper tag or commit, installation method, and any error messages.
