obsbot_zoom_uvc
Sets the lens to an exact zoom ratio between 1.0 and 2.0, then waits for the movement to finish so subsequent actions don't fail. Returns settled status.
Instructions
Standard UVC zoom: set an absolute zoom ratio, clamped to [1.0, 2.0]. Snaps to the requested target exactly (unlike obsbot_zoom_vendor, whose ratio scale differs and may not land exactly where asked). Waits for the zoom to actually arrive and returns { settled }: the ramp is not instant (a full 1.0->2.0 sweep takes about 2.4s), and obsbot_aim_at_pixel and obsbot_zoom_to_fit both refuse while it is in flight, so this returning early would just move the failure downstream. settled:false means the zoom had not arrived within the timeout — the command was still sent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ratio | Yes | ||
| camera | No |