ENH: Full support for multi-stage rockets
I maintainer di solito rispondono entro 3 giorni
@Gui-FernandesBR ci sta già lavorando.
Dal 19/8/2024.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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?
- Lingua principale
- Python
- Stelle
- 1.1k
- Fork
- 280
- Merge medio
- 3g 2h
- PR unite (30g)
- 24
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di RocketPy-Team/RocketPy
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
RocketPy-Team/RocketPy#1255 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
RocketPy-Team/RocketPy#1241 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
RocketPy-Team/RocketPy#1202 ·
I maintainer di solito rispondono entro 3 giorni
-
Monte Carlo test fixtures write their logs into the working directoryForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
RocketPy-Team/RocketPy#1189 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
RocketPy-Team/RocketPy#1171 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di RocketPy-Team/RocketPy
Issue simili
-
docs(contributing): the two things that silently block a PRForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaavailable documentation good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 95/100
Nixitov/Riptide-Native#944 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
JTHCode/secretguard#24 ·
I maintainer di solito rispondono entro 1 giorno
-
area: middleware documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
omarelshamy25x/shamy-hijri#63 ·
I maintainer di solito rispondono entro 1 giorno