Skip to content

Commit

Permalink
Small driver changes
Browse files Browse the repository at this point in the history
  • Loading branch information
luca7084 committed Aug 28, 2023
1 parent 640be4a commit 59de058
Show file tree
Hide file tree
Showing 6 changed files with 173 additions and 124 deletions.
5 changes: 2 additions & 3 deletions rocket_twin/drivers/mission.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@ def __init__(
# Init and stop conditions
init_fuel = init
init_flight = {
"rocket.stage_1.tank.fuel.w_out_max": 3.0,
"g_tank.w_in": 0.0,
"rocket.controller.is_on_1": True,
}

stop_fuel = "rocket.stage_1.tank.weight_prop >= rocket.stage_1.tank.weight_max"
stop_fuel = "rocket.flying == 1."
stop_flight = stop

# Fueling
Expand Down
Loading

0 comments on commit 59de058

Please sign in to comment.