ROS入门第九篇之基于ArbotiX和rviz的仿真器

安装ArbotiX

#以下命令,将代码下载到工作空间
luda@ubuntu:~$ cd catkin_ws/src/
luda@ubuntu:~/catkin_ws/src$ git clone https://github.com/vanadiumlabs/arbotix_ros.git

运行仿真环境

#编译
cd catkin_ws
catkin_make
roscore
roslaunch mrobot_description arbotix_mrobot_with_kinect.launch
在这里可能会出现错误:
ImportError: No module named msg

解决:在机器人模型的package.xml中没有依赖msg包
<build_depend>geometry_msgs</build_depend>
<build_depend>roscpp</build_depend>
<build_depend>rospy</build_depend>
<build_depend>std_msgs</build_depend>
<run_depend>geometry_msgs</run_depend>
<run_depend>roscpp</run_depend>
<run_depend>rospy</run_depend>
<run_depend>std_msgs</run_depend>
<build_depend>message_generation</build_depend>
<run_depend>message_ru

猜你喜欢

转载自blog.csdn.net/qq_31122833/article/details/103265910
今日推荐