[−][src]Struct mavlink::common::GENERATOR_STATUS_DATA
id: 373 Telemetry of power generation system. Alternator or mechanical generator..
Fields
status: MavGeneratorStatusFlag
Status flags..
battery_current: f32
Current into/out of battery. Positive for out. Negative for in. NaN: field not provided..
load_current: f32
Current going to the UAV. If battery current not available this is the DC current from the generator. Positive for out. Negative for in. NaN: field not provided.
power_generated: f32
The power being generated. NaN: field not provided.
bus_voltage: f32
Voltage of the bus seen at the generator, or battery bus if battery bus is controlled by generator and at a different voltage to main bus..
bat_current_setpoint: f32
The target battery current. Positive for out. Negative for in. NaN: field not provided.
generator_speed: u16
Speed of electrical generator or alternator. UINT16_MAX: field not provided..
rectifier_temperature: i16
The temperature of the rectifier or power converter. INT16_MAX: field not provided..
generator_temperature: i16
The temperature of the mechanical motor, fuel cell core or generator. INT16_MAX: field not provided..
Implementations
impl GENERATOR_STATUS_DATA
[src]
pub const ENCODED_LEN: usize
[src]
pub fn deser(
version: MavlinkVersion,
_input: &[u8]
) -> Result<Self, ParserError>
[src]
version: MavlinkVersion,
_input: &[u8]
) -> Result<Self, ParserError>
pub fn ser(&self) -> Vec<u8>
[src]
Trait Implementations
impl Clone for GENERATOR_STATUS_DATA
[src]
fn clone(&self) -> GENERATOR_STATUS_DATA
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GENERATOR_STATUS_DATA
[src]
impl Default for GENERATOR_STATUS_DATA
[src]
fn default() -> GENERATOR_STATUS_DATA
[src]
impl<'de> Deserialize<'de> for GENERATOR_STATUS_DATA
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<GENERATOR_STATUS_DATA> for GENERATOR_STATUS_DATA
[src]
fn eq(&self, other: &GENERATOR_STATUS_DATA) -> bool
[src]
fn ne(&self, other: &GENERATOR_STATUS_DATA) -> bool
[src]
impl Serialize for GENERATOR_STATUS_DATA
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for GENERATOR_STATUS_DATA
[src]
Auto Trait Implementations
impl RefUnwindSafe for GENERATOR_STATUS_DATA
impl Send for GENERATOR_STATUS_DATA
impl Sync for GENERATOR_STATUS_DATA
impl Unpin for GENERATOR_STATUS_DATA
impl UnwindSafe for GENERATOR_STATUS_DATA
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,