ENH: Full support for multi-stage rockets
メンテナーはふだん 3 日以内に返信
@Gui-FernandesBR がすでに取り組んでいます。
2024年8月19日 から。
評価
この issue はまだ評価されていません。
説明
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?
- 主要言語
- Python
- スター
- 1.1k
- フォーク
- 280
- 平均マージ
- 3日 2時間
- マージ済み PR(30日)
- 24
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RocketPy-Team/RocketPy のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
RocketPy-Team/RocketPy#1255 ·
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
RocketPy-Team/RocketPy#1241 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
RocketPy-Team/RocketPy#1202 ·
メンテナーはふだん 3 日以内に返信
-
Monte Carlo test fixtures write their logs into the working directory対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
RocketPy-Team/RocketPy#1189 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
RocketPy-Team/RocketPy#1171 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
RocketPy-Team/RocketPy の issue をすべて見る
似ている issue
-
docs(contributing): the two things that silently block a PR対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンavailable documentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 95/100
Nixitov/Riptide-Native#944 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
JTHCode/secretguard#24 ·
メンテナーはふだん 1 日以内に返信
-
area: middleware documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
omarelshamy25x/shamy-hijri#63 ·
メンテナーはふだん 1 日以内に返信