src/tools/benchmark_tool/benchmark_tool/player/synced_external_player.py
def _sync_topic_callback(self, msg):
            """
            Move forward to the next frame.

            Callback for the synchronization topic.

            @param msg: The message from the synchronization topic
            @type  msg: Depends on the topic's data
            @return: None
            """
            with self.callback_lock:
                self.clear_to_send = True
                if len(self.replay_data) > 0:
                    self.replay_data.pop(0)
                    self._trk_frame_played += 1

            Move forward to the next frame.

            Callback for the synchronization topic.

            @param msg: The message from the synchronization topic
            @type  msg: Depends on the topic's data
            @return: None
            
Move forward to the next frame.
Callback for the synchronization topic.
Move forward to the next frame . Callback for the synchronization topic .
def _sync_topic_callback(self, msg):
            with self.callback_lock:
                self.clear_to_send = True
                if len(self.replay_data) > 0:
                    self.replay_data.pop(0)
                    self._trk_frame_played += 1
def _sync_topic_callback ( self , msg ) : with self . callback_lock : self . clear_to_send = True if len ( self . replay_data ) > 0 : self . replay_data . pop ( 0 ) self . _trk_frame_played += 1
Move forward to the next frame.
Move forward to the next frame .
"""
            Move forward to the next frame.

            Callback for the synchronization topic.

            @param msg: The message from the synchronization topic
            @type  msg: Depends on the topic's data
            @return: None
            """
None
self
msg
The message from the synchronization topic
The message from the synchronization topic