narupa.trajectory.frame_server module

class narupa.trajectory.frame_server.FrameServer(*, address: Optional[str] = None, port: Optional[int] = None)

Bases: narupa.core.narupa_server.NarupaServer

close()

Stops the server.

Inheritors of this class should override this method with routines to stop services that are running.

frame_count

Counts how many times send_frame has been called on this publisher.

send_frame(frame_index: int, frame_data: narupa.trajectory.frame_data.FrameData)
setup_services()

Sets up the services, including the CommandService.