-
Notifications
You must be signed in to change notification settings - Fork 0
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
AMRNAV-3826 Add dynamic parameters to nav2 collision monitor #9
AMRNAV-3826 Add dynamic parameters to nav2 collision monitor #9
Conversation
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.
@tonynajjar please have a look
Copied from ros-navigation#2922 |
As I understood it, this is to turn off the collision monitor completely, and not to "tune" these parameters. Then I propose another approach. @jplapp we once discussed the Multiplexer design for selecting the source of the cmd_vel topic, i.e if it comes from nav2 or from joystick control (according to driving mode). I think this design would also fit quite well here; we select if the cmd_vel comes from the collision monitor or from the step before it (the smoother i think) Pros:
|
The multiplexer design also sounds good for me, the only problem i see is that it adds one more layer to our cmd_vel latency question |
really good observation. My gut feeling is that it's not an extra layer is going to make it or break it, if sub/pub layers really bring unbearable latency then we would have to rethink the Nav2 communication pipeline as a whole. |
thanks for you comment @tonynajjar . I'd be fine with this design as well, however the min_height does have some practical use in the application - we don't want to fully turn off collision monitoring. Instead, we just don't want the ground to be an issue: |
Sorry for the confustion, i understood the task wrong, i thought we want to turn it off completely. I'm thinking if the default value of 5cm min_height would be enough to leave the inclined area with no issues, we can test it and tune the min_height at Brummer, and then decide if we need to dynamicaly change this parameter or we can stick to the value that is enought to leave the inclined area, make it a default and revert this PR |
I see, but then I think this should be solved at the earlier stage since a "pointcloud without ground" is also to be used for STVL. (currently we work around this also with the min distance If I recall correctly) |
currently we disable STVL - if it had dynamic param support and we could modify the min_distance in the same way, that would be nice as well |
Merging this as it is for now. We will test it at Brummer to tune the parameter min_height. Also created https://lvserv01.logivations.com/browse/AMRNAV-4062 to move this logic to plane_clipper |
Basic Info
Description of contribution in a few bullet points
Related PR: https://github.com/logivations/deep_cv/pull/4793
We need these parameters to be dynamicaly configurable in order to turn on/off the collision monior by setting the parameters to some unrealistic values like poincloud.min_height = 10. SetNodeParameters BT node is responsible for this
Future work that may be required in bullet points
For Maintainers: