-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add subscription options to odometry subscriptions #4961
base: jazzy
Are you sure you want to change the base?
Add subscription options to odometry subscriptions #4961
Conversation
I don't have a mechanism to test this using anything but Jazzy as that is what our system runs with. What options do I have? |
@pele1410 this PR is simple enough and I understand it well, its OK to cherry pick this to If you submit the |
nav2_dwb_controller/nav_2d_utils/include/nav_2d_utils/odom_subscriber.hpp
Outdated
Show resolved
Hide resolved
I believe this is what you were asking for. I'm not super familiar with the Github flow. |
Signed-off-by: Christopher Thompson <[email protected]>
Signed-off-by: Christopher Thompson <[email protected]>
Signed-off-by: Christopher Thompson <[email protected]>
Signed-off-by: Christopher Thompson <[email protected]>
a12e333
to
f1b373d
Compare
Basic Info
Description of contribution in a few bullet points
Added
rclcpp::SubscriptionOptions
to the odometry topic subscribers to allow qos overrides in the configuration. We run our odometry topics with Unreliable QoS to prevent network issues that are common with high-rate, reliable DDS transmissions. This change allows us to override the Reliable QoS of the odom subscriptions to allow matching.Description of documentation updates required from your changes
I would expect that this should be documented as a new configuration option, but I'm not entirely sure where that would happen.
Description of how this change was tested
We run a gazebo simulation of a surface vessel (similar to the WAM-V). Using the following configuration
ros__parameters
:Prior to this change, I would see QoS mismatches between the nav2 susbcribers and my odom publishers:
and
After this change, I verified there were no such mismatches.
and
Future work that may be required in bullet points
N/A
For Maintainers: