<library path="src">
  <class name="My Plugin" type="rqt_virtual_joy.virtual_joy_module.MyPlugin" base_class_type="rqt_gui_py::Plugin">
    <description>
      An example Python GUI plugin to create a great user interface.
    </description>
    <qtgui>

      <group>
        <label>Robot Tools</label>
      </group>
      <!-- <group>
        <label>Subgroup</label>
      </group> -->

      <label>Virtual Joystick</label>
      <icon type="file">resource/input-gaming.png</icon>
      <statustip>Great user interface to provide real value.</statustip>
    </qtgui>
  </class>
</library>

2.打开报错中指出的文件缺失的目录/opt/ros/melodic/share/rqt_virtual_joy/,新建文件plugin.xml

3.打开plugin.xml,粘贴第一步复制的代码,保存退出即可。

参考;https://answers.ros.org/question/354039/rqt_virtual_joypluginxml-file-is-missing/

相关文章:

  • 2022-12-23
  • 2021-10-19
  • 2021-03-27
  • 2021-09-29
  • 2021-08-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-27
  • 2021-06-29
  • 2021-08-19
  • 2021-10-05
  • 2022-12-23
  • 2021-07-22
  • 2021-08-29
相关资源
相似解决方案