Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running python node #10

Closed
FlammableTea opened this issue Jun 10, 2019 · 2 comments
Closed

Error when running python node #10

FlammableTea opened this issue Jun 10, 2019 · 2 comments

Comments

@FlammableTea
Copy link

Package compiled correctly, however when I try to launch the node I get the following error:

Traceback (most recent call last):
File "joy2cmd_vel.py", line 1, in
import roslib; roslib.load_manifest('rosfalcon')
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest
sys.path = _generate_python_path(package_name, _rospack) + sys.path
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/launcher.py", line 93, in _generate_python_path
m = rospack.get_manifest(pkg)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 167, in get_manifest
return self._load_manifest(name)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 211, in _load_manifest
retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name, rospack=self)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 203, in get_path
raise ResourceNotFound(name, ros_paths=self._ros_paths)
rospkg.common.ResourceNotFound: rosfalcon
ROS path [0]=/opt/ros/kinetic/share/ros
ROS path [1]=/home/ubuntu/catkin_ws/src
ROS path [2]=/opt/ros/kinetic/share

I tried updating rospkg, and I'm pretty sure my ROS_PACKAGE_PATH is fine, as it returns /home/ubuntu/catkin_ws/src:/opt/ros/kinetic/share

I don't see any similar issues so I get the feeling that I'm doing something wrong but I'm not sure what it is...

@adnanmunawar
Copy link
Member

adnanmunawar commented Jun 10, 2019

I think the issue stems from the package name 'rosfalcon'. Please check the latest commit to see if it fixes this issue.

@FlammableTea
Copy link
Author

Node launches in the latest commit. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants