aidotse / aidotse/PASEOS

Manage missing orbits for local spacecraft actor.

Abierto
#76 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug good first issue help wanted physical-model user-facing
Lenguaje dominante
Python
Estrellas
61
Forks
16
Merge medio
32 min
PR fusionados (30 d)
8

Descripción

# Issue
## Problem Description
At the moment, if the local spacecraftActor tries to run an activity when an orbit is not assigned, a not clear error is raised.
## Expected Behavior
An appropriate error shall be raised suggesting to add "ActorBuilder.set_orbit(...)" when sim.perform_activity(...) is called, if the actor is a spacecraftActor missing of activity.
## What Needs to be Done
If an actor is a SpacecraftActor, when sim.perform_activity(...) is called, it is necessary to check if an orbit is assigned and, otherwise, raise an appropriate error.
## How Can It Be Tested or Reproduced
Try the example in the README on "How to deal with PASEOS activities" and comment the call to the "ActorBuilder.set_orbit(...)" function., before launching the activity.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start with the README example under “How to deal with PASEOS activities,” then trace sim.perform_activity(...) for the local SpacecraftActor path. Reproduce the failure with ActorBuilder.set_orbit(...) commented out; done means the call raises a clear error directing users to set an orbit before performing the activity.

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

Evaluación

Stack tecnológico
python
Área
backend
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.