torchdrivesim.behavior.replay¶
Classes¶
Base class for non-playable character controllers. It leaves the state unchanged on each step. |
Functions¶
|
Module Contents¶
- torchdrivesim.behavior.replay.interaction_replay(location, dataset_path, initial_frame=1, segment_length=40, recording=0)[source]¶
- class torchdrivesim.behavior.replay.ReplayController(npc_size, npc_states, npc_present_masks: torch.Tensor | None = None, time: int = 0, npc_types: torch.Tensor | None = None, agent_type_names: List[str] | None = None, spawn_controller: torchdrivesim.simulator.SpawnController | None = None)[source]¶
Bases:
torchdrivesim.simulator.NPCControllerBase class for non-playable character controllers. It leaves the state unchanged on each step.
- advance_npcs(simulator: torchdrivesim.simulator.Simulator) None[source]¶