diff --git a/tf2_ros_py/tf2_ros/buffer.py b/tf2_ros_py/tf2_ros/buffer.py index f40463fcd..8fe69ca41 100644 --- a/tf2_ros_py/tf2_ros/buffer.py +++ b/tf2_ros_py/tf2_ros/buffer.py @@ -104,7 +104,7 @@ def __get_frames( ) -> FrameGraphSrvResponse: return FrameGraph.Response(frame_yaml=self.all_frames_as_yaml()) - def time_jump_callback(time_jump: TimeJump): + def time_jump_callback(self, time_jump: TimeJump): rclpy.logging.get_logger("tf2_buffer").warning("Detected jump back in time. Clearing tf buffer.") self.clear()