ROS错误 rospkg.common.ResourceNotFound: kdl

在学习ROS_BY_EXAMPLE时 第七章

7.6.2 Timed Out-and-Back in the ArbotiX Simulator
If the simulator is not already running, start it with the command:
$ roslaunch rbx1_bringup fake_turtlebot.launch

(If desired, replace the fake_turtlebot.launch file with the one for Pi Robot or
your own robot. It won't make a difference to the results.)

If RViz is not already running, fire it up now:
$ rosrun rviz rviz -d `rospack find rbx1_nav`/sim.rviz

Finally, run the timed_out_and_back.py node:
$ rosrun rbx1_nav timed_out_and_back.py

运行完最后一条指令时出现以下错误

raise ResourceNotFound(name, ros_paths=self._ros_paths)
rospkg.common.ResourceNotFound: kdl

最终找到原因

需要安装 orocos_kinematics_dynamics

安装成之后如果还不行

需要编辑rbx1_nav 包里的manifest.xml

更改为

<package>
  <description brief="rbx1_nav">

    ROS by Example Vol 1 Navigation Package

  </description>
  <author>Patrick Goebel</author>
  <license>BSD</license>
  <review status="unreviewed" notes=""/>
  <url>http://ros.org/wiki/rbx1_nav</url>
  <depend package="roscpp"/>
  <depend package="rospy"/>
  <depend package="geometry_msgs"/>
  <depend package="nav_msgs"/>
  <depend package="move_base_msgs"/>
  <depend package="visualization_msgs"/>
  <depend package="tf"/>
  <depend package="actionlib"/>
  <depend package="orocos_kdl"/>
  <depend package="dynamic_reconfigure"/>

</package>


这个问题是由于版本不同造成的 我使用的ros版本为indigo 下载的orocos_kinematics_dynamics也为  而学习的是第一版的ROS BY EXAMPLE 的GROOVY的代码





  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值