-
Notifications
You must be signed in to change notification settings - Fork 171
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
Always publish fixed frames to /tf_static #158
Conversation
@clalancette @sloretz friendly ping. Looking for a review of this fix. |
0916d3b
to
69cc005
Compare
Remove the deprecated 'use_tf_static' parameter. Now fixed transforms will always be published to the topic /tf_static. This change also avoid repeatedly publishing the same transforms. This restores the behavior from ROS 1; now a single "latched" message is published over /tf_static. Signed-off-by: Jacob Perron <[email protected]>
69cc005
to
6048c06
Compare
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.
OK, so I rebased this, made a few inline code changes, and updated the README to explain more about the /tf
vs. /tf_static
topics in here. I think this looks good now, so I'm going to approve. That said, I did enough changes in here that I'd appreciate a re-review by @jacobperron , and a quick conceptual review by @sloretz .
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
Signed-off-by: Chris Lalancette <[email protected]>
I'm going to go ahead and merge this, and also add a note to the Humble release notes. |
@clalancette Can I create a backport PR for this to |
No, I'm sorry. This is too big of a behavior change to introduce into a stable distribution. That said, if you want to prevent robot_state_publisher from publishing on a timer, feel free to submit a PR to Galactic to do that. Just make sure that the current behavior is maintained by default. |
Remove the deprecated 'use_tf_static' parameter. Now fixed transforms
will always be published to the topic /tf_static.
This change also avoid repeatedly publishing the same transforms.
This restores the behavior from ROS 1; now a single "latched" message
is published over /tf_static.
Fixes #157