Using binary output

To use the binary ArduIMU format you have to flash a new sketch to the Sparkfun Razor 9dof IMU. In the SF9DOFAHRSArduImu.pde of the sketch you have to set PRINT_BINARY == 1, be sure its not commented out.
To use the binary data, download the source and compile. Add the outputted lib to you project and create a new instance of ArduImu

IAhrs ahrs = new ArduImu("com1");
double roll, pitch, yaw;
ahrs.Get(out roll, out pitch, out yaw)

Using the IAhrs interface will help you to switch between different IMU's.

Last edited Oct 30, 2010 at 1:26 PM by chriszero, version 2

Comments

No comments yet.