paralleldomain.data_lab.generators.pedestrian¶
- class PedestrianGeneratorParameters(*, proto=None, position_request=None, ped_spawn_data=None)¶
Generator to place a single pedestrian in the scenario. Requires previous use of
EgoAgentGeneratorParameters
in the scenario.- Parameters:
position_request (
Optional
[PositionRequest
]) –position_request
ped_spawn_data (
Optional
[PedestrianSpawnData
]) –ped_spawn_data
proto (Optional[pd_unified_generator_pb2.PedestrianGeneratorParameters]) –
- position_request¶
Specifies the location around which traffic should be spawned. Works with all PositionRequest types except
PathTimeRelativePositionRequest
.
- ped_spawn_data¶
Specifies parameters that control pedestrian spawning and movement behavior. If not provided, will use defaults specified in
PedestrianSpawnData
.