Repository navigation
majestic-af: bump to 1fda430 (settings under ptz, Pelco device address) - #2585
Merged
Merged
Conversation
openipc-ai
requested review from
cronyx,
flyrouter and
viktorxda
as code owners
October 13, 2026 18:20
openipc-ai
force-pushed
the
majestic-af-1fda430
branch
from
October 13, 2026 18:45
1eb75d6 to
575abb8
Compare
Collaborator
Author
|
/review |
Code Review by Qodo
1.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the majestic-af pin from 2d3475e to 1fda430, picking up three changes:
/ptzreports the serial line as it was opened. It used to report what the config said. A rate the port cannot be set to now shows as the 115200 the port actually falls back to.ptz, and the Pelco device address (PTZ settings majestic#341). majestic now keeps the motor settings in itsptzblock:isp.autofocus.speed→ptz.baudisp.autofocus.mode→ptz.focusModeptz.address: the receiver address, 0–255, default 1. A Pelco-D head strapped to an address other than 1 can now be driven.This bump has to land with tonight's majestic. majestic master already reads
ptz. The plugin at the current pin still readsisp.autofocus, so it cannot drive the lens under a majestic from today on. This PR and the majestic nightly need to reach the same image.Before and after on the lab hi3516ev300 with an 85H50AI lens (
ptz_control=pelco-xm). Both runs used the same majestic master build; only the plugin was swapped.GET /ptzspeed=-2147483648, noaddr=speed=115200 addr=1 state=readyPOST /ptz?move=teleunavailablemoving tele, zoom x3.3 → x3.6, and wide back to x3.3ptz.address=5reopened the motor port without rebuilding the pipeline./ptzreportsaddr=5, and the frames go out asc5 05 00 20 00 00 25 5cThe XiongMai lens board ignores the address byte, as it already ignores the checksum: it zoomed the same at 1, 2 and 5. The address only matters for a real Pelco-D head. majestic-af's own tests (9/9) pass at 1fda430, and its
.sobuilds with the package'sMinSizeReloptions.