paralleldomain.data_lab.generators.static_agent¶
- class StaticAgentGeneratorParameters(*, proto=None, position_request=None, model=None, agent_spawn_data=None)¶
Generator to place a static agent in the world. Requires previous use of
EgoAgentGeneratorParameters
in the scenario.- Parameters:
position_request (
Optional
[PositionRequest
]) –position_request
agent_spawn_data (
Optional
[AgentSpawnData
]) –agent_spawn_data
proto (Optional[pd_unified_generator_pb2.StaticAgentGeneratorParameters]) –
- position_request¶
Specifies the location around which traffic should be spawned.
- model¶
The asset name of the static agent which should be spawned. Must be provided.
- agent_spawn_data¶
Specifies spawn data which applies to the agents spawned by this generator. If not provided, will default to default values in
AgentSpawnData
.