@@ -109,15 +109,15 @@ def test_get_solution_at_time(flight_calisto):
109109 flight_calisto .get_solution_at_time (flight_calisto .t_final ),
110110 np .array (
111111 [
112- 48.4313533 ,
113- 0.0 ,
114- 985.7665845 ,
115- - 0.00000229951048 ,
116- 0.0 ,
117- 11.2223284 ,
118- - 341.028803 ,
119- 0.999048222 ,
120- - 0.0436193874 ,
112+ 48.43719482805657 ,
113+ - 14.836008075478597 ,
114+ 985.9858934483618 ,
115+ - 3.4415459237894554e-05 ,
116+ 0.0007572309307800201 ,
117+ 11.21695000766671 ,
118+ - 341.1460775169661 ,
119+ 0.9990482215818578 ,
120+ - 0.043619387365336 ,
121121 0.0 ,
122122 0.0 ,
123123 0.0 ,
@@ -212,7 +212,7 @@ def test_export_sensor_data(flight_calisto_with_sensors):
212212 [
213213 ("t_initial" , (0.25886 , - 0.649623 , 0 )),
214214 ("out_of_rail_time" , (0.792028 , - 1.987634 , 0 )),
215- ("apogee_time" , (- 0.522875 , - 0.741825 , 0 )),
215+ ("apogee_time" , (- 0.509420 , - 0.732933 , - 2.089120e-14 )),
216216 ("t_final" , (0 , 0 , 0 )),
217217 ],
218218)
@@ -251,8 +251,8 @@ def test_aerodynamic_moments(flight_calisto_custom_wind, flight_time, expected_v
251251 [
252252 ("t_initial" , (1.654150 , 0.659142 , - 0.067103 )),
253253 ("out_of_rail_time" , (5.052628 , 2.013361 , - 1.75370 )),
254- ("apogee_time" , (2.339424 , - 1.648934 , - 0.938867 )),
255- ("t_final" , (0 , 0 , 159.2210 )),
254+ ("apogee_time" , (2.321838 , - 1.613641 , - 0.962108 )),
255+ ("t_final" , (- 0.025792 , 0.012030 , 159.202481 )),
256256 ],
257257)
258258def test_aerodynamic_forces (flight_calisto_custom_wind , flight_time , expected_values ):
@@ -292,7 +292,7 @@ def test_aerodynamic_forces(flight_calisto_custom_wind, flight_time, expected_va
292292 ("out_of_rail_time" , (0 , 2.248540 , 25.700928 )),
293293 (
294294 "apogee_time" ,
295- (- 14.488364 , 15.638049 , - 0.000191 ),
295+ (- 14.826350 , 15.670022 , - 0.000264 ),
296296 ),
297297 ("t_final" , (5 , 2 , - 5.660155 )),
298298 ],
@@ -540,7 +540,7 @@ def test_lat_lon_conversion_from_origin(mock_show, example_plain_env, calisto_ro
540540 heading = 0 ,
541541 )
542542
543- assert abs (test_flight .longitude (test_flight .t_final ) - 0 ) < 1e-12
543+ assert abs (test_flight .longitude (test_flight .t_final )) < 1e-4
544544 assert test_flight .latitude (test_flight .t_final ) > 0
545545
546546
0 commit comments