Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25e0364d authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 9037458 from 66b4eb77 to tm-qpr1-release

Change-Id: I344176527c393414ce3816d6dd5d7b7b561e634b
parents e3fdabca 66b4eb77
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -52,7 +52,9 @@ constexpr float kMaxRotationalVelocity = 8;
constexpr auto kPredictionDuration = 50ms;

// After not getting a pose sample for this long, we would treat the measurement as stale.
constexpr auto kFreshnessTimeout = 50ms;
// The max connection interval is 50ms, and HT sensor event interval can differ depending on the
// sampling rate, scheduling, sensor eventQ FIFO etc. 120 (2 * 50 + 20) ms seems reasonable for now.
constexpr auto kFreshnessTimeout = 120ms;

// Auto-recenter kicks in after the head has been still for this long.
constexpr auto kAutoRecenterWindowDuration = 6s;