ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Is pluginlib working on ROS2?

asked 2018-09-10 19:02:41 -0600

Carl D gravatar image

I've been fighting to port over some plugins to ROS2, and everything builds fine, but the plugins aren't discovered at runtime. Before I dig into this further, I'm wondering if this is expected to be working, and if so, is there any description of the changes between ROS 1 and ROS2?

Also are there any command line tools under ROS 2 for debugging? For example, in ROS1 there is rospack plugins --attrib=plugin

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-09-10 19:14:32 -0600

William gravatar image

rviz is using pluginlib in ROS 2 right now, so maybe you could use it as a reference.

Also are there any command line tools under ROS 2 for debugging? For example, in ROS1 there is rospack plugins --attrib=plugin

Not right now. That would be a nice enhancement though :)

There's some small documentation here:

https://github.com/ros/pluginlib/blob...

edit flag offensive delete link more

Comments

Not that I'll have time to do it for quite a while, but where is the right place to add the rospack functionality? Does it belong as part of the ros2 pkg command?

Carl D gravatar image Carl D  ( 2018-09-10 20:05:43 -0600 )edit

Yeah, probably so. There might be room for a ros2 pluginlib type verb separately, but I'd have to think about that more. I always found the --attrib=plugin to be unnecessarily obtuse.

William gravatar image William  ( 2018-09-10 20:22:51 -0600 )edit

Any update about the cli tool ??

artivis gravatar image artivis  ( 2019-06-20 15:47:56 -0600 )edit
1

Dear future person who Googled "ros 2 pluginlib": https://github.com/ros2/ros2_document...

David Lu gravatar image David Lu  ( 2021-06-23 09:34:22 -0600 )edit

Question Tools

3 followers

Stats

Asked: 2018-09-10 19:02:41 -0600

Seen: 1,208 times

Last updated: Sep 10 '18