Manual PTZ control is overridden by check_and_restart_patrol after ~30 s
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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).
- Ngôn ngữ chính
- Python
- Star
- 21
- Fork
- 10
- Merge trung bình
- 4 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pyronear/pyro-engine
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
pyronear/pyro-engine#368 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 66/100
pyronear/pyro-engine#489 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
module: engine type: enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
pyronear/pyro-engine#467 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
module: vision type: enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
pyronear/pyro-engine#466 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
module: vision type: enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
pyronear/pyro-engine#465 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của pyronear/pyro-engine
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
software-mansion-labs/Diplomat#20 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client areaCó thể đã có người làm @lijy91 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
libnativeapi/nativeapi#53 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
View Counts discarded due to field name mismatchCó thể đã có người làm @rsiva0400 đã nhận hôm nay. Đang mởsite-bug triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Model version publishes the new UK firm entity as a personCó thể đã có người làm @vahid-ahmadi đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
PolicyEngine/policyengine.py#764 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
spcl/HPCAgent-Bench#264 ·
Maintainer thường phản hồi trong vòng 1 ngày