facebookresearch / digit-interface

Python interface for the DIGIT tactile sensor
Other
62 stars 19 forks source link

How to use Digit in a Docker container? #14

Open tatsukamijo opened 1 year ago

tatsukamijo commented 1 year ago

Hi, I'm trying to use Digit in the Docker container, but when I run demo_digit.py I get the following error:

ERROR:digit_interface.digit_handler:No DIGIT with serial number D20261 found
Traceback (most recent call last):
  File "demo_digit.py", line 22, in <module>
    digit = Digit("D20261", "Left Gripper")
  File "/usr/local/lib/python3.8/dist-packages/digit_interface/digit.py", line 58, in __init__
    self.populate(serial)
  File "/usr/local/lib/python3.8/dist-packages/digit_interface/digit.py", line 234, in populate
    raise Exception(f"Cannot find DIGIT with serial {self.serial}")
Exception: Cannot find DIGIT with serial D20261

although I can see the device with lsusb.

Is there any specific procedure I have to follow to use Digit in a Docker container?