changed threshold for steps
This commit is contained in:
@@ -34,9 +34,9 @@ private:
|
|||||||
Timestamp blockUntil;
|
Timestamp blockUntil;
|
||||||
bool waitForUp = false;
|
bool waitForUp = false;
|
||||||
|
|
||||||
const Timestamp blockTime = Timestamp::fromMS(150); // 150-250 looks good
|
const Timestamp blockTime = Timestamp::fromMS(250); // 150-250 looks good
|
||||||
const float upperThreshold = +0.4*0.6f; // + is usually smaller than down (look at graphs)
|
const float upperThreshold = +0.4*0.6f; // + is usually smaller than down (look at graphs)
|
||||||
const float lowerThreshold = -0.8*0.6f; // the 0.8 is for testing!
|
const float lowerThreshold = -1.5*0.6f; // the 0.8 is for testing!
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user