鱼香ROS社区
    • 版块
    • 最新
    • 未解决
    • 已解决
    • 群组
    • 注册
    • 登录
    紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
    提问前必看的发帖注意事项: 社区问答规则(小鱼个人)更新 | 高质量帖子发布指南

    【求助】ros2 humble下gazebo&moveit联合仿真,ros2 control node加载失败

    已定时 已固定 已锁定 已移动 未解决
    综合问题
    ros2 humble gazebo&moveit
    1
    1
    27
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • S
      swh
      最后由 编辑

      报错信息:[ros2_control_node-6] [INFO] [1750770401.570871549] [resource_manager]: Loading hardware 'GazeboSystem'
      [ros2_control_node-6] terminate called after throwing an instance of 'pluginlib::LibraryLoadException'
      [ros2_control_node-6] 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 mock_components/GenericSystem test_hardware_components/TestSystemCommandModes test_hardware_components/TestTwoJointSystem
      我的相关包版本:
      ros-humble-ros2-control is already the newest version (2.51.0-1jammy.20250617.234359);
      ros-humble-ros2-controllers is already the newest version (2.47.0-1jammy.20250618.000355);
      ros-humble-gazebo-ros2-control is already the newest version (0.4.10-1jammy.20250617.235819);
      ros-humble-gazebo-ros-pkgs is already the newest version (3.9.0-1jammy.20250618.001012);
      在/opt/ros/humble/share/gazebo_ros2_control/gazebo_hardware_plugins.xml描述性文件下,其定义的基类是gazebo_ros2_control::GazeboSystemInterface,而非系统提示的hardware_interface::SystemInterface,请问该如何解决?
      我的ros2_control.xacro配置如下:
      <hardware>
      <plugin>gazebo_ros2_control/GazeboSystem</plugin>
      <param name="robot_sim_type">gazebo_ros2_control/GazeboSystem</param>
      </hardware>
      ...
      <gazebo>
      <plugin name="gazebo_ros2_control" filename="libgazebo_ros2_control.so">
      <parameters>$(find robot_description)/config/swhbot_ros2_controllers.yaml</parameters>
      <robot_sim_type>gazebo_ros2_control/GazeboSystem</robot_sim_type>
      <robot_param>/robot_description</robot_param>
      </plugin>
      </gazebo>

      1 条回复 最后回复 回复 引用 0
      • 第一个帖子
        最后一个帖子
      皖ICP备16016415号-7
      Powered by NodeBB | 鱼香ROS