Skip to content

auto-detect spacemouse if id (product/vendor) is incorrect#764

Merged
kevin-thankyou-lin merged 8 commits intomasterfrom
auto-detect-spacemouse-if-id-incorrect
Oct 23, 2025
Merged

auto-detect spacemouse if id (product/vendor) is incorrect#764
kevin-thankyou-lin merged 8 commits intomasterfrom
auto-detect-spacemouse-if-id-incorrect

Conversation

@kevin-thankyou-lin
Copy link
Contributor

What this does

Auto-detect spacemouse if product/vendor ID specified in macros.py` is incorrect. Not sure why we always needed to manually look up hid and enter it in a file; this PR auto connects to any connected spacemouse.

@kevin-thankyou-lin kevin-thankyou-lin merged commit 6ea97b2 into master Oct 23, 2025
1 of 2 checks passed
ShahRutav pushed a commit to ShahRutav/robosuite that referenced this pull request Dec 31, 2025
…tiative#764)

* auto-detect spacemouse if id (product/vendor) is incorrect

* Use simpler/concise auto-detection method

* allow device_path as an option for space mouse; refactor detection code

* Format

* Only support direct control of torso if single joint

* Use logging instead of prints

* format
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.

2 participants