[][src]Struct mai400_api::irehs::IREHSTelemetry

pub struct IREHSTelemetry {
    pub thermopiles_a: [u16; 4],
    pub thermopiles_b: [u16; 4],
    pub temp_a: [u16; 4],
    pub temp_b: [u16; 4],
    pub dip_angle_a: i32,
    pub dip_angle_b: i32,
    pub solution_degraded: [ThermopileFlags; 8],
}

IR Earth Horizon Sensor telemetry data

Fields

thermopiles_a: [u16; 4]

IREHS A Thermopile Sensors 12-bit ADC (0.8059 mV per lsb) [earth limb, earth reference, space reference, wide FOV]

thermopiles_b: [u16; 4]

IREHS B Thermopile Sensors 12-bit ADC (0.8059 mV per lsb) [earth limb, earth reference, space reference, wide FOV]

temp_a: [u16; 4]

Thermistor Temp 12-bit ADC for A (0.8059 mV per lsb) [earth limb, earth reference, space reference, wide FOV]

temp_b: [u16; 4]

Thermistor Temp 12-bit ADC for B (0.8059 mV per lsb) [earth limb, earth reference, space reference, wide FOV]

dip_angle_a: i32

Calculated dip angle of Earth limb for A in degrees

dip_angle_b: i32

Calculated dip angle of Earth limb for B in degrees

solution_degraded: [ThermopileFlags; 8]

Degradation codes for thermopiles [{A}, {B}]

Methods

impl IREHSTelemetry[src]

pub fn new(msg: Vec<u8>) -> Option<Self>[src]

Constructor. Converts a raw data array received from the MAI-400 into a usable structure

Trait Implementations

impl Default for IREHSTelemetry[src]

impl Clone for IREHSTelemetry[src]

impl PartialEq<IREHSTelemetry> for IREHSTelemetry[src]

impl Debug for IREHSTelemetry[src]

Auto Trait Implementations

impl Send for IREHSTelemetry

impl Unpin for IREHSTelemetry

impl Sync for IREHSTelemetry

impl UnwindSafe for IREHSTelemetry

impl RefUnwindSafe for IREHSTelemetry

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]