Skip to content

Commit e2063c5

Browse files
committed
clippy pass
1 parent 9a6b615 commit e2063c5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

core/src/filter.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use crate::earth::METERS_TO_DEGREES;
1818
use crate::linalg::matrix_square_root;
1919
use crate::{IMUData, StrapdownState, wrap_to_2pi, wrap_to_360};
20-
use nalgebra::{DMatrix, DVector, Rotation3, SVector, Vector3};
20+
use nalgebra::{DMatrix, DVector, Rotation3, SVector};
2121
use rand;
2222
use rand_distr::{Distribution, Normal};
2323
use std::fmt::Debug;
@@ -161,7 +161,7 @@ impl SigmaPoint {
161161
// gyro: imu_data.gyro - gyro_biases
162162
// };
163163
// Propagate the strapdown state using the strapdown equations
164-
self.nav_state.forward(&imu_data, dt);
164+
self.nav_state.forward(imu_data, dt);
165165
let noise_vect = match noise {
166166
None => return, // UKF mode, does not use noise in propagation
167167
Some(v) => v, // Particle filter mode, uses noise in propagation

core/src/sim.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ pub fn dead_reckoning(records: &[TestDataRecord]) -> Vec<NavigationResult> {
523523
velocity_north: first_record.speed * first_record.bearing.cos(),
524524
velocity_east: first_record.speed * first_record.bearing.sin(),
525525
velocity_down: 0.0, // initial velocities
526-
attitude: attitude,
526+
attitude,
527527
coordinate_convention: true,
528528
};
529529
// Store the initial state and metadata

0 commit comments

Comments
 (0)