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

Visualisation in Circular Motion Error #147

Closed
AlexanderBMNdeprecated opened this issue Jun 1, 2023 · 4 comments · Fixed by #170
Closed

Visualisation in Circular Motion Error #147

AlexanderBMNdeprecated opened this issue Jun 1, 2023 · 4 comments · Fixed by #170
Assignees
Labels
question Further information is requested

Comments

@AlexanderBMNdeprecated
Copy link

AlexanderBMNdeprecated commented Jun 1, 2023

Describe your question
Lately, I am having issues visualizing the 3D-Pointclouds in RVIZ. It starts with no issues, but after a few seconds the points just get rendered slowly in a circular motion. I attached a video of the issue below.

This issue appeared after updating the firmware and using the latest ouster-ros release. I had everything working before with a 1 1/2 year old git release and old firmware (not sure about versions).

On another workstation, I don't have any issues with the visualization at all. In ouster studio, everything works fine as well.

The only thing concerning I observed so far is the CPU utilization. When reproducing the error, it spikes to 100% on some cores (see attached Screenshot). In ouster studio, the utilization almost doesn't increase at all.

Screenshots
ezgif com-video-to-gif
image

Platform (please complete the following information):

  • Ouster Sensor?
    OS-0 and OS-1 (Rev D)
  • Ouster Firmware Version?
    v2.5.1
  • ROS version/distro?
    noetic
  • Operating System?
    Ubuntu 20.04
  • Machine Architecture?
    x64 (Intel® Core™ i9-9900 CPU @ 3.10GHz × 16)
@AlexanderBMNdeprecated AlexanderBMNdeprecated added the question Further information is requested label Jun 1, 2023
@AlexanderBMNdeprecated AlexanderBMNdeprecated changed the title Visualisation Error Visualisation in Circular Motion Jun 1, 2023
@AlexanderBMNdeprecated AlexanderBMNdeprecated changed the title Visualisation in Circular Motion Visualisation in Circular Motion Error Jun 1, 2023
@Samahu Samahu self-assigned this Jun 1, 2023
@Samahu
Copy link
Contributor

Samahu commented Jun 1, 2023

@albait03 thanks for reporting the issue. Did you get the chance to try the current driver with the previous FW? Would be helpful to isolate the issue.

I only see the circular patter when I have huge drop in packets (are using the same network configuration), the spike in CPU utilization could be simply a side effect of the packet drops (or possibly coming out of order) and this isn't playing nicely with the LidarScan assembly.

Waiting for your feedback.

@AlexanderBMNdeprecated
Copy link
Author

Thank you Samahu for the quick reply.

@albait03 thanks for reporting the issue. Did you get the chance to try the current driver with the previous FW? Would be helpful to isolate the issue.

Yes, I tested with the V2.4.0 Firmware and the issue still persists.

I only see the circular patter when I have huge drop in packets (are using the same network configuration), the spike in CPU utilization could be simply a side effect of the packet drops (or possibly coming out of order) and this isn't playing nicely with the LidarScan assembly.

The network configuration is the same then it was before when it worked (with old driver/firmware), but it is indeed different to the simple workstation test. The LiDAR's are connected to a 10 GBit Networking Switch which is connected to the 10 GBit Networking Card in the System. I also tested the setup connecting the sensors directly to the system but the issue still persisted. Do you have any advice what I can do, to give you more specific information/how to check if i have packet drops? And does this even make sense concidering that Ouster Studio just works perfectly fine?

Kind regards

@Samahu
Copy link
Contributor

Samahu commented Jun 8, 2023

I do have an upcoming PR that should help with the overall performance and stability of the driver #146 but this targets ROS2 branch for now then will back port certain portions to ROS1. In the meantime you can consult this guide and see if it helps.

@Samahu
Copy link
Contributor

Samahu commented Jul 25, 2023

@albait03 I believe with the last update (package version 0.9.0) included in PR #170 your issue should be resolved. Make sure to use driver.launch instead of sensor.launch to obtain the improved performance and stability and reduce or eliminate the circular motion. Feel free to re-open the ticket if the problem still persist after this update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants