ubuntu20.04 amd64
在使用带有mimic传动轴的urdf生成moveit_config时,demo_gazebo无法启动,出现如下报错信息
Error [parser.cc:488] parse as old deprecated model file failed.
Error Code 4 Msg: Required attribute[filename] in element[plugin] is not specified in SDF.
Error Code 8 Msg: Error reading element <plugin>
Error Code 8 Msg: Error reading element <model>
Error Code 8 Msg: Error reading element <sdf>
将在----moveit_config
文件夹下的config
文件夹内的gazebo_***.urdf
文件中,生成了一段错误的语法(下文中注释的部分)。注释掉就可以了
<gazebo>
<!-- loading plugin: mimic joints works in gazebo now -->
<plugin filename="libroboticsgroup_upatras_gazebo_mimic_joint_plugin.so" name="mimic_dh_pgi140_1">
<joint>finger1_joint</joint>
<mimicJoint>finger2_joint</mimicJoint>
<multiplier>1.0</multiplier>
<offset>0.0</offset>
<!-- <plugin name="gazebo_ros_control">
<robotNamespace>/</robotNamespace>
</plugin> -->
</gazebo>
因篇幅问题不能全部显示,请点此查看更多更全内容