Skip to content

Commit a4fa69c

Browse files
committed
Added default Q and R values in dictionary
1 parent dee7a34 commit a4fa69c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

tests/parsers/test_android.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,13 @@ def test_solve_kaggle_dataset(root_path):
750750
solve_gnss_ekf,
751751
]:
752752
for verbose in [True, False]:
753-
solution = android.solve_kaggle_dataset(folder_path, solver,
753+
if solver == solve_gnss_ekf:
754+
init_dict = {'Q': np.eye(7), 'R': np.eye(1)}
755+
solution = android.solve_kaggle_dataset(folder_path, solver,
756+
verbose, init_dict=init_dict)
757+
758+
else:
759+
solution = android.solve_kaggle_dataset(folder_path, solver,
754760
verbose)
755761

756762
solution.in_rows(["tripId","UnixTimeMillis",

0 commit comments

Comments
 (0)