Puara / puara-gestures

High-level gestural descriptor functions for the Puara Framework
MIT License
1 stars 6 forks source link

instrument/touch/top middle bottom calculation #10

Open aburt2 opened 3 months ago

aburt2 commented 3 months ago

5G T-Sticks now have 30 touch sensors compared to 16 previously. Top and bottom areas still seem to correspond to 4 touch sensors (legacy of previous generations). Which means middle section contains 22 sensors!

There should a discussion to decide how the 3 sections should be split and update the firmware accordingly. Older T-Sticks were 4-8-4 (25%-50%-25%). 7-16-7 and 8-14-8 would be closest to existing T-Sticks. Or do we want to go 10-10-10?

@Gael514

aburt2 commented 3 months ago

@edumeneses I can probably do this quickly over the weekend, the touchsizeedge variable should be computed based on the touchsize rather then arbitrary,

Alternatively I can just move touchsizeedge as a public property and just change it in T-Stick code.

aburt2 commented 3 months ago

It would be nicer to define it in terms of percentage to make it easier for others tochange the threshold themselves

edumeneses commented 3 months ago

Thank you for pinging me again, this issue slipped through the cracks.

We will work on that directly on the refactoring.

Pinging @rochanaf for reference

aburt2 commented 3 months ago

I'll do a quick fix, just for the folks at IDMIL so the touch behaviour scales with the size of the T-Stick I'll leave more thorough solutions for the refractoring