-
Notifications
You must be signed in to change notification settings - Fork 525
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
Midigate spamming for 50Hz lidar #526
Midigate spamming for 50Hz lidar #526
Conversation
We can't blanket make this change unless the choice of 5 is generally principled. Plus, in async mode, we really just want the most recent scan to keeping the buffer would be problematic. It might be sensible to make this a parameter. Also, this PR should target |
72b686d
to
eedab07
Compare
Alright! I added the queue size as a parameter for now (in case we want to go in that direction) and targeted the PR to Was thinking about maybe just finding a way to suppress the info log instead of trying to prevent it from dropping messages. The actual mapping seems to be working despite all the logs. The logs being INFO rather than DEBUG kind of indicates that you are not supposed to use it that way though... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
I'm planning on doing some syncs across a bunch of repos on Friday, so I'll get these changes out to Humble around then |
* Increase scan filter queue_size * Add scan_queue_size as parameter
* Publish pose with covariance in localization mode. (#511) * Visualize localization nodes and edges with different colors in the pose graph marker message. (#513) * Fix edge marker id to not conflict with the localization edge marker. (#515) * Stop ceres problem from freeing loss function (#519) * Add map_and_localization node that supports toggling between mapping and localization modes with a service. (#512) * resolve API change from galactic (#524) * Fix segfault after loading posegraph (#527) * Assign mapper to closure_assistant after loading posgraph * Fix linting * Midigate spamming for 50Hz lidar (#526) * Increase scan filter queue_size * Add scan_queue_size as parameter Co-authored-by: Marc Alban <[email protected]> Co-authored-by: john-maidbot <[email protected]> Co-authored-by: Samuel Lindgren <[email protected]>
I have a related PR open for the tf message filter: ros2/geometry2#544, which seems to struggle with high rate messages. |
Basic Info
I'm trying to use Slam Toolbox on a Clearpath Husky with lms111 lidars that default to 50Hz.
Currently, I get a massive amount of info messages about dropped messages in the terminal
Increasing the queue_size a bit seems to mitigate most of the problem, but maybe there is a better solution.
| ------ | ----------- |
| Primary OS tested on | Ubuntu |
| Robotic platform tested on | gazebo simulation, Clearpath Husky |
Description of contribution in a few bullet points