paralleldomain.data_lab.generators.driveway

class DrivewayCreepGenerator(behavior_duration, number_of_vehicles=3, min_driveway_length=6.0, driveway_entry_probability=0.5, vehicles_to_spawn=None, radius=15.0)

Place vehicles that traverse along driveways over the course of the scene

Parameters:
  • behavior_duration (float) – Length of time in seconds the vehicle takes to travel the length of their respective driveway

  • number_of_vehicles (int) – Number of vehicles to place on driveways in the world

  • min_driveway_length (float) – The minimum length of driveway in meters on which to place vehicles

  • driveway_entry_probability (float) – The probability that a placed vehicle will travel inwards on a driveway vs travelling outwards on the driveway

  • vehicles_to_spawn (Optional[List[str]]) – The list of vehicles to spawn in Driveways. Each placed vehicle will be randomly selected from this list. If no value is passed in, vehicles will be randomly selected from entire library of vehicles

  • radius (float) – The radius in meters around the ego vehicle in which driveways are selected for placement of driveway creeping vehicles