aim
Move one PTZ camera axis (pan, tilt, roll, or zoom) to an absolute value, then confirm the view changed by comparing before-and-after frames, not device reports.
Instructions
Point one axis at an absolute value, and return what the picture confirms.
axis is one of pan, tilt, roll, zoom. Gimbal axes are in degrees; zoom is the device's
own ratio x100, so 300 means 3x. The value is clamped to the range the camera advertises
and the clamped value is what gets sent.
This moves the camera and waits for it: allow roughly a second for a gimbal axis and
three for a zoom. moved is decided by comparing frames, never by the device's report --
the report is returned as device_reported and labelled a hint, because this hardware
was measured claiming positions it had not reached. If the picture shows no change and
the camera was not already at the target, the call fails rather than reporting success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| axis | Yes |