Skip to content

Commit

Permalink
small bug fixex
Browse files Browse the repository at this point in the history
  • Loading branch information
misha7b committed Nov 16, 2024
1 parent c6ad181 commit 429ec17
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/localisation/src/control.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pub mod navigator;
pub mod localizer;
8 changes: 4 additions & 4 deletions lib/localisation/src/control/localizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ use crate::filtering::kalman_filter::KalmanFilter;



pub struct Navigator {
pub struct Localizer {
displacement: f64,
velocity: f64,
acceleration: f64,
kalman_filter: KalmanFilter,
}

impl Navigator {
pub fn new(kalman_filter: KalmanFilter) -> Navigator {
Navigator {
impl Localizer {
pub fn new(kalman_filter: KalmanFilter) -> Localizer {
Localizer {
displacement: 0.0,
velocity: 0.0,
acceleration: 0.0,
Expand Down
1 change: 0 additions & 1 deletion lib/localisation/src/control/navigator.rs

This file was deleted.

0 comments on commit 429ec17

Please sign in to comment.