in polymetis/python/scripts/viz.py [0:0]
def update(self):
if self.stream_live_data:
for robot_state in self.stream:
if self.step % self.downsampling_ratio == 0:
self.state_queue.put((self.step, robot_state))
self.step += 1