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

Automate Saving of images from the camera for later review

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Start by reading the solver function where the issue suggests hooking the capture trigger, plus the config handling and console menu modules to see how settings are stored and surfaced. Map out where web config, console menus, and the camera capture path intersect, then discuss the proposed design with maintainers before coding — the issue is a proposal, not an agreed spec. Done looks like timed or sky-change-triggered image saves with config, console controls, a storage folder with capacity protection, and web-based viewing/download/deletion.

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

Descrizione

enhancement

If someone wanted to insert a "save what the camera sees every N seconds" routine into the pifinder stack (through a fork + PR) where would you like to see this added?

I would like to add:

  • config item to the web to set default capture
    • None
    • Timer (seconds)
    • Sky change
  • Capture Settings:
    • interval in seconds
    • Sky change Delta of float(RA), Delta of float(Dec)
  • console menu to select current image capture mode (default behavior to only be modifiable from the web config)
  • console menu to adjust the interval seconds and save to stored config (RA/Dec should probably only be changed in the web config)
  • web page area for viewing/downloading/erasing the images.
  • a storage folder
  • card capacity protection

The solver function is likely the best place to put this so it triggers on a timer always.

from datetime
now = datetime.datetime.now()

New dataclass called "last_solve"
- timestamp: datetime = <time of last platesolve>
- RA: float = CurrentSolve.RA
- Dec: float = CurrentSolve.Dec


def TakeNewPhoto:
   imageformat = "PNG"
   NewFileName =  f"{now.strftime("%Y-%m-%d %H%M%S}_RA-{CurrentSolve.RA}_Dec{CurrentSolve.Dec}.{imageformat.lower()}"
   image.save(NewFileName,imageformat)

if config.imagecapture = interval
   if now - last_solve.timestamp).total_seconds()) > config.ImageCaptureInterval:
      <take a new photo>
elif config.imagecapture = skychange
  import math
  if math.isclose(abs(last_solve.RA), abs(current_solve.RA),rel_tol=config.skychangedelta) || math.isclose(abs(last_solve.Dec), abs(current_solve.Dec),rel_tol=config.skychangedelta):
    <take new photo>

Lingua principale
Jupyter Notebook
Stelle
253
Fork
63
Merge medio
11h 55m
PR unite (30g)
8

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 brickbots/PiFinder

Tutte le issue di brickbots/PiFinder

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.