facebookresearch / digit-interface

Python interface for the DIGIT tactile sensor
Other
65 stars 22 forks source link

get_frame() function issue #16

Closed Ahmad1285 closed 8 months ago

Ahmad1285 commented 8 months ago

Currently having an issue with DIGIT, when saving through the DIGIT view, the image is fine, however, when using the built-in get_frame() function, the resulting matrix (ndarray) has zeros for every red and blue entry, meaning the output image is entirely green as shown below. Any insight is greatly appreciated. Digit View D20740_screenshot_23 01 2024 digit_image0

robertocalandra commented 8 months ago

Hi @Ahmad1285, I don't remember seeing this issue before.

@AlphaBetaPhi any thoughts?

JuliaDi commented 5 months ago

For anyone else who has this issue, we saw this issue before if you are calling the first frame from the DIGIT. If you throw out the initial frames and call a subsequent frame, then the image will be correct.