首页 > 学院 > 开发设计 > 正文

kinetic 安装arbotix模拟器

2019-11-06 08:30:12
字体:
来源:转载
供稿:网友

在学习到用arbotix模拟器的时候,由于使用最新版本,其他的很多网站的命令,包括sudo apt-get install ros-kinetic-arbotix-*,没有安装成功

接下来尝试使用git下载源码编译:

下载源码:

git clone  https://github.com/vanadiumlabs/arbotix_ros.git

然后在/arbotix_ros文件夹下新建/src,将其他文件全部剪切到/src下,接着使用catkin_make编译源码

这个时候提示错误:

ERROR: cannot launch node of type [arbotix_python/arbotix_driver]: arbotix_pythonROS path [0]=/opt/ros/kinetic/share/rosROS path [1]=/home/xcy/catkin_lml/srcROS path [2]=/home/xcy/catkin_syl/srcROS path [3]=/home/xcy/catkin_ws/srcROS path [4]=/opt/ros/kinetic/share原因是没有添加搜索路径;

在.bashrc文件中添加  :source ~/download_code/arbotix_ros/devel/setup.bash

具体的路径需根据自己下载的位置来修改;

然后载编译就成功了


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表