Skip to main content

VisionSpeedEstimate

Type Alias VisionSpeedEstimate 

Source
pub type VisionSpeedEstimate = VisionSpeedEstimate;
Expand description

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: u64

MAVLink field usec.

Timestamp (UNIX time or time since system boot)

§x: f32

MAVLink field x.

Global X speed

§y: f32

MAVLink field y.

Global Y speed

§z: f32

MAVLink 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: u8

MAVLink 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.