Show the animation by default and save GIFs only on request

Aperta
#127 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 9 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
56/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Start by locating GlobalXYVisualizer and the planners that render search animations, then trace where they call anime.save(...) or plt.show(). Check how simulations are launched to find where an optional --save-gif flag could be handled. Update HOWTOCONTRIBUTE.md with the demo GIF regeneration steps; done means animations open by default, GIFs save only when requested, and maintainers can follow the documented steps to regenerate demos.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Problem

When a simulation passes gif_name to GlobalXYVisualizer, it saves a GIF instead of opening a window (anime.save(...) vs plt.show()). About half of the simulations do this, so a learner who runs them sees no window for a long time and the committed demo GIF is overwritten. Planners that render their own search animation behave the same way.

Expected fix

  • Show the animation by default
  • Save a GIF only when explicitly requested, e.g. with a command-line option such as --save-gif, used by maintainers to regenerate demos
  • Describe how to regenerate a demo GIF in HOWTOCONTRIBUTE.md
Lingua principale
Python
Stelle
1.9k
Fork
313
Merge medio
9g 10h
PR unite (30g)
7

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Include un Dockerfile o un file Docker Compose
  • Nessun 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 ShisatoYano/AutonomousVehicleControlBeginnersGuide

Tutte le issue di ShisatoYano/AutonomousVehicleControlBeginnersGuide

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.