tulipcc icon indicating copy to clipboard operation
tulipcc copied to clipboard

Touchscreen scale should be guessed from calibrate.py

Open bwhitman opened this issue 1 year ago • 2 comments

A tulip user reached out to say their tulip's CTP was not responding where they thought it should. I built world.download('paint.py') for them to debug and it looks like the scale is off. We allow touch_delta to be set at runtime, but not touch_scale (which is set at 0.8 for the y-axis). We should allow scale to be a runtime var, and also update calibrate to divine a scale.

bwhitman avatar Aug 31 '24 03:08 bwhitman

https://github.com/user-attachments/assets/c38982cb-57ea-4756-a6ea-ae109f85ba8d

bwhitman avatar Aug 31 '24 03:08 bwhitman

We now ship with y_scale being settable by touch_delta. What we don't yet have is a version of calibrate that can guess it. I'll have some users try it out for me.

bwhitman avatar Sep 03 '24 22:09 bwhitman