@@ -36,7 +36,7 @@ def gnss_init_params():
3636 'sigma_0' : 5 * np .eye (state_dim ),
3737 'Q' : Q ,
3838 'R' : R ,
39- 'use_tx_time ' : True }
39+ 'sv_rx_time ' : True }
4040 return init_dict
4141
4242
@@ -221,7 +221,7 @@ def fixture_android_init_dict():
221221 init_dict = {}
222222 init_dict ['Q' ] = np .eye (7 )
223223 init_dict ['R' ] = np .eye (1 )
224- init_dict ['use_tx_time ' ] = False
224+ init_dict ['sv_rx_time ' ] = False
225225 return init_dict
226226
227227def test_solve_gnss_ekf (derived , noise_tx_init_dict ):
@@ -326,19 +326,19 @@ def test_solve_gnss_ekf_initializations(derived_2022):
326326 reset_init_dict = {}
327327 reset_init_dict ['Q' ] = np .eye (7 )
328328 reset_init_dict ['R' ] = np .eye (1 )
329- reset_init_dict ['use_tx_time ' ] = True
329+ reset_init_dict ['sv_rx_time ' ] = True
330330 _ = solve_gnss_ekf (derived_2022 , reset_init_dict )
331331 # GNSS EKF solution when initial positions are given
332332 derived_2022 .remove (rows = ['b_rx_m' ], inplace = True )
333333 reset_init_dict = {}
334334 reset_init_dict ['Q' ] = np .eye (7 )
335335 reset_init_dict ['R' ] = np .eye (1 )
336- reset_init_dict ['use_tx_time ' ] = True
336+ reset_init_dict ['sv_rx_time ' ] = True
337337 _ = solve_gnss_ekf (derived_2022 , reset_init_dict )
338338 # GNSS EKF solution when no initial states are given
339339 derived_no_rx_rows = derived_2022 .remove (rows = ['x_rx_m' , 'y_rx_m' , 'z_rx_m' ])
340340 reset_init_dict = {}
341341 reset_init_dict ['Q' ] = np .eye (7 )
342342 reset_init_dict ['R' ] = np .eye (1 )
343- reset_init_dict ['use_tx_time ' ] = True
343+ reset_init_dict ['sv_rx_time ' ] = True
344344 _ = solve_gnss_ekf (derived_no_rx_rows , reset_init_dict )
0 commit comments