Skip to content

DigGenOspreyOtsInclinationDataStrMsg

Dig Gen Osprey Ots Inclination Data Str Msg

Message containing Osprey OTS Inclination Modbus data from a DIG Gen integration.

Top-level portError / portData handles port-level failures. When portError is False,
each sensor always reports roll, pitch, yaw, temperature, voltage and measurementStatus.

Each channel/measurement has a paired boolean error flag (rollError, pitchError, yawError,
temperatureError, voltageError and measurementStatusError).

When the flag is True, the measurement field holds a 3-bit error subcode (MeasurementError).
When the flag is False, the measurement field holds the actual value.

Roll/Pitch/Yaw: 23-bit unsigned, multiplied by 1000000 on wire. Unit: radians.
Temperature: 14-bit two's complement, multiplied by 100 on wire. Unit: degrees Celsius.
Voltage: 12-bit unsigned, multiplied by 100 on wire. Unit: volts.
MeasurementStatus: 8-bit two's complement, raw Osprey measurement status. Range: -127..127.

Integration ID: 6 | Message Version: 0

Source Code


Field Bits Type Unit Condition Mutator Error Description
numSensors 8 UInt Always
portError 1 Bool Always
errorData 3 UInt portError == 1 EntryError(GENERAL_ERROR, 0), EntryError(GENERAL_ERROR, 1), EntryError(HARDWARE_ERROR, 2), EntryError(GENERAL_ERROR, 3), EntryError(GENERAL_ERROR, 4), EntryError(GENERAL_ERROR, 5), EntryError(GENERAL_ERROR, 6), EntryError(GENERAL_ERROR, 7)
Measurement Status [numSensors] — Seq portError == 0
├── rollError 1 Bool —
├── roll 3 UInt rollError == 1 EntryError(GENERAL_ERROR, 0), EntryError(NOT_RESPONDING, 1), EntryError(DATA_OUT_OF_RANGE, 2), EntryError(NOT_VALID, 3), EntryError(PROTOCOL_ERROR, 4), EntryError(GENERAL_ERROR, 5), EntryError(GENERAL_ERROR, 6), EntryError(GENERAL_ERROR, 7)
├── roll 23 UInt rad rollError == 0 ScalingMutator(×1000000)
├── pitchError 1 Bool —
├── pitch 3 UInt pitchError == 1 EntryError(GENERAL_ERROR, 0), EntryError(NOT_RESPONDING, 1), EntryError(DATA_OUT_OF_RANGE, 2), EntryError(NOT_VALID, 3), EntryError(PROTOCOL_ERROR, 4), EntryError(GENERAL_ERROR, 5), EntryError(GENERAL_ERROR, 6), EntryError(GENERAL_ERROR, 7)
├── pitch 23 UInt rad pitchError == 0 ScalingMutator(×1000000)
├── yawError 1 Bool —
├── yaw 3 UInt yawError == 1 EntryError(GENERAL_ERROR, 0), EntryError(NOT_RESPONDING, 1), EntryError(DATA_OUT_OF_RANGE, 2), EntryError(NOT_VALID, 3), EntryError(PROTOCOL_ERROR, 4), EntryError(GENERAL_ERROR, 5), EntryError(GENERAL_ERROR, 6), EntryError(GENERAL_ERROR, 7)
├── yaw 23 UInt rad yawError == 0 ScalingMutator(×1000000)
├── temperatureError 1 Bool —
├── temperature 3 UInt temperatureError == 1 EntryError(GENERAL_ERROR, 0), EntryError(NOT_RESPONDING, 1), EntryError(DATA_OUT_OF_RANGE, 2), EntryError(NOT_VALID, 3), EntryError(PROTOCOL_ERROR, 4), EntryError(GENERAL_ERROR, 5), EntryError(GENERAL_ERROR, 6), EntryError(GENERAL_ERROR, 7)
├── temperature 14 Int Cel temperatureError == 0 ScalingMutator(×100)
├── voltageError 1 Bool —
├── voltage 3 UInt voltageError == 1 EntryError(GENERAL_ERROR, 0), EntryError(NOT_RESPONDING, 1), EntryError(DATA_OUT_OF_RANGE, 2), EntryError(NOT_VALID, 3), EntryError(PROTOCOL_ERROR, 4), EntryError(GENERAL_ERROR, 5), EntryError(GENERAL_ERROR, 6), EntryError(GENERAL_ERROR, 7)
├── voltage 12 UInt V voltageError == 0 ScalingMutator(×100)
├── measurementStatusError 1 Bool —
├── measurementStatus 3 UInt measurementStatusError == 1 EntryError(GENERAL_ERROR, 0), EntryError(NOT_RESPONDING, 1), EntryError(DATA_OUT_OF_RANGE, 2), EntryError(NOT_VALID, 3), EntryError(PROTOCOL_ERROR, 4), EntryError(GENERAL_ERROR, 5), EntryError(GENERAL_ERROR, 6), EntryError(GENERAL_ERROR, 7)
└── measurementStatus 8 Int measurementStatusError == 0 Status reported by the sensor for this measurement.