ros机器人编程实践(11.2)- 下棋机器人之安装
程序员文章站
2022-06-01 08:45:39
...
前言
接上篇博客:ros机器人编程实践(11.1)- 下棋机器人之安装
运行R2机器人
echo "source ~/r2_ws/devel/setup.bash" >> ~/.bashrc
source ~/.bashrc
roslaunch r2_gazebo r2_gazebo.launch
警告解决办法:
sudo apt-get install ros-kinetic-gazebo-ros-control
下载安装完成后重新开启r2_gazebo
roslaunch r2_gazebo r2_gazebo.launch
sudo gedit ~/r2_ws/src/nasa_r2_simulator/r2_gazebo/urdf/gazebo_plugins/r2.gazebo.controller.xacro
添加一句:
< legacyModeNS>false< /legacyModeNS>
如图:
保存后重新运行:
roslaunch r2_gazebo r2_gazebo.launch
这问题有点头大。。。待解决。。。