jupedsim.recording
#
Module Contents#
- class RecordingFrame[source]#
A single frame from the simulation.
- agents: list[RecordingAgent][source]#
- class Recording(db_connection_str: str, uri=False)[source]#
- Parameters:
db_connection_str (str) –
- property num_frames: int[source]#
Access the number of frames stored in this recording.
- Returns:
Number of frames in this recording.
- Return type:
- property fps: float[source]#
How many frames are stored per second.
- Returns:
Frames per second of this recording.
- Return type:
- frame(index: int) RecordingFrame [source]#
Access a single frame of the recording.
- Parameters:
index (int) – index of the frame to access.
- Returns:
A single frame.
- Return type:
- geometry() shapely.GeometryCollection [source]#
Access this recordings’ geometry.
- Returns:
walkable area of the simulation that created this recording.
- Return type: