TraCI/POI Value Retrieval
generated on 2017-12-19 09:15:32.128155 from the wiki page for TraCI/POI_Value_Retrieval for SUMO 0.32.0
Command 0xa7: Get PoI Variable
| ubyte | string |
| Variable | PoI ID |
|---|
Asks for the value of a certain variable of the named poi.
The following variable values can be retrieved, the type of the return value is also shown in the table.
| Variable | ValueType | Description | Python Method |
|---|---|---|---|
| id list (0x00) | stringList | Returns a list of ids of all poi (the given poi ID is ignored) | getIDList |
| count (0x01) | int | Returns the number of pois (the given poi ID is ignored) | getIDCount |
| type (0x4f) | string | Returns the (abstract) type of the poi | getType |
| color (0x45) | ubyte,ubyte,ubyte,ubyte | Returns the color of this poi (rgba) | getColor |
| position (0x42) | 2D-position | Returns the position of this poi | getPosition |
Response 0xb7: PoI Variable
| ubyte | string | ubyte | <return_type> |
| Variable | PoI ID | Return type of the variable | <VARIABLE_VALUE> |
|---|
The respond to a "Command Get PoI Variable".
This page was last modified on 17 January 2017, at 23:22.