Creating an geometric model

Abierto
#191 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python

Línea de trabajo

Empieza leyendo el issue #190 y la estructura existente de actor_builder.py. El trabajo planificado está en actor_builder.py y en un nuevo geometric_model.py, con cobertura en actor_builder_test.py para modelos cuboid y de importación OBJ. Se considera terminado cuando ambas opciones de modelo puedan proporcionar los momentos de inercia y el centro de gravedad, conserven la masa del satélite y la prueba de importación muestre la malla en el sistema de coordenadas correcto.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
64
Forks
16
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de aidotse/PASEOS

Todos los issues de aidotse/PASEOS

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.