facebookresearch / digit-interface

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

Set intensity of LEDs independently #2

Closed lzyplayer closed 3 years ago

lzyplayer commented 4 years ago

Thanks for sharing such awsome work! I have found the intensity setting function in digit.py. wonder is there a way to set intensity of LEDs independtly?

AlphaBetaPhi commented 4 years ago

Hi @lzyplayer,

Thank you for your interest in digit-interface. The currently released DIGIT firmware does not support independent control of each LED.

Is this something you would be interested in?

lzyplayer commented 3 years ago

Thanks for the reply! Since DIGIT got 5 LED slots while LED only have 3 colors, it would be really useful if we can set the LED independtly and obtain images under all 5 different light direction.

AlphaBetaPhi commented 3 years ago

Hi @lzyplayer,

Thank you, this is valuable feedback!

lzyplayer commented 3 years ago

Hi @AlphaBetaPhi , Thanks for recently update! I have assembly serverl DIGITs, which all works fine. However, setting LED intensity in Digit-interface seems not working, resulting in too strong light on image. Here's a image while I'm pressing DIGIT against a plastic ball.

Below are logs while setting LED, and LEDs remains the brightest status.

>>> digit.set_intensity(20)
DEBUG:digit_interface.digit:D00045:LED intensity set to 20
20
>>> time.sleep(1)
>>> # Change LED illumination intensity
... 
>>> digit.set_intensity(1)
DEBUG:digit_interface.digit:D00045:LED intensity set to 1
1

Addtionally, It seems a little lost of focus. Thanks for any reply~

lzyplayer commented 3 years ago

Could I reopen this issue?

AlphaBetaPhi commented 3 years ago

Hi @lzyplayer, could we connect offline to troubleshoot? My email is: lambetam[at]fb[dot]com

AlphaBetaPhi commented 3 years ago

Hi @lzyplayer,

We have released the beta firmware to production for version 2.00 of the DIGIT firmware to address this issue.

Thank you for your support.

lzyplayer commented 3 years ago

Thank you for your great work!