Difference between revisions of "OpenIGTLink/ProtocolV2/Type/Position"
From NAMIC Wiki
(Created page with ' << Version 2 Draft Page =Summary= The POSITION data type is used to transfer position and orientation information. The data are a co…') |
m (→Message Types) |
||
Line 13: | Line 13: | ||
| align="left style="background:#e0e0e0;" | Description | | align="left style="background:#e0e0e0;" | Description | ||
|- | |- | ||
− | | align="left" | | + | | align="left" | X |
− | | align="left" | | + | | align="left" | 32-bit float |
− | | align="left" | | + | | align="left" | X position |
|- | |- | ||
− | | align="left" | | + | | align="left" | Y |
− | | align="left" | | + | | align="left" | 32-bit float |
− | | align="left" | | + | | align="left" | Y position |
|- | |- | ||
− | | align="left" | | + | | align="left" | Z |
− | | align="left" | | + | | align="left" | 32-bit float |
− | | align="left" | | + | | align="left" | Z position |
+ | |- | ||
+ | | align="left" | OX | ||
+ | | align="left" | 32-bit float | ||
+ | | align="left" | X element in quaternion | ||
+ | |- | ||
+ | | align="left" | OY | ||
+ | | align="left" | 32-bit float | ||
+ | | align="left" | Y element in quaternion | ||
+ | |- | ||
+ | | align="left" | OZ | ||
+ | | align="left" | 32-bit float | ||
+ | | align="left" | Z element in quaternion | ||
+ | |- | ||
+ | | align="left" | W | ||
+ | | align="left" | 32-bit float | ||
+ | | align="left" | W element in quaternion | ||
|- | |- | ||
|} | |} |
Revision as of 03:34, 30 June 2010
Home < OpenIGTLink < ProtocolV2 < Type < PositionSummary
The POSITION data type is used to transfer position and orientation information. The data are a combination of 3-dimensional vector for the position and quaternion for the orientation. Although equivalent position and orientation can be described with the TRANSFORM data type, the POSITION data type has the advantage of smaller data size (19%). It is therefore more suitable for pushing high frame-rate data from tracking devices.
Message Types
POSITION
Data | Type | Description |
X | 32-bit float | X position |
Y | 32-bit float | Y position |
Z | 32-bit float | Z position |
OX | 32-bit float | X element in quaternion |
OY | 32-bit float | Y element in quaternion |
OZ | 32-bit float | Z element in quaternion |
W | 32-bit float | W element in quaternion |
GET_POSITION
Data | Type | Description |
V1 | unsigned short | Value 1 |
V2 | 8bit unsigned int | Value 2 |
... | ... | ... |
STT_POSITION
Data | Type | Description |
V1 | unsigned short | Value 1 |
V2 | 8bit unsigned int | Value 2 |
... | ... | ... |
STP_POSITION
Data | Type | Description |
V1 | unsigned short | Value 1 |
V2 | 8bit unsigned int | Value 2 |
... | ... | ... |