strawlab / flydra

live, low-latency markerless multi-camera 3D animal tracking system
Apache License 2.0
58 stars 18 forks source link

roslib.names does not exist #22

Open florisvb opened 9 years ago

florisvb commented 9 years ago

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 commented 9 years ago

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.