pub struct ParamSet {
pub param_value: f32,
pub target_system: u8,
pub target_component: u8,
pub param_id: [u8; 16],
pub param_type: u8,
}Expand description
PARAM_SET: sets one onboard parameter on the vehicle.
Fields§
§param_value: f32§target_system: u8§target_component: u8§param_id: [u8; 16]§param_type: u8Implementations§
Trait Implementations§
impl Copy for ParamSet
Source§impl Message for ParamSet
impl Message for ParamSet
Source§const NAME: &'static str = "PARAM_SET"
const NAME: &'static str = "PARAM_SET"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 168
const CRC_EXTRA: u8 = 168
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 ParamSet
Auto Trait Implementations§
impl Freeze for ParamSet
impl RefUnwindSafe for ParamSet
impl Send for ParamSet
impl Sync for ParamSet
impl Unpin for ParamSet
impl UnsafeUnpin for ParamSet
impl UnwindSafe for ParamSet
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