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

Commit b661871e authored by Nikhil Bhanu's avatar Nikhil Bhanu
Browse files

Updated max rotational velocity of head tracking to 0.8 rad/s for smooth auto-recentering

Test: manual validation
Bug: 243862298
Change-Id: If0e28eee6737359bd0d788f679bdbf012f88c03f
parent 7c325276
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ namespace {
constexpr float kMaxTranslationalVelocity = 2;

// This is how fast, in rad/s, we allow rotation angle to shift during rate-limiting.
constexpr float kMaxRotationalVelocity = 8;
constexpr float kMaxRotationalVelocity = 0.8f;

// This is how far into the future we predict the head pose, using linear extrapolation based on
// twist (velocity). It should be set to a value that matches the characteristic durations of moving