1.安装arbotix
在工作空间的src文件夹下打开终端输入
git clone -b indigo-devel https://github.com/vanadiumlabs/arbotix_ros.git
cd ..
catkin_make
2.打开终端运行
roslaunch mrobot_description arbotix_mrobot_with_kinect.launch
3.此时终端会报错
Traceback (most recent call last):
File "/home/xy/catkin_ws/src/arbotix_ros/arbotix_python/bin/arbotix_driver", line 36, in <module>
from arbotix_python.arbotix import ArbotiX, ArbotiXException
ImportError: cannot import name ArbotiXException
解决方法:
打开File "/home/xy/catkin_ws/src/arbotix_ros/arbotix_python/bin/arbotix_driver",找到第36行代码,删去结尾", ArbotiXException",保存,重新运行第二步即可成功