nanover.websocket.record module
- nanover.websocket.record.message_events_from_websocket(websocket: Connection)
Iterate the stream of incoming messages of a websocket connection and yield generic MessageEvents for use with the recording functions.
- nanover.websocket.record.record_from_runner(runner: OmniRunner, out_path)
Connect to the given runner and record trajectory frames and state updates to a file
- Parameters:
runner – OmniRunner instance to connect to
out_path – File to write recording to
- nanover.websocket.record.record_from_server(address, out_path)
Connect to the given address and record trajectory frames and state updates to a file
- Parameters:
address – Address (protocol://host:port) of server to connect to
out_path – File to write recording to