---
title: ROS
description: "LIPSEdge SDK is fully compatible with ROS. In this article, we demonstrate how to use ROS wrapper to access 3D cameras and display pointcloud in Rviz viewer. ## [https://dev.lips-hci.com/lipsedge-tm-sdk-frameworks/overview#prerequisite](https://dev.lips-hci.com/lipsedge-tm-sdk-frameworks/overview#prerequisite)Prerequisite - Install [LIPSedge SDK](https://dev.lips-hci.com/introduction-to-lipsedge-sdk-1-x/lipsedge-sdk-1-x/) ## [https://dev.lips-hci.com/lipsedge-tm-sdk-frameworks/overview#ros-installation](https://dev.lips-hci.com/lipsedge-tm-sdk-frameworks/overview#ros-installation)ROS Installation > we use Ubuntu…"
url: "https://dev.lips-hci.com/lipsedge-sdk-frameworks/lipsedge-sdk-ros/"
updated: "2025-07-28"
category: LIPSedge™ SDK 1.x / LIPSedge™ SDK Frameworks
tags:
  - LIPSedge SDK
---

# ROS

LIPSEdge SDK is fully compatible with ROS. In this article, we demonstrate how to use ROS wrapper to access 3D cameras and display pointcloud in Rviz viewer.

## [https://dev.lips-hci.com/lipsedge-tm-sdk-frameworks/overview#prerequisite](https://dev.lips-hci.com/lipsedge-tm-sdk-frameworks/overview#prerequisite)Prerequisite

- Install [LIPSedge SDK](https://dev.lips-hci.com/introduction-to-lipsedge-sdk-1-x/lipsedge-sdk-1-x/)

## [https://dev.lips-hci.com/lipsedge-tm-sdk-frameworks/overview#ros-installation](https://dev.lips-hci.com/lipsedge-tm-sdk-frameworks/overview#ros-installation)ROS Installation

> we use Ubuntu 20.04 and ROS Noetic in the following tutorial. You can also find official install documentation [here](http://wiki.ros.org/noetic/Installation)

- Install ROS via apt

```
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.bash` which ROS provide

```
source /opt/ros/noetic/setup.bash
```

- Initialize ROS and install all ROS dependencies

```
sudo rosdep init
rosdep update
```

## [https://dev.lips-hci.com/lipsedge-tm-sdk-frameworks/overview#using-openni2-ros-wrapper](https://dev.lips-hci.com/lipsedge-tm-sdk-frameworks/overview#using-openni2-ros-wrapper)Using OpenNI2 ROS Wrapper

- Create the workspace

```
mkdir -p ~/LIPSToF_ws/src
cd ~/LIPSToF_ws/src
catkin_init_workspace
```

- Download LIPS ROS wrapper

```
cd ~/LIPSToF_ws/src
git clone https://github.com/lips-hci/openni2_camera
```

- Run launch scriptchose launch script according to your camera.
  - `run_DL.sh` for DL
  - `run_M3.sh` for M3
  - `run_SL.sh` for L210/L215

```
cd ~/LIPSToF_ws
ln -s src/openni2_camera/run_DL.sh .
./run_DL.sh
```

## [https://dev.lips-hci.com/lipsedge-tm-sdk-frameworks/overview#rviz-viewer](https://dev.lips-hci.com/lipsedge-tm-sdk-frameworks/overview#rviz-viewer)Rviz Viewer

After camera topic is launched, You can now use Rviz viewer to see video streams or pointcloud.

- Launch Rviz viewer in terminal

```
rviz
```

- Set Fixed Frame from the Displays panel on the left panel to camera_link

![ROS1 | LIPS® Developer Documentation](https://dev.lips-hci.com/wp-content/uploads/2025/02/ROS1.png)

- Click Add on the bottom of Displays panel. Switch to By Topic tab, select /depth_registered > /points > PointCloud2. Then click OK.

![ROS2 | LIPS® Developer Documentation](https://dev.lips-hci.com/wp-content/uploads/2025/02/ROS2.png)

- Now you can see the pointcloud

![ROS3 | LIPS® Developer Documentation](https://dev.lips-hci.com/wp-content/uploads/2025/02/ROS3.png)
