aidotse / aidotse/PASEOS

Creating an geometric model

Đang mở
#191 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
61
Fork
16
Merge trung bình
32 phút
Pull request đã merge (30 ngày)
8

Mô tả

# 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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.