Replies: 3 comments 2 replies
-
You can checkout the pluginlib test. You probably have to use |
Beta Was this translation helpful? Give feedback.
-
ros2_plugin takes a shared library and necessary info to create a plugins.xml-like file. Initial implementation is not general enough, I figured that out while working on feature/rosbag branch. In short, the current ros2_plugin assumes a single base class for all classes in a plugin, but more than one is fine as well. That rework should be done by the end of the week. ros2_ament_setup at the moment collects all plugins defined in the dependency graph of the given deps and creates a file tree that ament_index_cpp can chew. I already upgraded ros2_test to use ros2_ament_setup under the hood. I still need to update ros2_launch. Since test&launch mechanisms are in Python, it makes sense to generate a simple Python setup like I do now. I envision that most folks would like to use ros2_launch|test instead of running bare nodes. In other words: if one would use ros2_test (soon ros2_launch) and there are plugins in the dep graph, all the plugins will be available automatically. This may be an overkill in some cases -- I am open to suggestions. |
Beta Was this translation helpful? Give feedback.
-
While working on rosbag stuff, I had to rework ros2_plugin and ament setup. That's now in main. The rosbag stuff needs a bit more efforts as it heavily relies on runtime plugin loading. |
Beta Was this translation helpful? Give feedback.
-
I'm working on integrating image_common into rules_ros2: main...dbruggner:rules_ros2:feature/add-image-common
I have a node which uses
image_transport
. When I start this node I get an error that theAMENT_PREFIX_PATH
is not set. Now I have seen that you implemented aros2_ament_setup
. Is it possible to use this to set theAMENT_PREFIX_PATH
for my node?Beta Was this translation helpful? Give feedback.
All reactions