geometry2 icon indicating copy to clipboard operation
geometry2 copied to clipboard

Fix TypeError when using --cache_time argument

Open tik0 opened this issue 2 years ago • 0 comments

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.

tik0 avatar Nov 29 '22 22:11 tik0