Recently we have been working in partnership with
Total Interactive, engaged in the production of virtual reality rides. Together we solved the problem of determining the speed and direction of a person's movement, placed in a three-meter sphere, rotating in an arbitrary direction.
To do this, we used a gyroscope and accelerometers, coupled with a bluetooth transmitter. By placing the device in the sphere body and applying special processing algorithms based on applying the Madgwick filter - to filter data from the gyroscope and the accelerometer and quaternions to determine the position of the sensor in real time. From the data obtained, the linear velocity and the direction of rotation of the sphere are easily determined.