TraCI/VehicleType Value Retrieval
generated on 2015-09-02 00:02:08.042700 from the wiki page for TraCI/VehicleType_Value_Retrieval for SUMO 0.24.0
Command 0xa5: Get Vehicle Type Variable
| ubyte | string |
| Variable | Vehicle Type ID |
|---|
Asks for the value of a certain variable of the named vehicle type.
The following variable values can be retrieved, the type of the return value is also shown in the table.
| Variable | ValueType | Description |
|---|---|---|
| id list (0x00) | stringList | Returns a list of ids of currently loaded vehicle types (the given vehicle type ID is ignored) |
| count (0x01) | int | Returns the number of currently loaded vehicle types (the given vehicle type ID is ignored) |
| length (0x44) | double | Returns the length of the vehicles of this type [m] |
| vmax (0x41) | double | Returns the maximum speed of vehicles of this type [m/s] |
| accel (0x46) | double | Returns the maximum acceleration possibility of vehicles of this type [m/s^2] |
| decel (0x47) | double | Returns the maximum deceleration possibility of vehicles of this type [m/s^2] |
| tau (0x48) | double | Returns the driver's reaction time for vehicles of this type [s] |
| sigma(0x5d) | double | Returns the driver's imperfection (dawdling) [0,1] |
| speedFactor(0x5e) | double | Returns the road speed multiplier for drivers of this type [double] |
| speedDev(0x5f) | double | Returns the deviation of speedFactor for drivers of this type [double] |
| vclass (0x49) | string | Returns the class of vehicles of this type |
| emission_class (0x4a) | string | Returns the emission class of vehicles of this type |
| shape (0x4b) | string | Returns the shape of vehicles of this type |
| minGap (0x4c) | double | Returns the offset (gap to front vehicle if halting) of vehicles of this type [m] |
| gui width (0x4d) | double | Returns the width of vehicles of this type [m] |
| color (0x45) | byte,byte,byte,byte | Returns the color of this type |
Response 0xb5: Vehicle Type Variable
| ubyte | string | ubyte | <return_type> |
| Variable | Vehicle Type ID | Return type of the variable | <VARIABLE_VALUE> |
|---|
The respond to a "Command Get Vehicle Type Variable".
This page was last modified on 25 November 2013, at 09:55.