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 小时
- 30 天内合并 PR
- 24
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 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可能已有人在做 关联的 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 天内回复