1
Fork 0

remove constants

This commit is contained in:
Andy Killorin 2025-03-14 20:38:14 -04:00
parent df2ba17dfd
commit 7bf28acf99
Signed by: ank
GPG key ID: 23F9463ECB67FE8C
2 changed files with 0 additions and 15 deletions

View file

@ -2,8 +2,6 @@ use core::ops::AddAssign;
use nalgebra::Vector3;
use crate::DELTA_VELOCITY_PER_LSB;
#[derive(Default)]
pub struct DeltaAngle {
angles: Vector3<i64>,

View file

@ -5,19 +5,6 @@ use embedded_hal_async::spi::{SpiBus, SpiDevice};
use nalgebra::Vector3;
use registers::*;
#[cfg(feature = "ADIS1647x-1")]
const DELTA_ANGLE_RANGE: f32 = 360.;
#[cfg(feature = "ADIS1647x-2")]
const DELTA_ANGLE_RANGE: f32 = 720.;
#[cfg(feature = "ADIS1647x-3")]
const DELTA_ANGLE_RANGE: f32 = 2160.;
const DELTA_ANGLE_PER_LSB: f32 = DELTA_ANGLE_RANGE / 32768.0;
/// m/s
const DELTA_VELOCITY_RANGE: f32 = 100.;
pub(crate) const DELTA_VELOCITY_PER_LSB: f32 = DELTA_VELOCITY_RANGE / 32768.0;
pub mod registers;
pub mod delta;