OBD:Data types: Difference between revisions
Jump to navigation
Jump to search
m (→Strings) |
m (→Strings) |
||
Line 15: | Line 15: | ||
*[[ONIE]] | *[[ONIE]] | ||
*... | *... | ||
---- | ---- | ||
Revision as of 16:11, 21 March 2007
Strings
16 chars
32 chars
64 chars
132 chars
maybe 128?
- ONIE
- ...
Floats
Float
4-byte IEEE float
Vector
3 floats define a vector in 3D space
Axis-aligned bounding box
2 vectors define a min corner and a max corner
Plane
4 floats define an oriented plane in 3D
Quaternion
4 floats define a quaternion
- (always normalized, i.e., rotation w/o scaling?)
Transformation matrix
12 floats define a 4x4 transformation matrix
- (translation, rotation, scaling, mirroring)
Integers
Mostly non-negative indices, so possibly unsigned.
- One known exception: the quantized Euler angles in TRAM
short
long
flagged long
The lower bits are used for an ID, the high bit is a flag
quantized float
e.g., quantized Euler angles in TRAM_