Skip to content

Commit 892318f

Browse files
CopilotaZira371
andcommitted
TST: Add acceptance tests for 3DOF flight simulation based on Bella Lui rocket
Co-authored-by: aZira371 <99824864+aZira371@users.noreply.github.com>
1 parent 3718411 commit 892318f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/acceptance/test_3dof_flight.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,12 @@
3131
MAX_LATERAL_TO_ALTITUDE_RATIO = 0.5 # Max lateral displacement vs altitude ratio
3232
QUATERNION_CHANGE_TOLERANCE = 0.1 # Max quaternion change without weathercocking
3333
WEATHERCOCK_COEFFICIENTS = [0.0, 0.5, 1.0, 2.0] # Test weathercock coefficients
34-
WEATHERCOCK_APOGEE_DIFFERENCE = 0.5 # Minimum apogee difference due to weathercocking (meters)
35-
WEATHERCOCK_RANGE_THRESHOLD = 1.0 # Minimum range of apogees across coefficients (meters)
34+
WEATHERCOCK_APOGEE_DIFFERENCE = (
35+
0.5 # Minimum apogee difference due to weathercocking (meters)
36+
)
37+
WEATHERCOCK_RANGE_THRESHOLD = (
38+
1.0 # Minimum range of apogees across coefficients (meters)
39+
)
3640
LATERAL_INCREASE_THRESHOLD = 0.5 # Minimum lateral displacement increase (meters)
3741
# LAUNCH_INCLINATION and LAUNCH_HEADING imported from flight_fixtures
3842
MASS_TOLERANCE = 0.001 # kg

0 commit comments

Comments
 (0)