-
Notifications
You must be signed in to change notification settings - Fork 155
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
OS0 /ouster/points low frequency with rmw_fastrtps_cpp #346
Comments
Since the problem is mainly specific to fastdds it is safe to assume it DDS issue rather than the driver implementation in itself. But I understand that the point cloud the driver generates is large that open dds implementation doesn't currently work well under it. So consider the following:
Obviously, certain aspects can be improved from our side and we are constantly improving our code. But these are some of the steps that you can apply right now to mitigate the issue. Hope this helps! |
Hi Samahu! Thanks for the speedy response! One question I had is that when I use 1024x20, I often hit around ~10Hz on /ouster/points and around ~18 Hz on the image topics. So, it seems fastdds has the capability to carry point clouds at 10 Hz. Based on this info, doesn't it potentially point to a driver issue? (I could be totally wrong! I'm still pretty new to ROS2). |
On my laptop and other computers I tested with I can hit ~20Hz, for the most part however I recommend people to use cyclonedds. Again, if you want to stick with fastdds you can try the options I enumerated above and see if they can help boost the frame rate. We have many improvements planned that may or may not help with fastdds. |
Hey Samahu, I took your advice and switched to cyclonedds and I'm able to hit 10 Hz consistently now. Thank you! |
Hello!
I currently have an OS0-128 Rev7 which I run with configuration 1024x10 and command:
ros2 launch ouster_ros sensor.launch.xml sensor_hostname:=192.168.131.18 use_system_default_qos:=true timestamp_mode:=TIME_FROM_ROS_TIME
I am using the Humble driver.Sometimes it is quite fast and I see /ouster/points reach ~7-8 Hz but other times it reaches around 1Hz (see image below).
#278 uses CycloneDDS but some other nodes I'm running use rmw_fastrtps_cpp so I would like to avoid switching DDS if possible.
#63 suggests using sensor.independent.launch.xml which does help a bit but does not reach 10Hz.
Are there any other potential solutions I could try when using rmw_fastrtps_cpp? Also, I'm curious why the fluctuation can be so high (even though I test when the only thing I'm running is the sensor driver).
Thank you in advance!
The text was updated successfully, but these errors were encountered: