Struct mavlink::ardupilotmega::UAVCAN_NODE_INFO_DATA
source · pub struct UAVCAN_NODE_INFO_DATA {
pub time_usec: u64,
pub uptime_sec: u32,
pub sw_vcs_commit: u32,
pub name: [u8; 80],
pub hw_version_major: u8,
pub hw_version_minor: u8,
pub hw_unique_id: [u8; 16],
pub sw_version_major: u8,
pub sw_version_minor: u8,
}
ardupilotmega
only.Expand description
id: 311 General information describing a particular UAVCAN node. Please refer to the definition of the UAVCAN service “uavcan.protocol.GetNodeInfo” for the background information. This message should be emitted by the system whenever a new node appears online, or an existing node reboots. Additionally, it can be emitted upon request from the other end of the MAVLink channel (see MAV_CMD_UAVCAN_GET_NODE_INFO). It is also not prohibited to emit this message unconditionally at a low frequency. The UAVCAN specification is available at http://uavcan.org..
Fields§
§time_usec: u64
Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number..
uptime_sec: u32
Time since the start-up of the node..
sw_vcs_commit: u32
Version control system (VCS) revision identifier (e.g. git short commit hash). 0 if unknown..
name: [u8; 80]
Node name string. For example, “sapog.px4.io”..
hw_version_major: u8
Hardware major version number..
hw_version_minor: u8
Hardware minor version number..
hw_unique_id: [u8; 16]
Hardware unique 128-bit ID..
sw_version_major: u8
Software major version number..
sw_version_minor: u8
Software minor version number..
Implementations§
source§impl UAVCAN_NODE_INFO_DATA
impl UAVCAN_NODE_INFO_DATA
pub const ENCODED_LEN: usize = 116usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for UAVCAN_NODE_INFO_DATA
impl Clone for UAVCAN_NODE_INFO_DATA
source§fn clone(&self) -> UAVCAN_NODE_INFO_DATA
fn clone(&self) -> UAVCAN_NODE_INFO_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 UAVCAN_NODE_INFO_DATA
impl Debug for UAVCAN_NODE_INFO_DATA
source§impl Default for UAVCAN_NODE_INFO_DATA
impl Default for UAVCAN_NODE_INFO_DATA
source§impl<'de> Deserialize<'de> for UAVCAN_NODE_INFO_DATA
impl<'de> Deserialize<'de> for UAVCAN_NODE_INFO_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 UAVCAN_NODE_INFO_DATA
impl MessageData for UAVCAN_NODE_INFO_DATA
const ID: u32 = 311u32
const NAME: &'static str = "UAVCAN_NODE_INFO"
const EXTRA_CRC: u8 = 95u8
const ENCODED_LEN: usize = 116usize
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 UAVCAN_NODE_INFO_DATA
impl PartialEq for UAVCAN_NODE_INFO_DATA
source§impl Serialize for UAVCAN_NODE_INFO_DATA
impl Serialize for UAVCAN_NODE_INFO_DATA
impl StructuralPartialEq for UAVCAN_NODE_INFO_DATA
Auto Trait Implementations§
impl Freeze for UAVCAN_NODE_INFO_DATA
impl RefUnwindSafe for UAVCAN_NODE_INFO_DATA
impl Send for UAVCAN_NODE_INFO_DATA
impl Sync for UAVCAN_NODE_INFO_DATA
impl Unpin for UAVCAN_NODE_INFO_DATA
impl UnwindSafe for UAVCAN_NODE_INFO_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
)