环境:ubuntn16.04 ROS-kinetic vs-code
urdf文件运行时候报错如下:
[ERROR] [1527494740.144219702, 307.635000000]: GazeboRosControlPlugin missing while using DefaultRobotHWSim, defaults to true.This setting assumes you have an old package with an old implementation of DefaultRobotHWSim, where the robotNamespace is disregarded and absolute paths are used instead.If you do not want to fix this issue in an old package just set to true.
解决方式:
在gazebo_ros_control插件里面添加legacyModeNS行,样式如下:
可以解决这个问题.