-
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
Reduced point cloud frequency with ROS2 driver vs plain C++ client #378
Comments
I can answer this myself more or less. I read somewhere the suggestion to use the Cyclone middleware, so I ran
Then made sure to quit my shell session, and run Could some troubleshooting FAQ be added on this? |
Yeah generally I recommend using CycloneDDS against the ROS2 driver. I want to add a note to our main README.md since this comes very often. At the same time I still have some optimization that I want to implement to improve the performance for FastDDS. |
added a comment to the ROS2/README.md about CycloneDDS recommendation per #380 |
I retested right now with the cyclone middleware, and I'm still not getting full frequency, I'm guessing I made other changes to speed it up. That, or my firmware upgrade changed the device's behaviour. |
Can confirm. I made these two changes which bumped the frequency up. Not sure which of these was needed:
|
yeah that's the recommendation per https://community.ouster.com/t/increase-receive-buffer-to-eliminate-packet-drop-problem-on-some-windows-computers/84/3 besides using CycloneDDS for ROS2 |
I think it would be great if this info was added to the Linux networking guide page in the documentation. Imo a forum post isn't as discoverable.
|
totally, I actually want to include a bash script as part of the driver that users can invoke to configure the system properly for them, since this is rather a recurring issue. |
Describe the bug
ROS2 driver does not achieve desired frequency. In lidar mode 1024x20 for instance, I am getting about 15hz, the proportion is similar in other modes (e.g. 7 hz for 1024x10). Setting rx buffer size and kernel buffer sizes appears to have no effect on this.
Neither does changing the point type (e.g.
xyz
).Sometimes I see
A message was lost!!!
in the output ofros2 topic echo
.Meanwhile a custom C++ client based on the
ouster-sdk
on the same laptop and the same ethernet adapter achieves the desired frame rate with no problem, so it's not a networking issue.What steps can I take to improve this? Is there documentation?
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: