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

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.