[][src]Struct mai400_api::StandardTelemetry

pub struct StandardTelemetry {
    pub tlm_counter: u8,
    pub gps_time: u32,
    pub time_subsec: u8,
    pub cmd_valid_cntr: u16,
    pub cmd_invalid_cntr: u16,
    pub cmd_invalid_chksum_cntr: u16,
    pub last_command: u8,
    pub acs_mode: u8,
    pub css: [u16; 6],
    pub eclipse_flag: u8,
    pub sun_vec_b: [i16; 3],
    pub i_b_field_meas: [i16; 3],
    pub bd: [f32; 3],
    pub rws_speed_cmd: [i16; 3],
    pub rws_speed_tach: [i16; 3],
    pub rwa_torque_cmd: [f32; 3],
    pub gc_rwa_torque_cmd: [i8; 3],
    pub torque_coil_cmd: [f32; 3],
    pub gc_torque_coil_cmd: [i8; 3],
    pub qbo_cmd: [i16; 4],
    pub qbo_hat: [i16; 4],
    pub angle_to_go: f32,
    pub q_error: [i16; 4],
    pub omega_b: [f32; 3],
    pub rotating_variable_a: u32,
    pub rotating_variable_b: u32,
    pub rotating_variable_c: u32,
    pub nb: [i16; 3],
    pub neci: [i16; 3],
}

Standard telemetry packet sent by the MAI-400 every 250ms

Fields

Rotating variable indicator

UTC Time in Seconds

4 Hz Subsecond counter

Valid Command Counter

Invalid Command Counter. Number of commands which did not pass command verification.

Invalid Command CRC Counter. Number of command messages received with invalid checksums

Last valid CCT command received

Commanded ACS Mode

Raw sun sensor outputs

Whether the device is eclipsed or not

Unit Sun Vector in Body Frame

Magnetometer Reading (inc. bias and gain)

Rate of Change of Magnetic field Vector in Body Frame

RWS Commanded Wheel Speed, lsb: 1 RPM

RWS Wheel Speeds, lsb: 1 RPM

Commanded Wheel Torque computed by ADACS (mNm)

RWS Torque Command to wheel

Torque Coil Command computed by ADACS (Am2)

Torque Coil Command (lsb)

Commanded orbit-to-body quaternion

Current Estimated Orbit-to-Body Quaternion

Angle to Go in radians

Error between command and estimate Qbo

Body rate in body frame (rad/sec).

Rotating variable A. Use RotatingTelemetry struct if interaction is needed

Rotating variable B. Use RotatingTelemetry struct if interaction is needed

Rotating variable C. Use RotatingTelemetry struct if interaction is needed

Nadir vectors in Body

Nadir vectors in ECI frame

Methods

impl StandardTelemetry
[src]

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

Trait Implementations

impl Default for StandardTelemetry
[src]

impl PartialEq<StandardTelemetry> for StandardTelemetry
[src]

impl Clone for StandardTelemetry
[src]

Performs copy-assignment from source. Read more

impl Debug for StandardTelemetry
[src]

Auto Trait Implementations

impl Send for StandardTelemetry

impl Sync for StandardTelemetry

Blanket Implementations

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

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

impl<T> From for T
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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