Example 8: Gyro Data

This Gyro data example allows a developer to access the built-in 2-axis gyroscope position data.

Simply turn your head from left to right, up and down. You will also notice the red indicator dot will move in accordance with the movement of your head/gyroscope. 

Before ending the the program, EE_EngineDisconnect() is called to terminate the connection with the EmoEngine and free up resources associated with the connection.  The user should also call EE_EmoStateFree() and EE_EmoEngineEventFree() to free up memory allocated for the EmoState buffer and EmoEngineEventHandle.


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Powered by Zendesk