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

How to debug Plugins

asked 2022-12-05 09:33:47 -0600

NotARobot gravatar image

updated 2022-12-06 03:38:28 -0600

Greetings. Due to some errors which appear to be caused by missing plugins, I am searching for a way to list all available plugins in the context of ROS2 (a ROS1 solution is stated in pluginlibs ros wiki page).

The exact error is based on gazebo_ros2_control plugin:

[ERROR] [ros2_control_node-1]: process has died [pid 86933, exit code -6, cmd '/opt/ros/foxy/lib/controller_manager/ros2_control_node --ros-args --params-file /tmp/launch_params_3216bsip --params-file /home/developer/ROS_Foxy_ModProFT/install/modproft_ur_bringup/share/modproft_ur_bringup/config/sim_controllers.yaml --params-file /tmp/launch_params_9t9xm_16'].
[ros2_control_node-1] terminate called after throwing an instance of 'pluginlib::LibraryLoadException'
[ros2_control_node-1]   what():  According to the loaded plugin descriptions the class gazebo_ros2_control/GazeboSystem with base class type hardware_interface::SystemInterface does not exist. Declared types are  fake_components/GenericSystem test_hardware_components/TestSystemCommandModes test_hardware_components/TestTwoJointSystem test_system ur_robot_driver/URPositionHardwareInterface

The package containing said plugin is installed under /opt/ros/foxy/. But a listing would be helpful for debugging reasons.

Edit: I solved my problem. It seems that the gazebo_ros2_control plugin also starts the ros2_control node. Therefore, this wild plugin error appeared. I was not aware that gazebo_ros2_control was doing that. However the question still stands for the debugging of future errors.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-12-06 04:37:24 -0600

ljaniec gravatar image

This Q&A is related to your question:

It seems that there still isn't a CLI command similar to rospack plugins --attrib=plugin, but this PR:

Is mostly prepared and ready to review... Since December 2019 :(

Maybe you can reach out to the author and repository maintainers?

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-12-05 09:33:47 -0600

Seen: 390 times

Last updated: Dec 06 '22