nanover.trajectory.frame_publisher module
- class nanover.trajectory.frame_publisher.FramePublisher
Bases:
object
- close()
Terminate all frame subscriptions.
- send_clear()
Queue the start of a new sequence of frames that don’t reuse the topology etc of the previous frames.
- subscribe_latest_frames(*, frame_interval=0.03333333333333333, cancellation: CancellationToken)
Yield the most recent frame, if changed, at a regular interval. Terminates when cancellation token is cancelled or this FramePublisher is closed.