Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

velodyne_driver output different between ROS2 and ROS1 #496

Open
cjffly opened this issue Dec 15, 2022 · 2 comments
Open

velodyne_driver output different between ROS2 and ROS1 #496

cjffly opened this issue Dec 15, 2022 · 2 comments
Labels

Comments

@cjffly
Copy link

cjffly commented Dec 15, 2022

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?

@cjffly cjffly added the bug label Dec 15, 2022
@cjffly
Copy link
Author

cjffly commented Dec 16, 2022

[update]

I found this issue is has nothing to do with the driver, but related to the pointcloud calibration file. If I change all the rot_correction to 0.0, I would be normal again.

@JWhitleyWork
Do you know how the calibration file/rot_crrection works?

@JWhitleyWork
Copy link
Contributor

Unfortunately I don't. Which sensor are you using and which configuration file?

@JWhitleyWork JWhitleyWork added question and removed bug labels May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants