Home

Daniel Kelly
Project Admins:

Getting Started

Download the IMU_Android.zip file.

The file contains the IMU_Android.jar file. Add this to your projects build path to access the IMU_Android functionality.

Sample Code

The downloaded file also contain sample apps. The best starting point for understanding how to connect and receive data from the sensors is the "IMU_Animate_App" program.

The "IMU_Calibrate_App" program should also be run in order to calibrate the accelerometers and gyroscopes. This must be run once for each new sensor in order for the orientation data to be accurate (if the IMU_Animation_App is run before calibrating, then the orientation value with not be correct).
The calibration works by placing the sensor on a flat surface with the positive x-axis facing up. Then press the menu button on the android phone and click "Calibrate +X".
Then place the sensor on a flat surface with the negative X axis facing up. Then press the menu button on the android phone and click "Calibrate -X". Carry this out for positive and negative Y and Z axis also.

The "IMU_Recrod_App" is a app which will connect to a number of specified sensors. When the record button is click, all sensor data will be recorded in a csv file on the phones internal memory.