Manual PTZ control is overridden by check_and_restart_patrol after ~30 s
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by reading SystemController.check_and_restart_patrol() in pyroengine/core.py and the camera API handlers for POST /patrol/stop_patrol and /control/start_move and /control/move. Trace how patrol restarts are scheduled and how control requests reach the camera. Done means manual PTZ control holds its position for a configurable delay, then patrol resumes; the issue does not name a test to run.
由索引模型根据 Issue 内容生成。
描述
What happens
SystemController.check_and_restart_patrol() (pyroengine/core.py) runs every engine round and restarts the patrol of every camera whenever no stream is active. As a result, POST /patrol/stop_patrol on the camera API only lasts until the next round: an operator who steers a PTZ camera through the API (/control/start_move, /control/move, ...) without an active livestream, for example from a multi-camera view, sees the camera go back to its pose about 30 s later.
Today the only way to hold a PTZ camera on a manual position is to keep a livestream open on it.
Suggestion
Honour an explicit manual control, e.g. a "manual hold until" timestamp set by stop_patrol and by control commands, expiring after a configurable delay (a few minutes), after which check_and_restart_patrol() resumes the patrol as it does now.
Found while running a self-hosted instance with a Hikvision PTZ camera (VAB Toscana, Italy).
- 主要语言
- Python
- 星标
- 21
- 派生
- 10
- 平均合并
- 4 天 4 小时
- 30 天内合并 PR
- 13
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pyronear/pyro-engine 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
pyronear/pyro-engine#368 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 66/100
pyronear/pyro-engine#489 ·
维护者通常 1 天内回复
-
module: engine type: enhancement
难度 5/5 一周以上 新手友好度 35/100
pyronear/pyro-engine#467 ·
维护者通常 1 天内回复
-
module: vision type: enhancement
难度 5/5 一周以上 新手友好度 25/100
pyronear/pyro-engine#466 ·
维护者通常 1 天内回复
-
module: vision type: enhancement
难度 5/5 一周以上 新手友好度 45/100
pyronear/pyro-engine#465 ·
维护者通常 1 天内回复
查看 pyronear/pyro-engine 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
software-mansion-labs/Diplomat#20 ·
维护者通常 1 天内回复
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client area可能已有人在做 @lijy91 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 67/100
libnativeapi/nativeapi#53 · 1 个 reaction ·
维护者通常 1 天内回复
-
View Counts discarded due to field name mismatch可能已有人在做 @rsiva0400 今天认领。 未关闭site-bug triage
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
Model version publishes the new UK firm entity as a person可能已有人在做 @vahid-ahmadi 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
PolicyEngine/policyengine.py#764 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
spcl/HPCAgent-Bench#264 ·
维护者通常 1 天内回复