ros / geometry2

A set of ROS packages for keeping track of coordinate transforms.
189 stars 275 forks source link

tf2_ros polling interval proportional to timeout #492

Closed tony2guo closed 2 years ago

tony2guo commented 3 years ago

Same issue with #281, #286 only fixed it for c++, this PR fix for python. Since polling does not require precise loop rates, we could use rospy.sleep() instead of Rate.sleep(). This could reduce some load when polling frequently.

The downside is that sometimes we don't want timeout to correlate with polling rate. Maybe adding another parameter for polling rate?

tfoote commented 3 years ago

Thanks for the fixup, retriggering ci

@ros-pull-request-builder retest this please.

MatthijsBurgh commented 2 years ago

@tfoote friendly ping ;)