File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121from tests .fixtures .flight .flight_fixtures import LAUNCH_HEADING , LAUNCH_INCLINATION
2222
2323# Test tolerance constants
24- MIN_APOGEE_ALTITUDE = 500 # meters
25- MAX_APOGEE_ALTITUDE = 3000 # meters
26- MIN_APOGEE_TIME = 5 # seconds
27- MAX_APOGEE_TIME = 60 # seconds
28- MIN_VELOCITY = 50 # m/s
29- MAX_VELOCITY = 400 # m/s
24+ # Based on Bella Lui rocket performance (~459m apogee, K828FJ motor)
25+ # Apogee range allows for variation in atmospheric conditions and drag models
26+ MIN_APOGEE_ALTITUDE = 300 # meters - lower bound for point mass approximation
27+ MAX_APOGEE_ALTITUDE = 600 # meters - upper bound considering Bella Lui achieves ~459m
28+ MIN_APOGEE_TIME = 5 # seconds - minimum time to apogee
29+ MAX_APOGEE_TIME = 30 # seconds - maximum time to apogee for this class of rocket
30+ MIN_VELOCITY = 30 # m/s - minimum peak velocity
31+ MAX_VELOCITY = 150 # m/s - maximum peak velocity (Bella Lui is subsonic)
3032APOGEE_SPEED_RATIO = 0.3 # Max ratio of apogee speed to max speed
3133MAX_LATERAL_TO_ALTITUDE_RATIO = 0.5 # Max lateral displacement vs altitude ratio
3234QUATERNION_CHANGE_TOLERANCE = 0.1 # Max quaternion change without weathercocking
You can’t perform that action at this time.
0 commit comments