interpretation of `SensorTimestamp`
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Documentación
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- documentation
Línea de trabajo
Read the libcamera control definition for SensorTimestamp in the public API docs and the C++ control definition it is generated from, then compare with the wait logic in picamera2/picamera2.py (the frame_timestamp_ns = md['SensorTimestamp'] - 1000 * md['ExposureTime'] block) and examples/timestamp_capture.py. The open question is which wording is correct — first row exposed versus first pixel read out — so the outcome is either a documentation correction plus comment fix, or confirmation that both are consistent. Expect discussion before any edit.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The time when the first row of the image sensor active array is exposed.
# 'SensorTimestamp' is when the first pixel was read out, so it started being
# exposed 'ExposureTime' earlier.
exposure_start_time = md['SensorTimestamp'] - 1000 * md['ExposureTime']
# Check if frame started being exposed after the timestamp.
md = self.completed_requests[0].get_metadata()
frame_timestamp_ns = md['SensorTimestamp'] - 1000 * md['ExposureTime']
if frame_timestamp_ns >= timestamp_ns:
return (True, None)
It seems to me that while (2) and (3) are in agreement, the rpi interpretation of SensorTimestamp does not match what is prescribed in the libcamera documentation (1). Or am I missing something?
- Lenguaje dominante
- C++
- Estrellas
- 493
- Forks
- 205
- Métricas de merge de PR
- Sin PR fusionados en 30 d
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 raspberrypi/libcamera
-
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
raspberrypi/libcamera#369 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
raspberrypi/libcamera#367 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
raspberrypi/libcamera#362 · 2 comentarios ·
Todos los issues de raspberrypi/libcamera
Issues similares
-
Termux compilation failureAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
area/build-framework kind/enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
yugabyte/yugabyte-db#39342 ·
Los mantenedores suelen responder en 1 día
-
Document the isv:HDFGroup Linux package repositories and signing keyPosiblemente ocupada @brtnfld la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 95/100
Tracktion/tracktion_engine#505 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
AdaptiveCpp/AdaptiveCpp#2341 ·
Los mantenedores suelen responder en 2 días