pub type VisionSpeedEstimate = VisionSpeedEstimate;Expand description
Originally defined in common::messages::vision_speed_estimate.
Aliased Type§
pub struct VisionSpeedEstimate {
pub usec: u64,
pub x: f32,
pub y: f32,
pub z: f32,
pub covariance: [f32; 9],
pub reset_counter: u8,
}Fields§
§usec: u64MAVLink field usec.
Timestamp (UNIX time or time since system boot)
x: f32MAVLink field x.
Global X speed
y: f32MAVLink field y.
Global Y speed
z: f32MAVLink field z.
Global Z speed
covariance: [f32; 9]MAVLink field covariance.
Row-major representation of 3x3 linear velocity covariance matrix (states: vx, vy, vz; 1st three entries - 1st row, etc.). If unknown, assign NaN value to first element in the array.
reset_counter: u8MAVLink field reset_counter.
Estimate reset counter. This should be incremented when the estimate resets in any of the dimensions (position, velocity, attitude, angular speed). This is designed to be used when e.g an external SLAM system detects a loop-closure and the estimate jumps.