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 |
image file (0x93) | string | Returns the path to the image file of the poi | getImageFile |
width (0x4d) | float | Returns the width for the rendered image file | getWidth |
height (0xbc) | float | Returns the height for the rendered image file | getHeight |
angle (0x43) | float | Returns the angle for the rendered image file | getAngle |
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".