[][src]Struct mai400_api::std_telem::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 Clone for StandardTelemetry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for StandardTelemetry
[src]

Returns the "default value" for a type. Read more

impl PartialEq<StandardTelemetry> for StandardTelemetry
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for StandardTelemetry
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for StandardTelemetry

impl Sync for StandardTelemetry

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

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

Performs the conversion.

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

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.

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

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

Mutably borrows from an owned value. Read more

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.

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

Performs the conversion.

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

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

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more