_VehicleType

Module Contents

Classes

VehicleType

class _VehicleType.VehicleType(typeId: str)

Bases: trasmapy._IdentifiedObject.IdentifiedObject, trasmapy.color._Colorable.Colorable

property length: float

Returns the length of the vehicles of this type (m).

property maxSpeed: float

Returns the maximum speed of the vehicles of this type (m/s).

property maxLateralSpeed: float

Returns the maximum lateral speed of the vehicles of this type (m/s).

property maxAcceleration: float

Returns the maximum acceleration of the vehicles of this type (m/s^2).

property maxDeceleration: float

Returns the maximum deceleration of the vehicles of this type (m/s^2).

property vehicleClass: trasmapy.users.VehicleClass.VehicleClass
property emissionClass: str
property shape: str
property minGap: float

Returns the offset (gap to front vehicle if halting) of vehicles of this type (m).

property minLateralGap: float

Returns the desired lateral gap of vehicles of this type at 50 km/h (m).

property width: float

Returns the width of vehicles of this type (m).

property height: float

Returns the height of vehicles of this type (m).

property personCapacity: float

Returns the total number of people that can ride in a vehicle of this type at the same time.

property scale: float

Returns the traffic scaling factor of vehicles of this type.

property color: trasmapy.color._Colorable.Color
duplicate(cloneId: str)