-
-
Notifications
You must be signed in to change notification settings - Fork 470
Finalize tf2 migration #1497
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
Finalize tf2 migration #1497
Conversation
I tried a bit but found no easy translation for I managed to port LaserScanDisplay easily, so here is a PR rhaschke#2 |
I think I finished the migration. An open question is how to handle |
Great job Robert! I'll look over it tomorrow. I know that the XACROs in ROS-I contain a prefix parameter for the purpose of multi-robot systems. But I would expect this to work without an additional prefix in RobotModelDisplay? Maybe @gavanderhoorn knows more? |
I hope I got what is meant in the open question. We use this tf_prefix in ROS-I in the RobotModel display. this is in order to have a specific display on a specific prefix that contains TF that are not moving (for fixing the posture of our robot hand for nice display), while still using the same urdf model as for the "moving" robot. |
f8a0288
to
be83d8f
Compare
The
|
As to the removal of But it's a bit strange to deprecate something and then not provide an upgrade path or alternative. Many of the paragraphs / wiki pages about the deprecation of
|
Inherit from standard MessageFilterDisplay, but skip the tf2::MessageFilter (no need to transform between frames). Remove redundant loop in EffortVisual::setMessage(), replacing this function with setEffort().
... deriving from MessageFilterDisplay
* fix package.xml, CMakeLists.txt * remove tf includes, use tf2 data types
31e9954
to
6cb5df4
Compare
I will keep |
This is the only blocker for the upcoming Noetic release (cf. #1498).
I started the migration process as follows:
InteractiveMarkerDisplay
(8995e37)getTFClient()
withgetTF2BufferPtr()
TfFrameProperty
(03a732f)TfDisplay
InteractiveMarker
LaserScanDisplay
MessageFilterDisplay
for all remaining displays:GridCellsDisplay
, which manually reimplements the logic of aMessageFilterDisplay
EffortDisplay
, which usesMessageFilterJointState
, a custom re-imlementation oftf::MessageFilter
tf2_ros::Buffer
.Any help is highly appreciated, @jschleicher or @simonschmeisser?