pub struct Rs2MotionDeviceIntrinsics(pub rs2_motion_device_intrinsic);
Expand description
Newtype wrapper for RealSense motion device intrinsics
Tuple Fields§
§0: rs2_motion_device_intrinsic
Implementations§
Source§impl Rs2MotionDeviceIntrinsics
Profile the scale, bias, and variances for a given motion device
impl Rs2MotionDeviceIntrinsics
Profile the scale, bias, and variances for a given motion device
The bias and scale factors are stored as one large matrix; see the documentation on data()
for the correct way to
retrieve these parameters.
Use the function stream_profile.motion_intrinsics()
to retrieve these intrinsics from a certain stream.
Sourcepub fn data(&self) -> [[f32; 4]; 3]
pub fn data(&self) -> [[f32; 4]; 3]
A 3x4 matrix describing the scale and bias intrinsics of the motion device.
This matrix is stored internally like so: [ Scale X | cross axis | cross axis | Bias X ] [ cross axis | Scale Y | cross axis | Bias Y ] [ cross axis | cross axis | Scale Z | Bias Z ]
Sourcepub fn noise_variances(&self) -> [f32; 3]
pub fn noise_variances(&self) -> [f32; 3]
Variance of noise for X, Y, and Z axis.
Sourcepub fn bias_variances(&self) -> [f32; 3]
pub fn bias_variances(&self) -> [f32; 3]
Variance of bias for X, Y, and Z axis.
Trait Implementations§
Source§impl Debug for Rs2MotionDeviceIntrinsics
impl Debug for Rs2MotionDeviceIntrinsics
impl Send for Rs2MotionDeviceIntrinsics
Auto Trait Implementations§
impl Freeze for Rs2MotionDeviceIntrinsics
impl RefUnwindSafe for Rs2MotionDeviceIntrinsics
impl Sync for Rs2MotionDeviceIntrinsics
impl Unpin for Rs2MotionDeviceIntrinsics
impl UnwindSafe for Rs2MotionDeviceIntrinsics
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