Skip to content

Commit ea8b1ae

Browse files
TST: add tests for overshootable controllers
1 parent b2a24ee commit ea8b1ae

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tests/fixtures/flight/flight_fixtures.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,22 @@ def flight_calisto_air_brakes(calisto_air_brakes_clamp_on, example_plain_env):
245245
)
246246

247247

248+
@pytest.fixture
249+
def flight_calisto_air_brakes_time_overshoot(
250+
calisto_air_brakes_clamp_on, example_plain_env
251+
):
252+
"""Same as flight_calisto_air_brakes but with time_overshoot=True."""
253+
return Flight(
254+
rocket=calisto_air_brakes_clamp_on,
255+
environment=example_plain_env,
256+
rail_length=5.2,
257+
inclination=85,
258+
heading=0,
259+
time_overshoot=True,
260+
terminate_on_apogee=True,
261+
)
262+
263+
248264
@pytest.fixture
249265
def flight_calisto_with_sensors(calisto_with_sensors, example_plain_env):
250266
"""A rocketpy.Flight object of the Calisto rocket. This uses the calisto

0 commit comments

Comments
 (0)