Skip to content

Commit

Permalink
deleted duplicate functions and files, tests passing
Browse files Browse the repository at this point in the history
  • Loading branch information
syedshabbirahmed committed Jun 25, 2024
1 parent 09cde08 commit d201ac8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 198 deletions.
6 changes: 3 additions & 3 deletions examples/ex_gsf_se2.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def gsf_trial(trial_number: int) -> List[nav.GaussianResult]:
[nav.StateWithCovariance(_x, P0) for _x in x], [1/len(x) for _ in x]
)

estimate_list = nav.gsf.run_gsf_filter(
estimate_list = nav.run_gsf_filter(
gsf, x0_check, input_list, meas_list
)

Expand All @@ -89,8 +89,8 @@ def ekf_trial(trial_number: int) -> List[nav.GaussianResult]:
np.random.seed(trial_number)

state_true, input_list, meas_list = dg.generate(x0, 0, t_max, noise=True)
x0_est = SE2State([0, 5, 0], stamp=0.0)
x0_check = x0_est.plus(nav.randvec(P0))
x0_check = SE2State([0, 5, 0], stamp=0.0)
x0_check = x0_check.plus(nav.randvec(P0))
ekf = nav.ExtendedKalmanFilter(BodyFrameVelocity(Q))

estimate_list = nav.run_filter(ekf, x0_check, P0, input_list, meas_list)
Expand Down
1 change: 0 additions & 1 deletion navlie/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
)
from . import batch
from . import lib
from . import gsf
from . import utils
from .batch import BatchEstimator

Expand Down
194 changes: 0 additions & 194 deletions navlie/gsf.py

This file was deleted.

0 comments on commit d201ac8

Please sign in to comment.