ros2 pluginlib example

build

colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

execute

ros2 launch plugin_loader plugin_loader.launch.xml 

or

ros2 run plugin_loader plugin_loader --ros-args --param plugin_name:=plugin1
ros2 run plugin_loader plugin_loader --ros-args --param plugin_name:=plugin2