flydra icon indicating copy to clipboard operation
flydra copied to clipboard

roslib.names does not exist

Open florisvb opened this issue 10 years ago • 1 comments

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.

florisvb avatar Dec 05 '14 19:12 florisvb

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.

slivingston avatar Dec 06 '14 00:12 slivingston