The RDI ADCP protocol is a proprietary ASCII text format used for interfacing with RDI ADCP equipment.
Data:
-
Pitch, roll, heading
Format:
$PRDID,sddd.dd, sddd.dd, ddd.dd<CR><LF>
|
FIELD N. |
FIELD |
DESCRIPTION |
UNIT |
TYPE |
NOTE |
|---|---|---|---|---|---|
|
0 |
$PRDID |
identifier |
- |
String |
Telegram identifier. |
|
1 |
sddd.dd |
pitch angle |
[deg] |
DBL |
s: sign indicator (positive (+) for bow up, negative (-) for bow down). ddd.dd: ‘ddd’ is the integer part of the pitch represented by three positive digits in range [-90,90],'.' is decimal separator and 'dd' is the fractional part of the pitch represented by two positive digits in range [0,99]. Note that ddd.dd is a decimal number with leading zeroes where appropriate. |
|
2 |
sddd.dd |
roll angle |
[deg] |
DBL |
s: sign indicator (positive (+) for bow up, negative (-) for bow down). ddd.dd: ‘ddd’ is the integer part of the roll represented by three positive digits in range [-179,179],'.' is decimal separator and 'dd' is the fractional part of the roll represented by two positive digits in range [0,99]. Note that ddd.dd is a decimal number with leading zeroes where appropriate. |
|
3 |
ddd.dd |
heading angle |
[deg] |
DBL |
Heading increase in clockwise direction. ddd.dd: ‘ddd’ is the integer part of the heading represented by three positive digits in range [000,359],'.' is decimal separator and 'dd' is the fractional part of the heading represented by two positive digits in range [0,99]. Note that ddd.dd is a decimal number with leading zeroes where appropriate. |
Example:
RDI ADCP frame with raw example data is listed below.
$PRDID,-000.19,+000.04,158.32<CR><LF>
|
Field 0 |
Field 1 |
Field 2 |
Field 3 |
|---|---|---|---|
|
$PRDID |
-000.19 |
+000.04 |
158.32 |
Decoded values:
-
Pitch
-
Raw value: -000.19, decoded pItch angle: -0.19 degrees
-
-
Roll
-
Raw value: +000.04, decoded roll angle: 0.04 degrees
-
-
Heading
-
Raw value: 158.32, decoded heading angle: 158.32 degrees
-
Note
The reference frame for data (e.g., roll) is configurable in the RDI ADCP protocol. Also, the data's location (e.g., MRU or MP1) is configurable.