[−][src]Struct mai400_api::std_telem::StandardTelemetry
Standard telemetry packet sent by the MAI-400 every 250ms
Fields
tlm_counter: u8
Rotating variable indicator
gps_time: u32
UTC Time in Seconds
time_subsec: u8
4 Hz Subsecond counter
cmd_valid_cntr: u16
Valid Command Counter
cmd_invalid_cntr: u16
Invalid Command Counter. Number of commands which did not pass command verification.
cmd_invalid_chksum_cntr: u16
Invalid Command CRC Counter. Number of command messages received with invalid checksums
last_command: u8
Last valid CCT command received
acs_mode: u8
Commanded ACS Mode
css: [u16; 6]
Raw sun sensor outputs
eclipse_flag: u8
Whether the device is eclipsed or not
sun_vec_b: [i16; 3]
Unit Sun Vector in Body Frame
i_b_field_meas: [i16; 3]
Magnetometer Reading (inc. bias and gain)
bd: [f32; 3]
Rate of Change of Magnetic field Vector in Body Frame
rws_speed_cmd: [i16; 3]
RWS Commanded Wheel Speed, lsb: 1 RPM
rws_speed_tach: [i16; 3]
RWS Wheel Speeds, lsb: 1 RPM
rwa_torque_cmd: [f32; 3]
Commanded Wheel Torque computed by ADACS (mNm)
gc_rwa_torque_cmd: [i8; 3]
RWS Torque Command to wheel
torque_coil_cmd: [f32; 3]
Torque Coil Command computed by ADACS (Am2)
gc_torque_coil_cmd: [i8; 3]
Torque Coil Command (lsb)
qbo_cmd: [i16; 4]
Commanded orbit-to-body quaternion
qbo_hat: [i16; 4]
Current Estimated Orbit-to-Body Quaternion
angle_to_go: f32
Angle to Go in radians
q_error: [i16; 4]
Error between command and estimate Qbo
omega_b: [f32; 3]
Body rate in body frame (rad/sec).
rotating_variable_a: u32
Rotating variable A. Use RotatingTelemetry struct if interaction is needed
rotating_variable_b: u32
Rotating variable B. Use RotatingTelemetry struct if interaction is needed
rotating_variable_c: u32
Rotating variable C. Use RotatingTelemetry struct if interaction is needed
nb: [i16; 3]
Nadir vectors in Body
neci: [i16; 3]
Nadir vectors in ECI frame
Methods
impl StandardTelemetry
[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 StandardTelemetry
[src]
fn default() -> StandardTelemetry
[src]
impl Clone for StandardTelemetry
[src]
fn clone(&self) -> StandardTelemetry
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<StandardTelemetry> for StandardTelemetry
[src]
fn eq(&self, other: &StandardTelemetry) -> bool
[src]
fn ne(&self, other: &StandardTelemetry) -> bool
[src]
impl Debug for StandardTelemetry
[src]
Auto Trait Implementations
impl Send for StandardTelemetry
impl Sync for StandardTelemetry
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,