ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Why might ros1_bridge stop forwarding lidar PointCloud2 messages?

asked 2022-03-22 11:02:21 -0500

msmcconnell gravatar image

updated 2022-03-22 11:57:24 -0500

I have a large ROS network comprised of both ROS1 and ROS2 nodes. The nodes are bridged by the ros1_bridge dynamic_bridge.

Two of the ROS2 nodes publish VLP-32C lidar data as sensor_msgs/PointCloud2 onto two different lidar topics at ~10Hz. When the system starts up the ros1_bridge will correctly identify these topics and start forwarding these messages. However, after a few seconds at least one of the lidar streams will stop bridging and that lidar's data will no longer be available on the ROS1 network. It appears the ros1_bridge is still connected on both ends, but no lidar data is coming out. The ROS2 lidar data is still publishing and other messages are still being bridged.

I'm a bit at a loss for what might cause this. Does anyone have any suggestions on how to investigate.

I'm using Ubuntu 20.04 with ROS2 Foxy, ROS1 Noetic, and Cyclone DDS.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-03-23 17:49:03 -0500

msmcconnell gravatar image

updated 2022-03-23 17:49:17 -0500

Seems this was caused by some known limitations in the way Cyclone DDS uses the kernal network. I followed the suggestions here to resolve it https://docs.ros.org/en/rolling/How-T...

Specifically the command

sudo sysctl -w net.core.rmem_max=2147483647
edit flag offensive delete link more

Question Tools

4 followers

Stats

Asked: 2022-03-22 11:02:21 -0500

Seen: 169 times

Last updated: Mar 23 '22