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