Struct mai400_api::irehs::IREHSTelemetry [−][src]
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]
impl IREHSTelemetry
pub fn new(msg: Vec<u8>) -> Option<Self>
[src]
pub fn new(msg: Vec<u8>) -> Option<Self>
Constructor. Converts a raw data array received from the MAI-400 into a usable structure
Trait Implementations
impl Clone for IREHSTelemetry
[src]
impl Clone for IREHSTelemetry
fn clone(&self) -> IREHSTelemetry
[src]
fn clone(&self) -> IREHSTelemetry
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for IREHSTelemetry
[src]
impl Debug for IREHSTelemetry
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for IREHSTelemetry
[src]
impl Default for IREHSTelemetry
fn default() -> IREHSTelemetry
[src]
fn default() -> IREHSTelemetry
Returns the "default value" for a type. Read more
impl PartialEq for IREHSTelemetry
[src]
impl PartialEq for IREHSTelemetry
fn eq(&self, other: &IREHSTelemetry) -> bool
[src]
fn eq(&self, other: &IREHSTelemetry) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &IREHSTelemetry) -> bool
[src]
fn ne(&self, other: &IREHSTelemetry) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for IREHSTelemetry
impl Send for IREHSTelemetry
impl Sync for IREHSTelemetry
impl Sync for IREHSTelemetry