feat(realworld): add LUMOS V4L2 camera backend#1146
Open
Brunch-Life wants to merge 4 commits into
Open
Conversation
Add a third camera backend alongside RealSense and ZED for LUMOS USB cameras, which expose a raw I420 (YU12) V4L2 stream. LumosCamera disables OpenCV's built-in RGB conversion, reshapes the packed YUV buffer, and does the I420->BGR conversion manually so the output matches the RealSense / ZED backends (BGR uint8). Depth is not available from this V4L2 interface. FrankaRobot gains a "lumos" branch in camera enumeration and SDK validation; the only runtime dependency is opencv-python (cv2). Mirroring the ZED smoke script, toolkits/realworld_check/test_lumos_camera.py provides a hardware-in-loop sanity check. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: Brunch-Life <brunchlife@hotmail.com>
QuanluZhang
reviewed
May 14, 2026
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.
Add a third camera backend alongside RealSense and ZED for LUMOS USB cameras.
FrankaRobot gains a "lumos" branch in camera enumeration and SDK validation; the only runtime dependency is opencv-python (cv2).
Mirroring the ZED smoke script, toolkits/realworld_check/test_lumos_camera.py provides a hardware-in-loop sanity check.
Motivation and Context
Add Lumos camera support for RLinf.
How has this been tested?
It can pass the realworld test. Also the test_lumos_camera.py can pass.
Additional information (optional, e.g., figures and logs):
Types of changes
Checklist: