ENH: Full support for multi-stage rockets
Maintainer antworten meist innerhalb von 3 Tagen
@Gui-FernandesBR arbeitet bereits daran.
Seit 19.8.2024.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
RocketPy already allows you to run mult-stage rocket simulations. However, we all now it is not an easy task. Let's improve user's experience with this feature request.
We can divide this task into 3 main blocks:
- Create a
Stageclass - Use the new Stage class in the
Rocket - Improves the Flight class to deal with different stage flights
Details of each part:
- Create the Stage class
- The new class should work in a pretty similar way to the current Rocket class.
- It should have methods like
add_surfacesandadd_motor. - Moment of inertias should be optional arguments
- Use the new stage class in the Rocket class
- A new attribute should be available: list
Rocket.stages: list[Stage]should be created - When you initialize a Rocket, it already comes with an empty Stage, it is selected and ready to be used.
- Rocket.add_surfaces actually adds the surfaces to the current selected stage.
- Improve the Flight class.
- Flight setting or flight model file: Before simulating the flight, we should be able to generate the "simulation model" file, which could be a .json file or something more readable. The flight class should be able to read this simulation model file.
- The simulation flight phases/stage should be predicted before the flight actually happens. Maybe a "Flight settings" class?
- We need a better handling of the Events om our simulation. It's time to create a
FlightEventsenum. - We need custom exceptions in the flight class, this will make our lives pretty easier.
- We need to make the rail length argument optional now.
Breaking changes (postponed to future versions):
- Create a Flight.simulate() method and stop running the simulation in the init method.
Additional requirements:
- Inertia Tensors must be stored using the new class
- Q: is it time for a "EjectablePayload" class?
- Vorherrschende Sprache
- Python
- Sterne
- 1.1k
- Forks
- 280
- Ø Merge
- 3 T. 2 Std.
- Gemergte PRs (30 T.)
- 24
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus RocketPy-Team/RocketPy
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
RocketPy-Team/RocketPy#1255 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
RocketPy-Team/RocketPy#1241 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
RocketPy-Team/RocketPy#1202 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Monte Carlo test fixtures write their logs into the working directoryEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
RocketPy-Team/RocketPy#1189 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
RocketPy-Team/RocketPy#1171 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 3 Tagen
Alle Issues in RocketPy-Team/RocketPy
Ähnliche Issues
-
docs(contributing): the two things that silently block a PREvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenavailable documentation good first issue
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 95/100
Nixitov/Riptide-Native#944 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
JTHCode/secretguard#24 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: middleware documentation good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
enhancement good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
good first issue
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainer antworten meist innerhalb von 1 Tag