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,027 times
Last updated: Mar 25 '11
How to set to a ROS system a fixed communication frequency?
receiving ros::Time::now() from rosbridge
How to Install rospy Locally to Create an Amazon AWS Lambda Function?
Error when packaging a binary .deb file with bloom: file changed as we read it
relationship between rospy.init_node and rospy.Publisher?
rospy subscriber - wait for new message on topic
rospy message_converter outputs zero while in the terminal I got different output for the same topic