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,063 times
Last updated: Mar 25 '11
rospy.exceptions.ROSInitException - time is not initialized.
Trouble using Rospy for shadow robot simulation
Question on turtlesim tutorial: Go to Goal
Does rospy have a get_subscribed_topics() function?
process escalates to SIGTERM before running rospy.on_shutdown()
Don't block on rospy.init_node
What is best resource, tutorials to learn ROS using rospy?
get all the active namespaces rospy | roscpp
Clearing PlanningScene at beginning of script (moveit_commander)