Open MandiZhao opened 3 months ago
We can simplify our operations by switching to pyspacemouse. Should not be a lot of work to do that. If I recall correctly, we had a version of this.
@jsmith-bdai or @hhansen-bdai do you still have this code on your end that we can revive?
We can simplify our operations by switching to pyspacemouse. Should not be a lot of work to do that. If I recall correctly, we had a version of this.
@jsmith-bdai or @hhansen-bdai do you still have this code on your end that we can revive?
Sorry I somehow missed this - we do have code to do this internally at the AI institute so can add it in post-release
Proposal
When initializing a
Se2SpaceMouse
orSe3SpaceMouse
device, allow custom lookup product_strings. Also, sometimeshid
detects device is already open even when the device is not actually used by other processes, so maybe the runtime error here can be allowed.For example, change the
self._find_device(self)
(here) to:Motivation
Current implementation assumes a fixed product_string
device["product_string"] == "SpaceMouse Compact"
But other devices have different production strings, e.g. https://3dconnexion.com/us/ space mouse has"3Dconnexion Universal Receiver"
as product_string