Value Types

NONE
// No content -> has not been initialized yet
 
CONST_VAR_STRING
int16_t valueLength
charArray value
 
VAR_STRING
int16_t valueLength
charArray value

 

LIST
int16_ listLength
For each item:
uint8_t valueType
DataValueType
end
 
POSE
float X
float Y
float Z
float Rx
float Ry
float Rz
 
BOOL
bool value
 
NUM
float value
 
INT
int32_t value
 
FLOAT
float value
 
MATRIX
int16_t nRows
int16_t nColumns
For each value in each row:
uint8_t valueType
DataValueType
end

 

Data sizes  

int16_t

2 bytes
int32_t

4 bytes

float 4 bytes
double 8 bytes
bool 1 byte
uint8_t 1 byte

 

Up to software 3.2
NONE = 0
STRING = 3
LIST = 4
POSE = 9
BOOL = 11
NUM = 12
INT = 13

FLOAT = 14

 

From software 3.3/5.0

NONE = 0

CONST_STRING = 3
VAR_STRING = 4
LIST = 5
POSE = 10
BOOL = 12
NUM = 13
INT = 14

FLOAT = 15

 

Starting with software 5.9

NONE = 0

CONST_STRING = 3
VAR_STRING = 4
POSE = 12
BOOL = 13
NUM = 14
INT = 15

FLOAT = 16

LIST = 17
MATRIX = 18