pub struct NavSatStatus {
pub status: i8,
pub service: u16,
}Fields§
§status: i8§service: u16Implementations§
pub const STATUS_NO_FIX: i8 = -1i8
pub const STATUS_FIX: i8 = 0i8
pub const STATUS_SBAS_FIX: i8 = 1i8
pub const STATUS_GBAS_FIX: i8 = 2i8
pub const SERVICE_GPS: u16 = 1u16
pub const SERVICE_GLONASS: u16 = 2u16
pub const SERVICE_COMPASS: u16 = 4u16
pub const SERVICE_GALILEO: u16 = 8u16
Trait Implementations§
Source§fn clone(&self) -> NavSatStatus
fn clone(&self) -> NavSatStatus
Returns a duplicate 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§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§const ROS_TYPE_NAME: &'static str = "sensor_msgs/NavSatStatus"
const ROS_TYPE_NAME: &'static str = "sensor_msgs/NavSatStatus"
Expected to be the combination pkg_name/type_name string describing the type to ros
Example: std_msgs/Header
Source§const MD5SUM: &'static str = "331cdbddfa4bc96ffc3b9ad98900a54c"
const MD5SUM: &'static str = "331cdbddfa4bc96ffc3b9ad98900a54c"
The computed md5sum of the message file and its dependencies
This field is optional, and only needed when using ros1 native communication
Source§const DEFINITION: &'static str = "# Navigation Satellite fix status for any Global Navigation Satellite System.\n#\n# Whether to output an augmented fix is determined by both the fix\n# type and the last time differential corrections were received. A\n# fix is valid when status >= STATUS_FIX.\n\nint8 STATUS_NO_FIX = -1 # unable to fix position\nint8 STATUS_FIX = 0 # unaugmented fix\nint8 STATUS_SBAS_FIX = 1 # with satellite-based augmentation\nint8 STATUS_GBAS_FIX = 2 # with ground-based augmentation\n\nint8 status\n\n# Bits defining which Global Navigation Satellite System signals were\n# used by the receiver.\n\nuint16 SERVICE_GPS = 1\nuint16 SERVICE_GLONASS = 2\nuint16 SERVICE_COMPASS = 4 # includes BeiDou.\nuint16 SERVICE_GALILEO = 8\n\nuint16 service"
const DEFINITION: &'static str = "# Navigation Satellite fix status for any Global Navigation Satellite System.\n#\n# Whether to output an augmented fix is determined by both the fix\n# type and the last time differential corrections were received. A\n# fix is valid when status >= STATUS_FIX.\n\nint8 STATUS_NO_FIX = -1 # unable to fix position\nint8 STATUS_FIX = 0 # unaugmented fix\nint8 STATUS_SBAS_FIX = 1 # with satellite-based augmentation\nint8 STATUS_GBAS_FIX = 2 # with ground-based augmentation\n\nint8 status\n\n# Bits defining which Global Navigation Satellite System signals were\n# used by the receiver.\n\nuint16 SERVICE_GPS = 1\nuint16 SERVICE_GLONASS = 2\nuint16 SERVICE_COMPASS = 4 # includes BeiDou.\nuint16 SERVICE_GALILEO = 8\n\nuint16 service"
The definition from the msg, srv, or action file
This field is optional, and only needed when using ros1 native communication
Auto Trait Implementations§
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