ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Please see:

http://www.ros.org/wiki/rospy/Overview/Time

for an overview of how you access time in rospy. rospy doesn't provide an explicit 'WallTime' because Python comes with the time module; in C++, WallTime is basically a convenience wrapper around various POSIX and Win32 inconsistencies.

If you wish to convert it to a rospy.Time instance you can use:

t = rospy.Time.from_sec(time.time())