I am using MPU9250 InvenseSesne (CC2650 SensorTag) to detect hand gestures. I can sense the output data of accelerometer on console.
But could anyone please tell me how to get the directions. When i make the same gesture (like hi, bye) facing different directions then the sensor output data is behaving differently. Even when the device is kept constant on a flat surface, the readings still keep on changing.
So, please tell me how to set a reference direction or axis so that even if I stand facing different directions, I should get same values which can be used to recognize the gesture. Also, it would be great if someone can tell me how to fix x,y,z axis relative to the direction of the person. This are the steps I followed to enable notification -
1. Connected to device
2. Write of 0a to period(100 ms) to handle 0x3E
3. Write 01:00 to handle 0x3A to enable read notification
4. Write of 38:00 to enable output for all 3 axis of Gyroscope and Accelerometer
Would really appreciate an early response.