ouster-lidar / ouster-ros

Official ROS drivers for Ouster sensors (OS0, OS1, OS2, OSDome)
https://ouster.com
Other
107 stars 131 forks source link

Show low frequency when recording rosbag or echoing /ouster/points topic & Artifact of ROS driver #322

Open SangHunHan92 opened 2 months ago

SangHunHan92 commented 2 months ago

1. Show low frequency when recording rosbag or echoing /ouster/points topic with ROS2 galactic driver When I launch ouster driver with ros2 launch ouster_ros driver.launch.py, lidar pointcloud showing with rviz2 shows a sufficiently high frequency (probably 20hz) [Fig 1]. 1

However, if I record or echo /ouster/points topic, lidar frequency is significantly slower. [Fig 2] When I stopped record or echo, the original frequency is restored. 2

Surprisingly, ROS noetic driver doesn't have this problem at all. Both record and echo work well at 20hz.

During this process, I checked the data transfer amount with iftop, but there was no change. (Constant at about 60Mb) Changing resolution of the pointcloud also doesn't work: even the lowest 512x10 doesn't solve the issue. What's the solution for ROS2 galactic?

2. Show Artifact when running ROS driver When I launch ouster driver, lidar pointcloud in rviz show line artifact [Fig 3]. This issue shows either ROS and ROS2 driver.

3 3-2 (Examples of ROS noetic)

3-4 (Example of ROS2 galactic)

But, this artifact doesn't show in OusterStudio [Fig 4]. 4-2

Platform (please complete the following information):

andre-nguyen commented 2 months ago

Is this possibly the same issue as #240 and #272 ? Have you tried https://github.com/ouster-lidar/ouster-ros/pull/302 or #320 ?

Samahu commented 2 months ago

@SangHunHan92 what @andre-nguyen said, most likely it is the same problem. For ROS[noetic] if you can pull #319 and see if that helps your situation or wait till it gets merged.

Samahu commented 2 months ago

I just noticed that you mentioned you were under ROS[galactic] so the PR that @andre-nguyen referenced is the right one