Add tf2 Buffer accessor in FrameManager#1224
Add tf2 Buffer accessor in FrameManager#1224IanTheEngineer wants to merge 1 commit intoros-visualization:kinetic-develfrom
Conversation
|
@dhood @wjwwood any chance you could give this PR a lookover? The benefits include allowing users of RViz' API to transition away from the deprecated As far as I can tell, with this implementation, the only downside is that there lacks an option to re-use a |
6e52963 to
f347dd6
Compare
|
@wjwwood Can you please take a look at this since it is necessary for the migration of MoveIt to tf2. Thanks. |
|
you are right that this will break ABI and will need to target melodic. the downside that I see is that we now have duplicated the listener effort for TF, which is a shame since the tf1 listener is actually using a tf2 buffer underneath. I know you had worked to expose it in #1215 (comment); did you consider that approach here already? |
|
@dhood I agree that reusing the tf listener would be ideal, but the underlying |
|
@wjwwood could you pitch in on this please if you get a chance? (and the split |
|
Yeah, I was hoping to do it today. We'll see... |
|
I'd really rather not have duplicated tf buffers. So I'm going to pursue why the subclass didn't work and/or adding a new method in tf that would give access to the underlying |
|
Closing since I believe this was worked around in ros/geometry#163. Please comment if that's not the case. |
|
Thanks @wjwwood! I meant to close it myself. I believe this PR is unneeded due to the accessor method added to ros/geometry#163 Thanks for the reviews :) |
As this modifies headers (though only adding API), this may need to target
melodic-devel.This PR would mitigate the Issue related to using tf2 in the FrameManager #1215 by creating a
tf2_rosTransformListenerandBufferfor use by those who wish to use the RViz API and rely solely on thetf2libraries. In particular, MoveIt! is in the middle of a migration to tf2 ( moveit/moveit#830 ) and this PR would unblock that migration.