Difference between revisions of "OpenIGTLink/ProtocolV2/Type/SensorData"
From NAMIC Wiki
(→SENSOR) |
|||
Line 9: | Line 9: | ||
{| border="1" cellpadding="5" cellspacing="0" align="center" | {| border="1" cellpadding="5" cellspacing="0" align="center" | ||
|- | |- | ||
− | | align="left style="background:#e0e0e0;" | Data | + | | align="left" style="background:#e0e0e0;" | Data |
− | | align="left style="background:#e0e0e0;" | Type | + | | align="left" style="background:#e0e0e0;" | Type |
− | | align="left style="background:#e0e0e0;" | Description | + | | align="left" style="background:#e0e0e0;" | Description |
|- | |- | ||
| align="left" | NSENSORS | | align="left" | NSENSORS | ||
Line 17: | Line 17: | ||
| align="left" | Number of sensors | | align="left" | Number of sensors | ||
|- | |- | ||
− | | colspan=3 align="left" |FORMAT 0 | + | | colspan=3 align="left" style="background:#e0e0e0;" |FORMAT 0 |
|- | |- | ||
| align="left" | LARRAY 0 | | align="left" | LARRAY 0 | ||
Line 33: | Line 33: | ||
| colspan=3 align="left" style="background:#f0f0f0;"|... | | colspan=3 align="left" style="background:#f0f0f0;"|... | ||
|- | |- | ||
− | | colspan=3 align="left" |FORMAT (NSENSORS-1) | + | | colspan=3 align="left" style="background:#e0e0e0;" |FORMAT (NSENSORS-1) |
|- | |- | ||
| align="left" | LARRAY (NSENSORS-1) | | align="left" | LARRAY (NSENSORS-1) | ||
Line 47: | Line 47: | ||
| align="left" | Dimension (see bellow) | | align="left" | Dimension (see bellow) | ||
|- | |- | ||
− | | colspan=3 align="left" |DATA | + | | colspan=3 align="left" style="background:#e0e0e0;" |DATA |
|- | |- | ||
| align="left" | DATA 0 | | align="left" | DATA 0 | ||
Line 64: | Line 64: | ||
|- | |- | ||
|} | |} | ||
+ | |||
+ | |||
==GET_TDATA== | ==GET_TDATA== |
Revision as of 21:31, 8 November 2010
Home < OpenIGTLink < ProtocolV2 < Type < SensorDataContents
Summary
SDATA is a message type, which is used to transfer sensor reading, 3-axis position, velocity, acceleration, angle, angle velocity and angle acceleration. The message format is intended for manipulator control and various types of sensors.
Message Types
SENSOR
Data | Type | Description |
NSENSORS | UINT16 | Number of sensors |
FORMAT 0 | ||
LARRAY 0 | UINT8 | Length of array (0-255) |
SIPREFIX 0 | INT8 | SI-prefix (-127 - 128) (see bellow) |
DIMENSION 0 | UINT8[6] | Dimension (see bellow) |
... | ||
FORMAT (NSENSORS-1) | ||
LARRAY (NSENSORS-1) | UINT8 | Length of array (0-255) |
SIPREFIX (NSENSORS-1) | INT8 | SI-prefix (-127 - 128) (see bellow) |
DIMENSION (NSENSORS-1) | UINT8[6] | Dimension (see bellow) |
DATA | ||
DATA 0 | float64[LARRAY 0] | value array for sensor 0 |
DATA 1 | float64[LARRAY 1] | value array for sensor 1 |
... | ||
DATA (NSENSORS-1) | float64[LARRAY 1] | value array for sensor (NSENSORS-1) |
GET_TDATA
Data | Type | Description |
STT_SENSOR
N/A
STP_SENSOR
N/A
RTS_SENSOR
N/A
Implementations
The TDATA message type is implemented in the following source code.
Contributors
Junichi Tokuda, Yuichiro Hayashi