Open knorth55 opened 7 months ago
Why not just passing a very big value? And can u actually have a negative ros::Duration?
I would instead reconsider your use case; I'm not at all convince about the need of this change
tf_static_publisher
uses the first timestamp when node starts.
we run robots for weeks, so the duration will be super large.
so i use -1
as tf.lookUTransform
we dont use map and amcl, so we directly connect odom
and map
by tf_static_publisher
.
this PR change to accept
tf_timeout
param-1
to ignoretransformation
timeout check. this is useful when we usetf_static_transformer
for debugging.