Browse Source
The ROI orientation was not limited: a target accepted up to half a field of view outside the mechanical range (or any elevation with a 90 deg tilt camera) gave e.g. tilt=1.344, which the camera rejects with ter:InvalidPosition. - spherical2onvif: endless pan wraps the azimuth into 0..360; pan/tilt are clamped to -1..1 and zoom to 0..1 (the camera goes to its end position). - pOnvif::ptz_AbsoluteMove clamps to the profile limits / node position space as a last safety (covers operator absolute moves too) and logs it. - The "Go to ROI" log also shows the target's fi/tetta/r and the pan/tilt models. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0139veDo3XyavMuVhdnHcN16pull/26/head
3 changed files with 44 additions and 13 deletions
Loading…
Reference in new issue