MCPcopy Create free account
hub / github.com/Improbable-AI/VisionProTeleop / reset

Method reset

avp_stream/streamer.py:454–460  ·  view source on GitHub ↗

Reset the clock (for reconnection scenarios).

(self)

Source from the content-addressed store, hash-verified

452 self._audio_sample_count = 0
453
454 def reset(self):
455 """Reset the clock (for reconnection scenarios)."""
456 with self._lock:
457 self._epoch = time.perf_counter()
458 self._epoch_ntp = time.time()
459 self._video_frame_count = 0
460 self._audio_sample_count = 0
461
462 @property
463 def is_started(self) -> bool:

Callers 7

reset_phaseFunction · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
run_simulatorFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected