FSM: Add additional states & transitions around parachute deployment
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- c
- Área
- embedded-iot
Línea de trabajo
Start by locating the top-level flight computer FSM and its state transition logic; the issue gives the current enum and describes the desired states, deployment triggers, and transition criteria. Read the dual deploy EPIC referenced in the issue for related context. Done when the FSM handles drogue deployment, main deployment, descent, and the terminal LANDED state as specified.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Version: v2.8.0
Describe the feature you'd like
Currently, our top-level FSM uses the following states:
typedef enum __attribute__((packed)) _FLIGHT_COMP_STATE
{
FC_STATE_INIT = 0, // startup
FC_STATE_IDLE = 1, // terminal
FC_STATE_CALIB = 2, // calibration
FC_STATE_LAUNCH_DETECT = 3, // wait for launch
FC_STATE_ASCENT = 4, // powered ascent
FC_STATE_COAST = 5, // unpowered ascent
FC_STATE_APOGEE = 6, // runs once at apogee (FC_STATE_DEPLOY_MAIN) -- should change to wait for drogue deployment accel spike OR main if single deploy rocket
FC_STATE_DESCENT = 7, // parachute descent
FC_STATE_LANDED = 8 // on ground; currently unused
} FLIGHT_COMP_STATE_TYPE;
_Static_assert( sizeof(FLIGHT_COMP_STATE_TYPE) == sizeof(uint8_t), "FLIGHT_COMP_STATE_TYPE size invalid.");
We should update the latter half of this FSM such that
APOGEE -> normal FC state that triggers drogue deployment (if configured) and transitions out once drogue is deployed (even if by external avionics)
DESCENT -> DROGUE_DESCENT (no other change except state transition becomes main deployment criteria)
after DESCENT, insert MAIN_DEPLOY (trigger main (if configured) and transition out once main is deployed. the transition out of MAIN_DEPLOY should also be allowed for DROGUE_DESCENT if main deployment not configured).
after MAIN_DEPLOY, insert MAIN_DESCENT (same as drogue descent except state transition becomes ground hit criteria)
Implement LANDED state (no transitions out)
Describe alternatives you've considered
N/A
Additional context
Should theoretically be worked in tandem with dual deploy EPIC.
Points of Contact
FC Rev. 2 Project Lead, Flight Logic SME: @NArmistead
Flight Logic & State Transitions SME: @ETSells
- Lenguaje dominante
- C
- Estrellas
- 8
- Forks
- 6
- Merge medio
- 6 d 20 h
- PR fusionados (30 d)
- 9
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de SunDevilRocketry/Flight-Computer-Firmware
-
Sensor: Set magnetometer ODR to 30 HzPosiblemente ocupada @NArmistead la tomó hace 20 días. Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
SunDevilRocketry/Flight-Computer-Firmware#347 · 1 asignado ·
Los mantenedores suelen responder en 3 días
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
SunDevilRocketry/Flight-Computer-Firmware#368 ·
Los mantenedores suelen responder en 3 días
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
SunDevilRocketry/Flight-Computer-Firmware#367 ·
Los mantenedores suelen responder en 3 días
-
Sensor: Apogee detect can failAbiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
SunDevilRocketry/Flight-Computer-Firmware#365 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Driver: Integrate existing driversPosiblemente ocupada @MasterUser43 la tomó hace 13 días. Abiertoenhancement
SunDevilRocketry/Flight-Computer-Firmware#363 · 1 comentario · 4 asignados ·
Los mantenedores suelen responder en 3 días
Todos los issues de SunDevilRocketry/Flight-Computer-Firmware
Issues similares
-
documentation severity: low
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
luainkernel/lunatik#2231 ·
Los mantenedores suelen responder en 1 día
-
aspect ratio 16:10Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Revivedx/SavageWindRecomp#402 ·
Los mantenedores suelen responder en 1 día
-
cleanup help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
ESPresense/ESPresense#2602 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
apache/arrow-swift#209 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
libretiny-eu/libretiny#435 ·
Los mantenedores suelen responder en 4 días