pub struct ILLUMINATOR_STATUS_DATA {
pub uptime_ms: u32,
pub error_status: IlluminatorErrorFlags,
pub brightness: f32,
pub strobe_period: f32,
pub strobe_duty_cycle: f32,
pub temp_c: f32,
pub min_strobe_period: f32,
pub max_strobe_period: f32,
pub enable: u8,
pub mode_bitmask: IlluminatorMode,
pub mode: IlluminatorMode,
}
Available on crate feature
storm32
only.Expand description
id: 440 Illuminator status.
Fields§
§uptime_ms: u32
Time since the start-up of the illuminator in ms
error_status: IlluminatorErrorFlags
Errors
brightness: f32
Illuminator brightness
strobe_period: f32
Illuminator strobing period in seconds
strobe_duty_cycle: f32
Illuminator strobing duty cycle
temp_c: f32
Temperature in Celsius
min_strobe_period: f32
Minimum strobing period in seconds
max_strobe_period: f32
Maximum strobing period in seconds
enable: u8
0: Illuminators OFF, 1: Illuminators ON
mode_bitmask: IlluminatorMode
Supported illuminator modes
mode: IlluminatorMode
Illuminator mode
Implementations§
Source§impl ILLUMINATOR_STATUS_DATA
impl ILLUMINATOR_STATUS_DATA
pub const ENCODED_LEN: usize = 35usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for ILLUMINATOR_STATUS_DATA
impl Clone for ILLUMINATOR_STATUS_DATA
Source§fn clone(&self) -> ILLUMINATOR_STATUS_DATA
fn clone(&self) -> ILLUMINATOR_STATUS_DATA
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§impl Debug for ILLUMINATOR_STATUS_DATA
impl Debug for ILLUMINATOR_STATUS_DATA
Source§impl Default for ILLUMINATOR_STATUS_DATA
impl Default for ILLUMINATOR_STATUS_DATA
Source§impl<'de> Deserialize<'de> for ILLUMINATOR_STATUS_DATA
impl<'de> Deserialize<'de> for ILLUMINATOR_STATUS_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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MessageData for ILLUMINATOR_STATUS_DATA
impl MessageData for ILLUMINATOR_STATUS_DATA
const ID: u32 = 440u32
const NAME: &'static str = "ILLUMINATOR_STATUS"
const EXTRA_CRC: u8 = 66u8
const ENCODED_LEN: usize = 35usize
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 ILLUMINATOR_STATUS_DATA
impl PartialEq for ILLUMINATOR_STATUS_DATA
Source§impl Serialize for ILLUMINATOR_STATUS_DATA
impl Serialize for ILLUMINATOR_STATUS_DATA
impl StructuralPartialEq for ILLUMINATOR_STATUS_DATA
Auto Trait Implementations§
impl Freeze for ILLUMINATOR_STATUS_DATA
impl RefUnwindSafe for ILLUMINATOR_STATUS_DATA
impl Send for ILLUMINATOR_STATUS_DATA
impl Sync for ILLUMINATOR_STATUS_DATA
impl Unpin for ILLUMINATOR_STATUS_DATA
impl UnwindSafe for ILLUMINATOR_STATUS_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
Mutably borrows from an owned value. Read more