Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vberthiaume committed Jan 6, 2025
1 parent ff4fb4e commit 105de69
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions include/puara/descriptors/touch.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,19 @@ class Touch
/** brush: direction and intensity of capsense brush motion in ~cm/s (distance between stripes = ~1.5cm) */
float brush{}; // f, 0--? (~cm/s)
double multiBrush[maxNumBlobs]{}; // ffff, 0--? (~cm/s)
utils::LeakyIntegrator multiBrushIntegrator[maxNumBlobs];

/** rub: intensity of rub motion in ~cm/s (distance between stripes = ~1.5cm) */
float rub{}; // f, 0--? (~cm/s)
double multiRub[maxNumBlobs]{}; // ffff, 0--? (~cm/s)
utils::LeakyIntegrator multiRubIntegrator[maxNumBlobs];

// touch array
int touchSizeEdge{4}; // amount of stripes for top and bottom portions (arbitrary)

BlobDetector blobDetector;
int brushCounter[maxNumBlobs]{};

// Arrays of LeakyIntegrator instances
utils::LeakyIntegrator multiBrushIntegrator[maxNumBlobs];
utils::LeakyIntegrator multiRubIntegrator[maxNumBlobs];

Touch()
{
for(int i = 0; i < maxNumBlobs; ++i)
Expand Down

0 comments on commit 105de69

Please sign in to comment.