Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Prelaunch/Terminal: Handle invalid commands gracefully

Aperta
#286 6 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

@DanielB-2 ci sta già lavorando.

Dal 8/9/2026.

  • #334 di @DanielB-2 — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

enhancement good first issue

Version: Affects all versions, fix version v2.7.0.

Describe the feature you'd like
Right now, our terminal interface throws a fail-fast error on an invalid command. We should consider doing more graceful handling that gives a sign that something went wrong but then continues execution.

Describe alternatives you've considered
N/A

Additional context
Could be a decent early issue. Implementation would be to implement a new static "invalid subcommand" function that turns the LED red and beeps a couple times (or something), and then returns to the terminal loop.

True hardware errors should remain fail-fast e.g. a flash write fail.

You may need to add a status to the status enum for these "invalid subcommand" errors for modules that implement their own subcommand handler internally.

Consider flushing the USB buffer when this is hit.

Points of Contact
FC Rev. 2 Project Lead: @NArmistead

Lingua principale
C
Stelle
8
Fork
6
Merge medio
6g 19h
PR unite (30g)
9

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SunDevilRocketry/Flight-Computer-Firmware

Tutte le issue di SunDevilRocketry/Flight-Computer-Firmware

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.