update: fixed shake animation

The shake animation figures have been fixed. However, the petting emotion working with touch remains an issue. The Lottie JSON for the emotion is unable not parsable for some reason and my next step is to fix that for tomorrow's meeting.
This commit is contained in:
2026-01-27 00:30:12 +05:30
parent 90031cd16e
commit 22bd5a6f70
13 changed files with 814 additions and 5 deletions

View File

@@ -21,8 +21,8 @@ extern "C" {
// ----------------------------------------------------------------------------
// Acceleration deviation threshold to detect shake (in G)
// Set above 1G to account for gravity and require actual vigorous shaking
#define SHAKE_ACCEL_THRESHOLD 1.3f
// Set above 2.2 to require vigorous shaking
#define SHAKE_ACCEL_THRESHOLD 2.2f
// Number of consecutive readings above threshold to confirm shake
#define SHAKE_CONTINUOUS_THRESHOLD 10