0

我下载了一个存储库 [ https://github.com/simon0793/pr2_simu ... ] 当我运行 python 代码时,我正在使用 catkin_workplace

python simulation_one_motion_queue.py

每次出现错误时 tfx not found as;

raise ResourceNotFound(name, ros_paths=self._ros_paths)
rospkg.common.ResourceNotFound: tfx
ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/home/mudasser/p/src
ROS path [2]=/opt/ros/indigo/share
ROS path [3]=/opt/ros/indigo/stacks
4

1 回答 1

0

这意味着tfx没有找到该包。确保它在您的 ROS_PACKAGE_PATH 上。您可以通过运行尝试是否已将其添加到路径中

$ roscd tfx

这应该带你到包目录。否则,您必须自己搜索并包含它。(最坏的情况是 tfx 包没有安装,那么你必须先安装它)。

于 2016-07-20T12:11:05.793 回答