Does rospy not have walltime?
I was under the impression that anything in roscpp should also be available in rospy. WallTime is in roscpp but I can't find it in rospy.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I was under the impression that anything in roscpp should also be available in rospy. WallTime is in roscpp but I can't find it in rospy.
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())
Asked: 2011-03-25 08:25:11 -0600
Seen: 2,135 times
Last updated: Mar 25 '11