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

roslib.names does not exist #22

Open
florisvb opened this issue Dec 5, 2014 · 1 comment
Open

roslib.names does not exist #22

florisvb opened this issue Dec 5, 2014 · 1 comment

Comments

@florisvb
Copy link
Contributor

florisvb commented Dec 5, 2014

This might be a issue because I am using ros hydro, changing:

nodename = nodename[1:].split(roslib.names.SEP)[-1]

to:

nodename = nodename[1:].split(rospy.names.SEP)[-1]

Seems to fix the problem.

@slivingston
Copy link

The Hydro API documentation for roslib states "roslib is largely deprecated starting in the ROS Fuerte release", and the documentation for roslib.names states

Warning: do not use this library. It is unstable and most of the routines here have been superceded by other libraries (e.g. genmsg). These routines will likely be deleted in future releases.

Similar warnings appear in other places, and in particular, the ROS Wiki page for roslib recommends using rospy instead.

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