Add subscription options to odometry subscriptions#4961
Add subscription options to odometry subscriptions#4961pele1410 wants to merge 4 commits intoros-navigation:jazzyfrom
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. |
a12e333 to
f1b373d
Compare
|
@pele1410 this however we can merge in since my PR isn't going to be backported as it changes a ton of things. Can you re-trigger CI with a rebase? |
Signed-off-by: Christopher Thompson <cthompson@metalsharkboats.com>
Signed-off-by: Christopher Thompson <cthompson@metalsharkboats.com>
Signed-off-by: Christopher Thompson <cthompson@metalsharkboats.com>
Signed-off-by: Christopher Thompson <cthompson@metalsharkboats.com>
f1b373d to
4dd1d48
Compare
|
@pele1410 the test still fails the usual way
Were the changes to rclcpp backported to Jazzy? |
|
Doesn't look like they were. I've asked the rclcpp guys in the PR if it can be backported. |
|
Doesn't look like it's going to be backported. Wondering what our options are here.
Frankly, the second suggestion would be something I do in my own repository rendering this MR moot. |
|
We can't merge this as-is since that dynamic parameter would cause a crash for users. We have 3 real options:
I'm pretty happy with any of those options for Jazzy - though prefer 1 or 3. |
|
While it pains me to do so; I'm going to go for option 1. I've moved the changes into my own codebase already. |
|
OK - sorry to hear that but I get it. I look forward to future contributions - sorry that this one took so long and was a pain! |
Basic Info
Description of contribution in a few bullet points
Added
rclcpp::SubscriptionOptionsto 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: