ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to visualize point cloud data of velodyne-16 with ros2?

asked 2021-07-29 03:23:52 -0600

ylh gravatar image

The environment:ros2-foxy

I'm a newer to ros2 .I want to visualize point cloud data of velodyne-16 with the help of ros2 and rviz2.I have installed the driver follow the following: image description image description image description

When I run the command,ros2 launch velodyne,and get:

[velodyne_driver_node-1] [WARN] [1627545389.611428642] [velodyne_driver_node]: Velodyne poll() timeout
[velodyne_driver_node-1] [WARN] [1627545390.613130216] [velodyne_driver_node]: Velodyne poll() timeout
[velodyne_driver_node-1] [WARN] [1627545391.614572476] [velodyne_driver_node]: Velodyne poll() timeout
[velodyne_driver_node-1] [WARN] [1627545392.616064299] [velodyne_driver_node]: Velodyne poll() timeout

when I run the command ros2 topic echo /velodyne_points,and get empty.

The topic failed to read data. This problem has been bothering me for a long time. I beg you to help me.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2022-03-24 07:21:37 -0600

Arics2020 gravatar image

U need to add the correct IP Address of the Velodyne in your Network settings:

for Ubuntu, with Velodyne Factory Settings it might look like this:

In Ubuntu Network Settings IPv4 Settings:

Address Subnet 16 # comment: this is your PC in the same Network like the Lidar with IP 16 # to get the data stream ( u forgot to add this, in the Velodyne gui it is called Host (Destination) and is the same under Network (Sensor) Gateway

(unfortunately , I cannot post a pic yet)


In your case above edit in Velodyne Lidar Gui the Gateway from to is the of the factory setting example.

Therefore, enter that address in Ubuntu with Subnet Mask 24


Have also a Look at the Tutorial

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2021-07-29 03:23:52 -0600

Seen: 290 times

Last updated: Mar 24 '22