TraCI/Simulation Value Retrieval

Command 0xab: Get Simulation Variable
Asks for the value of a certain simulation variable

The following variable values can be retrieved, the type of the return value is also shown in the table.

Response 0xbb: Simulation Variable
The respond to a "Command Get Simulation Variable".

Extended retrieval messages
Some further messages require additional parameters.

Command 0x82: Position Conversion
The request needs the following parameter:

Use this command to convert between the different position types used by TraCI. The specified Position is converted into the requested format given through PositionId. The result is the closest position that was found to match the given one. The return values consists of the converted value only.

See TraCI/Protocol for available position formats.

Command 0x83: Distance Request
The request needs the following parameter:

where
 * Distance Type==0: air distance
 * Distance Type==1: driving distance

The resulting distance is returned.