Struct mavlink::asluav::AUTOPILOT_VERSION_DATA
source · pub struct AUTOPILOT_VERSION_DATA {
pub capabilities: MavProtocolCapability,
pub uid: u64,
pub flight_sw_version: u32,
pub middleware_sw_version: u32,
pub os_sw_version: u32,
pub board_version: u32,
pub vendor_id: u16,
pub product_id: u16,
pub flight_custom_version: [u8; 8],
pub middleware_custom_version: [u8; 8],
pub os_custom_version: [u8; 8],
pub uid2: [u8; 18],
}
asluav
only.Expand description
id: 148 Version and capability of autopilot software. This should be emitted in response to a request with MAV_CMD_REQUEST_MESSAGE..
Fields§
§capabilities: MavProtocolCapability
Bitmap of capabilities.
uid: u64
UID if provided by hardware (see uid2).
flight_sw_version: u32
Firmware version number.
middleware_sw_version: u32
Middleware version number.
os_sw_version: u32
Operating system version number.
board_version: u32
HW / board version (last 8 bits should be silicon ID, if any). The first 16 bits of this field specify https://github.com/PX4/PX4-Bootloader/blob/master/board_types.txt.
vendor_id: u16
ID of the board vendor.
product_id: u16
ID of the product.
flight_custom_version: [u8; 8]
Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases..
middleware_custom_version: [u8; 8]
Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases..
os_custom_version: [u8; 8]
Custom version field, commonly the first 8 bytes of the git hash. This is not an unique identifier, but should allow to identify the commit using the main version number even for very large code bases..
uid2: [u8; 18]
UID if provided by hardware (supersedes the uid field. If this is non-zero, use this field, otherwise use uid).
Implementations§
source§impl AUTOPILOT_VERSION_DATA
impl AUTOPILOT_VERSION_DATA
pub const ENCODED_LEN: usize = 78usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for AUTOPILOT_VERSION_DATA
impl Clone for AUTOPILOT_VERSION_DATA
source§fn clone(&self) -> AUTOPILOT_VERSION_DATA
fn clone(&self) -> AUTOPILOT_VERSION_DATA
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AUTOPILOT_VERSION_DATA
impl Debug for AUTOPILOT_VERSION_DATA
source§impl Default for AUTOPILOT_VERSION_DATA
impl Default for AUTOPILOT_VERSION_DATA
source§impl<'de> Deserialize<'de> for AUTOPILOT_VERSION_DATA
impl<'de> Deserialize<'de> for AUTOPILOT_VERSION_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>,
source§impl MessageData for AUTOPILOT_VERSION_DATA
impl MessageData for AUTOPILOT_VERSION_DATA
const ID: u32 = 148u32
const NAME: &'static str = "AUTOPILOT_VERSION"
const EXTRA_CRC: u8 = 178u8
const ENCODED_LEN: usize = 78usize
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 AUTOPILOT_VERSION_DATA
impl PartialEq for AUTOPILOT_VERSION_DATA
source§impl Serialize for AUTOPILOT_VERSION_DATA
impl Serialize for AUTOPILOT_VERSION_DATA
impl StructuralPartialEq for AUTOPILOT_VERSION_DATA
Auto Trait Implementations§
impl Freeze for AUTOPILOT_VERSION_DATA
impl RefUnwindSafe for AUTOPILOT_VERSION_DATA
impl Send for AUTOPILOT_VERSION_DATA
impl Sync for AUTOPILOT_VERSION_DATA
impl Unpin for AUTOPILOT_VERSION_DATA
impl UnwindSafe for AUTOPILOT_VERSION_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)