Built from Source or Downloaded from Official Repository: installed with ros-$ROS_DISTRO-velodyne
Version: [if from repository, give version from sudo dpkg -s ros-$ROS_VERSION-velodyne, if from source, give commit hash]
Describe the bug
ROS2 driver boots, creates topics but never publishes on those topics
bootlog
velodyne-1 | [INFO] [launch]: All log files can be found below /root/.ros/log/XXXX
velodyne-1 | [INFO] [launch]: Default logging verbosity is set to INFO
velodyne-1 | [INFO] [velodyne_driver_node-1]: process started with pid [30]
velodyne-1 | [INFO] [velodyne_convert_node-2]: process started with pid [32]
velodyne-1 | [INFO] [velodyne_laserscan_node-3]: process started with pid [34]
velodyne-1 | [velodyne_driver_node-1] [INFO] [1723573645.668104927] [velodyne_driver_node]: Velodyne VLP-16 rotating at 600.000000 RPM
velodyne-1 | [velodyne_driver_node-1] [INFO] [1723573645.668337121] [velodyne_driver_node]: publishing 76 packets per scan
velodyne-1 | [velodyne_driver_node-1] [INFO] [1723573645.668374369] [velodyne_driver_node]: Cut at specific angle feature activated. Cutting velodyne points always at 6.283185 rad.
velodyne-1 | [velodyne_driver_node-1] [INFO] [1723573645.668388673] [velodyne_driver_node]: expected frequency: 9.921 (Hz)
velodyne-1 | [velodyne_driver_node-1] [INFO] [1723573645.669490764] [velodyne_driver_node]: Only accepting packets from IP address: 192.168.1.201
velodyne-1 | [velodyne_driver_node-1] [INFO] [1723573645.669550317] [velodyne_driver_node]: Opening UDP socket: port 2368
velodyne-1 | [velodyne_convert_node-2] [INFO] [1723573645.670721400] [velodyne_convert_node]: correction angles: /opt/ros/foxy/share/velodyne_pointcloud/params/VLP16db.yaml
To Reproduce
The following Dockerfile builds successfully, it starts successfully, it mentions the cannot poll() error when I power down the Velodyne, it successfully creates the topic /velodyne_pointclouds. However it does not publish any messages on this topic.
It worked for me with ROS2, I can visualize the /velodyne_points topic through rviz2. I installed from source using colcon from the humble-devel branch.
Please complete the following information:
ros-$ROS_DISTRO-velodyne
sudo dpkg -s ros-$ROS_VERSION-velodyne
, if from source, give commit hash]Describe the bug ROS2 driver boots, creates topics but never publishes on those topics
bootlog
To Reproduce The following Dockerfile builds successfully, it starts successfully, it mentions the
cannot poll()
error when I power down the Velodyne, it successfully creates the topic/velodyne_pointclouds
. However it does not publish any messages on this topic.Expected behavior I expect Pointcloud2 messages to be published on the
/velodyne_pointclouds
topic.Additional context Everything is working fine under ROS1 with the following Dockerfile: