pub struct GPS_STATUS_DATA {
pub satellites_visible: u8,
pub satellite_prn: [u8; 20],
pub satellite_used: [u8; 20],
pub satellite_elevation: [u8; 20],
pub satellite_azimuth: [u8; 20],
pub satellite_snr: [u8; 20],
}
Available on crate feature
ardupilotmega
only.Expand description
id: 25 The positioning status, as reported by GPS. This message is intended to display status information about each satellite visible to the receiver. See message GLOBAL_POSITION_INT for the global position estimate. This message can contain information for up to 20 satellites..
Fields§
§satellites_visible: u8
Number of satellites visible.
satellite_prn: [u8; 20]
Global satellite ID.
satellite_used: [u8; 20]
0: Satellite not used, 1: used for localization.
satellite_elevation: [u8; 20]
Elevation (0: right on top of receiver, 90: on the horizon) of satellite.
satellite_azimuth: [u8; 20]
Direction of satellite, 0: 0 deg, 255: 360 deg..
satellite_snr: [u8; 20]
Signal to noise ratio of satellite.
Implementations§
Source§impl GPS_STATUS_DATA
impl GPS_STATUS_DATA
pub const ENCODED_LEN: usize = 101usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for GPS_STATUS_DATA
impl Clone for GPS_STATUS_DATA
Source§fn clone(&self) -> GPS_STATUS_DATA
fn clone(&self) -> GPS_STATUS_DATA
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GPS_STATUS_DATA
impl Debug for GPS_STATUS_DATA
Source§impl Default for GPS_STATUS_DATA
impl Default for GPS_STATUS_DATA
Source§impl<'de> Deserialize<'de> for GPS_STATUS_DATA
impl<'de> Deserialize<'de> for GPS_STATUS_DATA
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MessageData for GPS_STATUS_DATA
impl MessageData for GPS_STATUS_DATA
const ID: u32 = 25u32
const NAME: &'static str = "GPS_STATUS"
const EXTRA_CRC: u8 = 23u8
const ENCODED_LEN: usize = 101usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
Source§impl PartialEq for GPS_STATUS_DATA
impl PartialEq for GPS_STATUS_DATA
Source§impl Serialize for GPS_STATUS_DATA
impl Serialize for GPS_STATUS_DATA
impl StructuralPartialEq for GPS_STATUS_DATA
Auto Trait Implementations§
impl Freeze for GPS_STATUS_DATA
impl RefUnwindSafe for GPS_STATUS_DATA
impl Send for GPS_STATUS_DATA
impl Sync for GPS_STATUS_DATA
impl Unpin for GPS_STATUS_DATA
impl UnwindSafe for GPS_STATUS_DATA
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more