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
Best way to get FK for many different joint-states
Reading data from a service via python
Python Import not being recognized
receiving ros::Time::now() from rosbridge
Error when packaging a binary .deb file with bloom: file changed as we read it
Don't block on rospy.init_node