Automate Saving of images from the camera for later review
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- python
- Área
- backend, developer-experience, frontend
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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>
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 253
- Forks
- 63
- Merge medio
- 11 h 55 min
- PR fusionados (30 d)
- 8
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 brickbots/PiFinder
-
Discord Link InvalidAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 67/100
brickbots/PiFinder#682 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
catalogs enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
Todos los issues de brickbots/PiFinder
Issues similares
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Fix unused variable warningsAbiertobug triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
envoyproxy/envoy#48897 ·
Los mantenedores suelen responder en 1 día
-
backend bug documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
geolens-io/geolens#3568 ·
Los mantenedores suelen responder en 1 día
-
Condition block says two different large integers are equal (compares numeric strings as floats)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Significant-Gravitas/AutoGPT#16480 ·
Los mantenedores suelen responder en 1 día
-
API: `tsc.exe` opens a visible console window on Windows when the parent process has no consoleAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
microsoft/TypeScript#65083 ·
Los mantenedores suelen responder en 1 día