An IMU (Inertial measurement unit) is a compound sensor which typically includes an accelerometer, gyro, and compass. The sensor values are often passed through a Kalman filter to reduce noise and are typically used by airborne vehicles.
Assuming you have called your sensor 'myIMU' in Project Designer then you can read it as follows:
// Read the device and store results
// Dump it out
cout << myIMU;
Project Designer supports the following devices
- Sparkfun Razor
- The Sparkfun Razor 9DoF IMU board contains an accelerometer, gyros for roll, pitch and yaw and a magnetometer compass and communicates with your board via a TTL level UART, or directly to your PC with the addition of a (MAX232 type) level shifter.