OpticalFlowRad class
Optical flow from an angular rate flow sensor (e.g. PX4FLOW or mouse sensor)
OPTICAL_FLOW_RAD
- Implemented types
Constructors
- OpticalFlowRad({required uint64_t timeUsec, required uint32_t integrationTimeUs, required float integratedX, required float integratedY, required float integratedXgyro, required float integratedYgyro, required float integratedZgyro, required uint32_t timeDeltaDistanceUs, required float distance, required int16_t temperature, required uint8_t sensorId, required uint8_t quality})
- OpticalFlowRad.parse(ByteData data_)
-
factory
Properties
- distance → float
-
Distance to the center of the flow field. Positive value (including zero): distance known. Negative value: Unknown distance.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- integratedX → float
-
Flow around X axis (Sensor RH rotation about the X axis induces a positive flow. Sensor linear motion along the positive Y axis induces a negative flow.)
final
- integratedXgyro → float
-
RH rotation around X axis
final
- integratedY → float
-
Flow around Y axis (Sensor RH rotation about the Y axis induces a positive flow. Sensor linear motion along the positive X axis induces a positive flow.)
final
- integratedYgyro → float
-
RH rotation around Y axis
final
- integratedZgyro → float
-
RH rotation around Z axis
final
- integrationTimeUs → uint32_t
-
Integration time. Divide integrated_x and integrated_y by the integration time to obtain average flow. The integration time also indicates the.
final
- mavlinkCrcExtra → int
-
no setteroverride
- mavlinkMessageId → int
-
no setteroverride
- quality → uint8_t
-
Optical flow quality / confidence. 0: no valid flow, 255: maximum quality
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sensorId → uint8_t
-
Sensor ID
final
- temperature → int16_t
-
Temperature
final
- timeDeltaDistanceUs → uint32_t
-
Time since the distance was sampled.
final
- timeUsec → uint64_t
-
Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → ByteData -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- mavlinkEncodedLength → const int