Running rosrun tf2_tools echo.py --cache_time 1.0 source_frame target_frame causes TypeError: time must have a to_sec method, e.g. rospy.Time or rospy.Duration, because the argument is not properly converted. The fix handles the conversion, if the argument was given.
Running
rosrun tf2_tools echo.py --cache_time 1.0 source_frame target_frame
causesTypeError: time must have a to_sec method, e.g. rospy.Time or rospy.Duration
, because the argument is not properly converted. The fix handles the conversion, if the argument was given.