-
Notifications
You must be signed in to change notification settings - Fork 440
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
lidar scan not complete #323
Comments
Hi @yinwu33, Could be a few things. If it's the last frame, then the frame may just be incomplete because the recording was stopped before the full frame could be captured. Otherwise, it may seem that a frame is incomplete due to minimum range. You might also wish to check your azimuth_window settings (easily accessed by going to your sensor's homepage in the browser). Hope that helps! |
Thanks for your reply. It's not the last frame. I replayed the rosbag and viewed the scan with rviz. The scan seems to twinkle due to several frames are not complete. The incomplete frame actually twinkles frequently. What could I do with In addition, I ran 6 lidars in total to record data. Could this be a problem? |
Hi @yinwu33, You should check in the sensor homepage that your azimuth_window settings are for the full window ( [0, 360000] ). It's possible you are experiencing packet loss. I think the best thing to do is to contact our sensor support. so they can help you diagnose the issue. |
Hello @kairenw |
Hi @yinwu33, Great, I'm glad it's not the azimuth window. It's definitely possible that you're getting packet loss due to having multiple sensors. Our client and viz code is performant enough to support 6 sensors real-time, but the devil is really in the details. I'd contact Ouster support with the code you're using, and a recorded bag of the data (along with the metadata) so we can look at it on our end. Thanks! |
Going to close this out now. In your support ticket, you can also link to this GH issue. |
This looks like packet loss. Even with a single lidar, it can happen, if you connect it via a switch. I did extensive testing of many switches, and some have their switching buffers so small that even the slightest additional traffic over the switch will cause packet loss for ouster. Details can be found in the table here: https://serverfault.com/questions/1098492/how-to-simulate-what-happens-inside-the-packet-buffer-of-a-simple-switch?noredirect=1#comment1434829_1098492, column "20K bursts". The best way to detect packet loss is observing /os_node/lidar_packets rate with a small time window, e.g. |
Is there sample code how to identify when a scan is incomplete? Especially in the presence of a limited azimuth window? |
You can use the bool LidarScan::complete(sensor::ColumnWindow window) const |
Hello I recorded some rosbag in Ubuntu 20.04 based on this repo. But some frame seems not complete, only around 270 degree or less (in 2. image). Is this normal or I can do something to improve the scan?
The text was updated successfully, but these errors were encountered: