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 -0500
Seen: 2,024 times
Last updated: Mar 25 '11
Find the closest messages to a PointCloud2 message.
writing a service to publish only once in a latched topic
How to publish sim time at desired frequency
How to translate a pose in rospy?
Is there any point in using image_transport republish instead of using CompressedImage in Python?