Closed erichlf closed 1 year ago
This build errors make no sense to me
E File "/tmp/ws/src/geometry2/tf2_ros_py/tf2_ros/buffer.py", line 98
E post_callback=time_jump_callback
E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='
These failing tests are baffling. This is definitely valid syntax.
@ros-pull-request-builder retest this please
thank you @erichlf , I am looking forward to using this! :raised_hands:
When use_sim_time is set the python tf2 buffer should be cleared. However, this wasn't happening. To handle this a time jump callback was added to clear the buffer when a time jump is detected.