Ardu-IMU-Pilot firmware ready for beta test!

I have completed ground testing on the new firmware I have written for ArduPilot to use ArduIMU in place of the thermopiles. It has been snowing here and I probably won't get to fly the code for a bit, but figured others might be interested in giving it a try at this point. This firmware will probably exist on a temporary basis, with the code getting incorporated into the regular ArduPilot firmware in the future. If there is sufficient interest in this approach I will consider working on a ArduPilot shield board that would add the pressure sensors to ArduIMU and package it all as a shield.

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.

Views: 401

Tags: ArduIMU, ArduPilot, Code>/source/browse/#svn/trunk

Comments are closed for this blog post


Admin
Comment by Thomas J Coyle III on December 7, 2009 at 6:13pm
Doug,

There does not appear to be any code for download on the Google Ardu-IMU-Pilot download page that is given in your link.

Regards,
TCIII

Moderator
Comment by Morli on December 7, 2009 at 6:29pm
@Thomas , is this what you are looking for? The link mentioned goes to root of this page(Doug's)

Admin
Comment by Thomas J Coyle III on December 7, 2009 at 6:44pm
Morli,

Yes, that is what I was looking for. Thanks.

Regards,
TCIII

Admin
Comment by Thomas J Coyle III on December 8, 2009 at 10:34am
Morli,

IE will not let me download Doug's .pde files. Any suggestions?

Regards,
TCIII

Developer
Comment by Doug Weibel on December 8, 2009 at 10:41am
@Thomas

Sorry, this whole SVN and repository stuff is new territory for me. I see your point. If you are not using a SVN client it is quite difficult to get the files out of the repository in a useable format.

I will try to put a .zip download together and get it under the downloads tab this evening.
Comment by Benjamin Lanehart on December 8, 2009 at 11:04am
I haven't tried it with the ardupilot code yet, but for the R17 IMU code, I copied and pasted the code into the ArduIMU files through the Arduino IDE program, then saved it as a different name.

Developer
Comment by Mark Colwell on December 8, 2009 at 11:15am
I did the same process as I couldn't get svn client to work on my Mac, but now Arduino-17 can't find AIP_header.h (I made sure both names are the same), I don't quite understand where to place the xxx.h file or how to set path for Arduino-17 to find xxx.h files. This was working before ?? with other xxx.h files
Comment by Benjamin Lanehart on December 8, 2009 at 11:30am
I was just having the same issue, I was screwing up 2 things.
1: I the code was setup for AIPheader.h, but my sketch was saved as AIP_header.h. Easy fix...
2: I had to place the .h file in the Ardupilot folder in the \arduino-0017\hardware\libraries folder. The same place you would add the easystar.h file.

That cleared that compile error for me, but now I get another:

error: 'Last_error was not declared in this scope

the line of code: float derivative=float(float(PID_error)-float(Last_error[PID_case])/dt);

Developer
Comment by Doug Weibel on December 8, 2009 at 12:19pm
OK guys, I just made a download of the Ardu_IMU_Pilot firmware. Be sure to resolve the filename error AIPHeader versus AIP_Header. Otherwise it should compile fine.

Would you guys like me to make a download of the R17 IMU firmware, or have you been able to get that down and compiled?

Developer
Comment by Mark Colwell on December 8, 2009 at 12:45pm
Yes, that would help, I did get AIP to compile with Arduino-16 but I have not compliled IMU firmware yet. Thanks

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service