Repository navigation
🐛 #172: Decode the Tiny 2 Lite status with its own offsets - #173
Closed
nofuturekid wants to merge 1 commit into
Closed
nofuturekid wants to merge 1 commit into
nofuturekid wants to merge 1 commit into
Conversation
The Lite reports the tracking speed at 0x24 (0x21 is always 3) and hand tracking as (3, 0), with (6, 0) only as a transient while switching. The model is taken from the V4L2 card name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
|
Closing this: I moved the Tiny 2 Lite work to a separate tool, obsbot4linux, and won't maintain these changes here. The protocol notes and captures stay public in obsbot-tiny2-lite-protocol in case they help. Thanks for the project! (Written with Claude Code.) |
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.
Fixes #172
Adds
CameraModel { Tiny2, Tiny2Lite }, taken from the V4L2 card name when the camera is opened, and passes it toCameraStatus::decode. For the Lite the speed is read from0x24, hand tracking is(3, 0)and(6, _)isUnknown. Tiny 2 decoding is unchanged; new unit tests plus one integration test with a real Lite status block.Checked on a Tiny 2 Lite:
t4l speed fast|standardandt4l tracking handnow read back as Sport/Standard/Hand.cargo test --all-featurespasses.#169 adds a
CameraModelfor the Tiny 4K as well; whichever lands first, I'm happy to rebase onto the other.Written with Claude Code (AI).
🤖 Generated with Claude Code