pub struct SysStatus {Show 13 fields
pub onboard_control_sensors_present: u32,
pub onboard_control_sensors_enabled: u32,
pub onboard_control_sensors_health: u32,
pub load: u16,
pub voltage_battery: u16,
pub current_battery: i16,
pub drop_rate_comm: u16,
pub errors_comm: u16,
pub errors_count1: u16,
pub errors_count2: u16,
pub errors_count3: u16,
pub errors_count4: u16,
pub battery_remaining: i8,
}Expand description
SYS_STATUS: the vehicle’s onboard sensor health, load, and battery state.
Fields§
§onboard_control_sensors_present: u32§onboard_control_sensors_enabled: u32§onboard_control_sensors_health: u32§load: u16§voltage_battery: u16§current_battery: i16§drop_rate_comm: u16§errors_comm: u16§errors_count1: u16§errors_count2: u16§errors_count3: u16§errors_count4: u16§battery_remaining: i8Implementations§
Trait Implementations§
impl Copy for SysStatus
Source§impl Message for SysStatus
impl Message for SysStatus
Source§const NAME: &'static str = "SYS_STATUS"
const NAME: &'static str = "SYS_STATUS"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 124
const CRC_EXTRA: u8 = 124
The
CRC_EXTRA seed folded into the checksum of a frame carrying this message.Source§const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
The base fields in wire order as
(type, name, array_len), the input from which
CRC_EXTRA is derived and against which it is verified.Source§const DESCRIPTOR: &'static MessageDescriptor<'static>
const DESCRIPTOR: &'static MessageDescriptor<'static>
The message’s shape as data: the runtime counterpart of this type’s fields, for a
caller reading and writing by name rather than through the struct.
impl StructuralPartialEq for SysStatus
Auto Trait Implementations§
impl Freeze for SysStatus
impl RefUnwindSafe for SysStatus
impl Send for SysStatus
impl Sync for SysStatus
impl Unpin for SysStatus
impl UnsafeUnpin for SysStatus
impl UnwindSafe for SysStatus
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