Manual PTZ control is overridden by check_and_restart_patrol after ~30 s
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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時間
- マージ済み PR(30日)
- 13
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 1週間以上 初心者へのやさしさ 35/100
pyronear/pyro-engine#467 ·
メンテナーはふだん 1 日以内に返信
-
module: vision type: enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
pyronear/pyro-engine#466 ·
メンテナーはふだん 1 日以内に返信
-
module: vision type: enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 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 件 ·
メンテナーはふだん 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 日以内に返信