[−][src]Struct mai400_api::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]
impl StandardTelemetry
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 StandardTelemetry
[src]
impl Clone for StandardTelemetry
fn clone(&self) -> StandardTelemetry
[src]
fn clone(&self) -> StandardTelemetry
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 Default for StandardTelemetry
[src]
impl Default for StandardTelemetry
fn default() -> StandardTelemetry
[src]
fn default() -> StandardTelemetry
Returns the "default value" for a type. Read more
impl PartialEq<StandardTelemetry> for StandardTelemetry
[src]
impl PartialEq<StandardTelemetry> for StandardTelemetry
fn eq(&self, other: &StandardTelemetry) -> bool
[src]
fn eq(&self, other: &StandardTelemetry) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &StandardTelemetry) -> bool
[src]
fn ne(&self, other: &StandardTelemetry) -> bool
This method tests for !=
.
impl Debug for StandardTelemetry
[src]
impl Debug for StandardTelemetry
Auto Trait Implementations
impl Send for StandardTelemetry
impl Send for StandardTelemetry
impl Sync for StandardTelemetry
impl Sync for StandardTelemetry
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
type Owned = T
fn to_owned(&self) -> T
[src]
fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)
[src]
fn clone_into(&self, target: &mut T)
🔬 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]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 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