Skip to content

velodyne_driver output different between ROS2 and ROS1  #496

Open
@cjffly

Description

@cjffly

Please complete the following information:
ROS1:

  • OS and Version: [ Ubuntu 16.04]
  • ROS Version: [Kinetic]
  • Downloaded from Official Repository:
  • Version: [1.5.2]

ROS2:

  • OS and Version: Ubuntu 22.04
  • ROS Version: Humble
  • Downloaded from Official Repository:
  • Version: f149faf

Describe the bug
Using the same pcap file, the velodyne_packets and velodyne_pointcloud output from ros1 and ros2 are different, leading the visualization in rviz show different. ros2 pipeline shows multiple reflection of the same objects at wront location. (like a ghost image)

See rviz output video below:
ROS1:

ROS1.mp4

ROS2:

ROS2.mp4

I exam the velodyne_driver output, (topic velodyne_packets), for the first output frame (using rostopic echo -n 1 for ros1 or ros2 topic echo --once in ros2), ros1 has more packets (151 packets) than ros2(128 packets). (The actual data for the 128 packets from ros2 are the same as those in ros1 output, just missing the rest packets). I wonder what make the velodyne driver treat the same pcap file differently?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions