pub struct FusedState {Show 23 fields
pub fusion_id: String,
pub mode: FusionMode,
pub source_kind: FusionSourceKind,
pub q: [f64; 4],
pub has_position: bool,
pub t: [f64; 3],
pub has_gravity: bool,
pub gravity: [f64; 3],
pub has_lin_accel: bool,
pub lin_accel: [f64; 3],
pub has_gyro_bias: bool,
pub gyro_bias: [f64; 3],
pub has_accel_bias: bool,
pub accel_bias: [f64; 3],
pub has_cov_orient: bool,
pub cov_orient: [f64; 9],
pub has_cov_pos: bool,
pub cov_pos: [f64; 9],
pub stamp: Time,
pub frame_ref: FrameRef,
pub source_id: String,
pub seq: u64,
pub quality: f64,
}Fields§
§fusion_id: String§mode: FusionMode§source_kind: FusionSourceKind§q: [f64; 4]§has_position: bool§t: [f64; 3]§has_gravity: bool§gravity: [f64; 3]§has_lin_accel: bool§lin_accel: [f64; 3]§has_gyro_bias: bool§gyro_bias: [f64; 3]§has_accel_bias: bool§accel_bias: [f64; 3]§has_cov_orient: bool§cov_orient: [f64; 9]§has_cov_pos: bool§cov_pos: [f64; 9]§stamp: Time§frame_ref: FrameRef§source_id: String§seq: u64§quality: f64Implementations§
Source§impl FusedState
impl FusedState
pub fn encode(&self, w: &mut Writer) -> Result<(), WireError>
pub fn decode(r: &mut Reader<'_>) -> Result<Self, WireError>
pub fn key_holder_be(&self) -> Result<Vec<u8>, WireError>
pub fn key_from_holder_be(r: &mut Reader<'_>) -> Result<Self, WireError>
pub fn key_hash(&self) -> Result<[u8; 16], WireError>
Trait Implementations§
Source§impl Clone for FusedState
impl Clone for FusedState
Source§impl Debug for FusedState
impl Debug for FusedState
Source§impl Default for FusedState
impl Default for FusedState
Source§impl PartialEq for FusedState
impl PartialEq for FusedState
impl StructuralPartialEq for FusedState
Auto Trait Implementations§
impl Freeze for FusedState
impl RefUnwindSafe for FusedState
impl Send for FusedState
impl Sync for FusedState
impl Unpin for FusedState
impl UnsafeUnpin for FusedState
impl UnwindSafe for FusedState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more