Struct sbp::messages::solution_meta::MsgSolnMeta[][src]

pub struct MsgSolnMeta {
    pub sender_id: Option<u16>,
    pub tow: u32,
    pub pdop: u16,
    pub hdop: u16,
    pub vdop: u16,
    pub age_corrections: u16,
    pub age_gnss: u32,
    pub sol_in: Vec<SolutionInputType>,
}
Expand description

Solution Sensors Metadata

This message contains all metadata about the sensors received and/or used in computing the sensorfusion solution. It focuses primarily, but not only, on GNSS metadata. Regarding the age of the last received valid GNSS solution, the highest two bits are time status, indicating whether age gnss can or can not be used to retrieve time of measurement (noted TOM, also known as time of validity) If it can, subtract ‘age gnss’ from ‘tow’ in navigation messages to get TOM. Can be used before alignment is complete in the Fusion Engine, when output solution is the last received valid GNSS solution and its tow is not a TOM.

Fields

sender_id: Option<u16>

The message sender_id

tow: u32

GPS time of week rounded to the nearest millisecond

pdop: u16

Position Dilution of Precision as per last available DOPS from PVT engine (0xFFFF indicates invalid)

hdop: u16

Horizontal Dilution of Precision as per last available DOPS from PVT engine (0xFFFF indicates invalid)

vdop: u16

Vertical Dilution of Precision as per last available DOPS from PVT engine (0xFFFF indicates invalid)

age_corrections: u16

Age of corrections as per last available AGE_CORRECTIONS from PVT engine (0xFFFF indicates invalid)

age_gnss: u32

Age and Time Status of the last received valid GNSS solution.

sol_in: Vec<SolutionInputType>

Array of Metadata describing the sensors potentially involved in the solution. Each element in the array represents a single sensor type and consists of flags containing (meta)data pertaining to that specific single sensor. Refer to each (XX)InputType descriptor in the present doc.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

The message type.

The message name.

Formats the value using the given formatter. Read more

Performs the conversion.

Get the message name.

Get the message type.

Get the sender_id if it is set.

Set the sender id.

Number of bytes this message will take on the wire.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.