I will maintain the code for a while in a repository at http://code.google.com/p/ardu-imu-pilot/
If you try it out give me your feedback. It is similar to ArduPilot 2.4 but uses a different header file.
To interface ArduIMU to ArduPilot you connect the gps (ublox only) to ArduIMU, provide common power and ground to ArduPilot and ArduIMU, and connect the serial output pin of ArduIMU to the serial input pin of ArduPilot.
Comments
But here is the link again https://code.google.com/p/ardu-imu-pilot/downloads/list
If anyone hasn't got the IMU code downloaded yet I have placed it as a .zip download in the Ardu-IMU-Pilot repository. So you get the two downloads in the same place....
The temperature reached a balmy high of 5F, after an overnight low of -17F. No flight testing in my future. Slim chance on the weekend.
ArduIMUV2_DCM_V10.zip
Maybe that will work?
You can either copy and paste the code into your Arduino IDE, OR, I can help Doug out a bit and up load the code I have. This is all the latest as of yesterday afternoon, and I have it setup for IMU version 1. If you need version 2, you need to delete the "//" in front of the V2 line of code and add another set of "//" in front of the V1 line of code. That allows you to select the board type you own. Also, you need to follow his instructions, I have the Binary turned off, so turn it on, I was using the IMU Test Program that Happy(I think it was him) made.
dyht4AV01oO-6RBsYKIE6i9iVNQ08IaAafGLKBM*-GcdVG/ArduIMUV2_DCM_V10.z...
Peace out...
@Thomas & Morli - The zip file in Morli's link is NOT the firmware you need. You need R17 or whatever the current version is from the SVN repository. Again, I will have a download zip available soon.
@Mark - Yes, just turn on PRINT_BINARY. It will enable the binary communication message and suppress all of the ASCII messages. If you turn on all of the ASCII messages you actually slow down the main loop of the IMU, so I decided to disable them in this application. You can downlink telemetry messages from ArduPilot and the pitch, roll and yaw will be the IMU eulers.
Here's the link to the R17 code
-
3
-
4
-
5
-
6
-
7
of 8 Next