-
Notifications
You must be signed in to change notification settings - Fork 58
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
[WIP] Rough port of interactive marker server to Dashing #41
Conversation
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
I don't have a preference. I guess you could close it but not delete the branch? Seems like some bot might complain in the future if we leave the branch. I dunno. |
So there are no latched topics in ROS2, or does this just not translate well over the bridge? |
ROS 2 has more nuanced QoS settings than just latched and queue size. I think the problem is |
Short answer is, no ROS 2 does have something like latching, but it's not always just a single message (the latest message) that is "latched". In DDS and in ROS 2 this setting is called Durability and is influenced by the History setting.
Therefore, no, it doesn't translate perfectly over the bridge, but the bridge doesn't even make an attempt to forward this behavior at them moment. As @sloretz said. |
I'm picking this up as part of migrating the Do we want to do a direct port to ROS 2 (ie. minimal changes to get it working)? I don't have anything specific in mind right now, but figured I'd ask before going forward. Thoughts? |
I'm personally quite happy with the design and wouldn't see a need to change the API or how it's implemented. Maybe ROS2 has new features that I don't know about which you could use though. |
Well, so the latched "init" topic would perhaps be something that you could improve, i.e. use a service to request the full state instead. |
Yeah, I was also thinking the same. Some other thoughts for refactoring:
|
Closing in favor of #44 |
Opening PR for visibility. This is a rough port of the interactive marker server to ROS 2 Dashing. I was testing if the server could be used on a ROS 2 node to communicate with a ROS 1 client (rviz interactive marker display) over the bridge. The answer appears to be no; at least not without modifying the ROS 1 bridge to use QoS settings for topics that were latched in ROS 1.
@wjwwood I'm not sure if I'll be porting any more of this, or coming back to it at all. Should I leave the PR open or closed?