Creating an geometric model
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
调研方向
首先阅读 issue #190 和现有的 actor_builder.py 结构。计划中的工作位于 actor_builder.py 和新的 geometric_model.py 中,并在 actor_builder_test.py 中覆盖 cuboid 和 OBJ 导入模型。当两个模型选项都能提供惯性矩和重心、保留卫星质量,并且导入测试在正确的坐标系中显示网格时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Feature
This issue covers point 1 of issue #190.
Desired Behavior / Functionality
Adding a geometric model to the model. This is done with two options; option 1 is to model a basic cuboid with width, length, and height. Option 2 is to import an .obj file, and to use the mesh from that.
The outputs of the geometric model are currently planned to be the moments of inertia, and the center of gravity.
What Needs to Be Done
Several functions/classes will be created. Firstly, in the file actor_builder.py there will be a function set_cubiod_geometric_model to add then cuboid geometric model to the actor. There will also be a similar function, set_geometric_model_from_import for the option to import a mesh from the .obj file.
Then a new file is implemented, geometric_model.py, which contains two classes, CuboidGeomtericModel, and ImportGeometricModel. These two classes will each have the function to find the moment of inertia, and the centre of gravity. Additionally, the mass of the satellite is stored in the class.
Depending on what is needed for the disturbances that will be added, more parameters may need to be added to these two classes.
How Can It Be Tested
Lastly, two tests will be added in the file actor_builder_test.py. One to test the cuboid geometric model, and one to test the import. The import test contains the ability to view the imported model in the correct coordinate system.
- 主要语言
- Python
- 星标
- 64
- 派生
- 16
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aidotse/PASEOS 的其他 Issue
-
bug enhancement good first issue help wanted
难度 2/5 1-3 小时 新手友好度 68/100
-
Sensor Anomalies未关闭enhancement example
难度 5/5 一周以上 新手友好度 25/100
-
难度 5/5 一周以上 新手友好度 25/100
-
enhancement user-facing visualization
难度 4/5 3-5 天 新手友好度 30/100
-
feature
难度 3/5 1-2 天 新手友好度 45/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
Deltares/numba_celltree#100 · 1 条评论 ·
-
auto-reported bug
难度 2/5 1-3 小时 新手友好度 63/100
维护者通常 1 天内回复
-
soup airgap-bundle --bundle-size-cap nan, inf or a cap above ~1.67e299 GiB stops with an internal ValueError/OverflowError (exit 1) instead of a usage error可能已有人在做 @Keshemir 今天认领。 未关闭bug claimed difficulty:2
难度 2/5 1-3 小时 新手友好度 82/100
MakazhanAlpamys/Soup#3045 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
dagster-io/skills#80 ·
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复