geometry2
geometry2 copied to clipboard
Fix TypeError when using --cache_time argument
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.