interpretation of `SensorTimestamp`
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 半天
- 新手友好度
- 35/100
- Issue 類型
- 文件
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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?
- 主要語言
- C++
- 星號
- 493
- 分支
- 205
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
raspberrypi/libcamera 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 18/100
raspberrypi/libcamera#369 ·
-
難度 4/5 3-5 天 新手友好度 42/100
raspberrypi/libcamera#367 · 1 則留言 ·
-
難度 3/5 1-2 天 新手友好度 55/100
raspberrypi/libcamera#362 · 2 則留言 ·
查看 raspberrypi/libcamera 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 69/100
維護者通常 2 天內回覆
-
Missing repro Platform: Android
難度 2/5 1-3 小時 新手友好度 76/100
software-mansion/react-native-reanimated#11554 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 85/100
Niko1221/Strata#7211 · 3 則留言 ·
維護者通常 5 天內回覆
-
難度 2/5 1-3 小時 新手友好度 64/100
-
bug
難度 2/5 1-3 小時 新手友好度 82/100
sleepyviper1213/redis#52 ·