ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I'm confused about the different between
rospy.Time(0)
androspy.Time.now()
rospy.Time.now()
just returns the current 'wall clock time'.
rospy.Time(0)
constructs a Time
instance that has special significance in TF contexts: it will cause lookupTransform(..)
and friends to return the latest available data for a specific transform, instead of the data at a specific point in time.
2 | No.2 Revision |
I'm confused about the different between
rospy.Time(0)
androspy.Time.now()
rospy.Time.now()
just returns the current 'wall clock time'.time' (or the simulated clock, depending on if you have a Clock server running).
rospy.Time(0)
constructs a Time
instance that has special significance in TF contexts: it will cause lookupTransform(..)
and friends to return the latest available data for a specific transform, instead of the data at a specific point in time.
3 | No.3 Revision |
I'm confused about the different between
rospy.Time(0)
androspy.Time.now()
rospy.Time.now()
just returns the current 'wall clock time' (or the simulated clock, depending on if whether you have a Clock server running).
rospy.Time(0)
constructs a Time
instance that has special significance in TF contexts: it will cause lookupTransform(..)
and friends to return the latest available data for a specific transform, instead of the data at a specific point in time.