Skip to content

Conversation

@sotanakamura
Copy link

@sotanakamura sotanakamura commented Nov 20, 2025

What this does

This PR changes the the key from id to serial_number. The key "serial_number" is used in _find_serial_number_from_name

This also includes the fix for mypy type checks of instance variables.

fix #2493

How it was tested

Tested with a real hardware.

How to checkout & try? (for the reviewer)

Connect one RealSense and run the following script:

from lerobot.cameras.realsense import RealSenseCamera, RealSenseCameraConfig

realsense = RealSenseCamera(RealSenseCameraConfig("Intel RealSense D415"))
realsense.connect()
realsense.disconnect()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing the key "serial_number" to find RealSence using name

1 participant