Skip to content

Add UVC controls and extensions#845

Merged
mtramsak-luxonis merged 1 commit into
mainfrom
feat/uvc-controls-and-extensions
Jun 15, 2026
Merged

Add UVC controls and extensions#845
mtramsak-luxonis merged 1 commit into
mainfrom
feat/uvc-controls-and-extensions

Conversation

@mtramsak-luxonis

Copy link
Copy Markdown
Contributor

Purpose

Adds a dedicated uvc_controls C++ layer and wires it into cpp/uvc/src/uvc_example.cpp so host UVC requests for AE mode, exposure time, brightness, gain, and an extension control are translated into DepthAI CameraControl commands.

Specification

The change adds a new uvc_controls module and wires it into uvc_example to register UVC controls and forward them to DepthAI CameraControl. It also updates uvc-start.sh to advertise camera terminal, processing unit, and optional extension-unit controls in configfs.

Dependencies & Potential Impact

Needs latest depthai and OS 1.33.

Deployment Plan

None

Testing & Validation

Tested on Windows with https://github.com/luxonis/uvc-demo-app

AI Usage

Assisted-by: Codex:GPT-5.4

Submitted code was reviewed by a human: YES

The author is taking the responsibility for the contribution: YES

@mtramsak-luxonis mtramsak-luxonis force-pushed the feat/uvc-controls-and-extensions branch from 2a16f42 to 5644e10 Compare June 12, 2026 13:32
@mtramsak-luxonis mtramsak-luxonis changed the title Feat/uvc controls and extensions Add UVC controls and extensions Jun 12, 2026
@mtramsak-luxonis mtramsak-luxonis added the testable PR is ready to be tested label Jun 12, 2026

@klemen1999 klemen1999 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only comment would be to check if AGENTS.md file in this example needs to be updated in anyway in regards to this new feature

Comment thread cpp/uvc/src/uvc_controls.cpp
Comment thread cpp/uvc/oakapp.toml Outdated
@mtramsak-luxonis mtramsak-luxonis force-pushed the feat/uvc-controls-and-extensions branch from 5644e10 to 1845580 Compare June 15, 2026 12:55
@mtramsak-luxonis mtramsak-luxonis force-pushed the feat/uvc-controls-and-extensions branch from 1845580 to 55e4c6a Compare June 15, 2026 15:01

@asdwjure asdwjure left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but I dont have review permissions.

@mtramsak-luxonis mtramsak-luxonis force-pushed the feat/uvc-controls-and-extensions branch from 55e4c6a to b960b38 Compare June 15, 2026 15:05
@mtramsak-luxonis mtramsak-luxonis force-pushed the feat/uvc-controls-and-extensions branch from b960b38 to 0d6142b Compare June 15, 2026 15:19
@mtramsak-luxonis mtramsak-luxonis force-pushed the feat/uvc-controls-and-extensions branch from 0d6142b to 8e7decd Compare June 15, 2026 15:22
@mtramsak-luxonis mtramsak-luxonis merged commit 142179d into main Jun 15, 2026
5 checks passed
@mtramsak-luxonis mtramsak-luxonis deleted the feat/uvc-controls-and-extensions branch June 15, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testable PR is ready to be tested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants