paralleldomain.data_lab.generators.vehicle¶
- class VehicleGeneratorParameters(*, proto=None, model=None, position_request=None, vehicle_spawn_data=None)¶
Places a single non-ego vehicle into the world. Requires previous use of
EgoAgentGeneratorParameters
in the scenario.- Parameters:
position_request (
Optional
[PositionRequest
]) –position_request
vehicle_spawn_data (
Optional
[VehicleSpawnData
]) –vehicle_spawn_data
proto (Optional[pd_unified_generator_pb2.VehicleGeneratorParameters]) –
- model¶
Name of the vehicle asset that should be spawned. Must be provided.
- position_request¶
Specifies the location at which the vehicle should be spawned. Must be provided.
- vehicle_spawn_data¶
Parameters that govern the vehicle’s spawn characteristics and movement behavior. If not provided, will use defaults specified in
VehicleSpawnData
.