gelsightinc / gsrobotics

GelSight SDK for robotic sensors
GNU General Public License v3.0
80 stars 24 forks source link

Use get_image instead of get_raw_image in the while loop #14

Closed duyipai closed 1 year ago

duyipai commented 1 year ago

The current implementation of optical_flow_marker_tracking.py and mean_shift_marker_tracking.py are using get_raw_image to grab gelsight mini images, which is causing significant delay since it flushes out the first 10 images. Using get_image in the while-loop would fix the problem.

debrashure commented 1 year ago

Thanks for pointing this out. The code has been cleaned up and the problem is fixed.