STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_flight_liftoff_mass Namespace Reference

Functions

 _fly (liftoff=None)
 as_configured ()
 test_the_budget_is_rocketpys_own_total (as_configured)
 test_a_weighed_vehicle_lifts_off_at_its_weight_and_flies_lower (as_configured)
 test_a_liftoff_mass_lighter_than_the_motor_is_refused (as_configured)
 _fly_with (liftoff=None, gas=None)
 test_the_drawings_ullage_gas_flies_with_the_vehicle (as_configured)

Variables

float LB = 0.45359237

Detailed Description

The vehicle flies at the liftoff mass it was weighed at.

Judged by RocketPy's own mass bookkeeping (``rocket.total_mass(0)``), not by the arithmetic that
sets the airframe: the airframe is set from the booked motor, propellants and gases, and RocketPy
sums its tanks and gases independently.

Function Documentation

◆ _fly()

test_flight_liftoff_mass._fly ( liftoff = None)
protected

◆ _fly_with()

test_flight_liftoff_mass._fly_with ( liftoff = None,
gas = None )
protected

◆ as_configured()

test_flight_liftoff_mass.as_configured ( )

Definition at line 34 of file test_flight_liftoff_mass.py.

References _fly().

◆ test_a_liftoff_mass_lighter_than_the_motor_is_refused()

test_flight_liftoff_mass.test_a_liftoff_mass_lighter_than_the_motor_is_refused ( as_configured)

Definition at line 57 of file test_flight_liftoff_mass.py.

References _fly().

◆ test_a_weighed_vehicle_lifts_off_at_its_weight_and_flies_lower()

test_flight_liftoff_mass.test_a_weighed_vehicle_lifts_off_at_its_weight_and_flies_lower ( as_configured)

Definition at line 44 of file test_flight_liftoff_mass.py.

References _fly().

◆ test_the_budget_is_rocketpys_own_total()

test_flight_liftoff_mass.test_the_budget_is_rocketpys_own_total ( as_configured)

Definition at line 38 of file test_flight_liftoff_mass.py.

◆ test_the_drawings_ullage_gas_flies_with_the_vehicle()

test_flight_liftoff_mass.test_the_drawings_ullage_gas_flies_with_the_vehicle ( as_configured)

Definition at line 73 of file test_flight_liftoff_mass.py.

References _fly_with().

Variable Documentation

◆ LB

float test_flight_liftoff_mass.LB = 0.45359237

Definition at line 19 of file test_flight_liftoff_mass.py.