Download Print this page

Unitree Unilidar SDK User Manual page 14

Lidar

Advertisement

Unilidar ROS2
·Introduction
Unilidar ROS2 is a ROS2 package, which is specially used for running Unitree LiDAR
products.
The functions that this package can provide includes:
Parse the raw data transmitted from the lidar hardware, and convert it into
pointcloud and IMU data
Publish the pointcloud data to a ROS topic
Publish the IMU data to a ROS topic
In addition, you can configure the relevant parameters of the lidar in the
`launch.py`.
·Dependency
The dependencies include 'PCL' and 'ROS2'.
We have verified that this package can successfully run under this environment:
Ubuntu 20.04
ROS2 foxy
PCL-1.10
unitree_lidar_sdk
You are suggested to configure an environment like this to run this package.
·Configuration
Connect your lidar to your computer with a USB cable, then confirm your serial port
name for lidar:
```
$ ls /dev/ttyUSB*
/dev/ttyUSB0
```
The default serial port name is '/dev/ttyUSB0' .
If it is not the default one, you need to modify the configuration in `unitree_li-
dar_ros2/launch/launch.py` and change the `port` parameter to yours. For example:
```
{'port': '/dev/ttyUSB0'},
```
2023 Unitree Robotics. All rights reserved.
13

Advertisement

loading
Need help?

Need help?

Do you have a question about the Unilidar SDK and is the answer not in the manual?

Subscribe to Our Youtube Channel