pybtls.traffic.vehicle_generator.VehicleGenGrave#

class VehicleGenGrave(traffic_site, truck_track_width=190.0, **kwargs)[source]#

Bases: object

The VehicleGenGrave instance in Python stores the data for creating a CVehicleGenGrave instance in C++.

All heavy vehicles will be generated by sampling from the pre-studied distributions of vehicle properties.

Parameters:
  • traffic_site (Literal['A196','A296','Angers','Auxerre','B224','Samaris-D','Samaris-D1','Samaris-D2','Samaris-D3','Samaris-S','Samaris-S1','Samaris-S2','Samaris-S3']) – Traffic site. These sites are all in Europe.

  • truck_track_width (float optional) – Truck track width. Default is 190.0.

Keyword Arguments:
  • classifier_type (str) – Vehicle classifier type. “axle” or “pattern”. Default is “pattern”.

  • lane_eccentricity_std (float) – Standard deviation of lane eccentricity. Default is 0.0.

Methods

Attributes

tag