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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user