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

Comment by Yves Gohy on January 10, 2010 at 11:52am


Wiring between Ardupilot and Arduimu.

Developer
Comment by Doug Weibel on January 10, 2010 at 5:36pm
Hey Yves, One of my Ublox quit working and I was just about to search for the info on how to hook it to the ftdi cable to see if it lost its configuration. Thanks!
Comment by Fouad on January 11, 2010 at 6:52pm
Hello everybody,
I'm new at this wonderful world,

I'm trying to run run Ardupilot + arduimu + xbee pro 2.4
So in addition to the above connections, I also have the xbee modules configured for 38400 and connected gnd, 5v , xbee rx pin to ardupilot shield -ve,5v, out pin (5th from gps connector)
I get gps fix (solid blue led on the imu) but the ground station displays nothing, also the xbee seems to emit nothing (terminal program showed nothing)
I only connect the xbee module to the ardupilot after about 30 sec of the powerup.
The same set of xbee(s) I'm using for paparazzi, the only change I did was to change the baud rate to be 38400.
Can anyone help?
Thanks.
Comment by Yves Gohy on January 11, 2010 at 10:21pm
Hello, you can use your FTDI directly connected to the Ardupilot. So you can test your ground station.

Comment by Fouad on January 12, 2010 at 5:30pm
I tried that, this is what happens:
I connect the FTDI first to the laptop
Connect the power to the pilot.
The station speed meter runs around and the current waypoint indicator sets to 999 , all of this happens during the initialization of the ardupilot
Then nothing happens?
I did not set any way points (yet) is this the problem?

Regards
Comment by Yves Gohy on January 12, 2010 at 10:11pm
hello, have you a solid blue led on the ardupilot?. if not, I thing that the Ardupilot do not receiving good data from arduimu.

Developer
Comment by Doug Weibel on January 13, 2010 at 8:08am
@fouad - you might try moving back to ArduPilot 2.4 and see if you get groundstation data. That firmware should run and output data even if you do not have thermopiles attached.

You do not need to have waypoints loaded..
Comment by Fouad on January 16, 2010 at 7:56am
Sirs,
I tried ArduPilot 2.4 and every thing worked very well. (Station, xbee, ...)
when I switched back to ArduImuPilot every thing is still the same.
The following was the output of the arduimu to the pilot:
imu out
!!!RLL:-2.07,PCH:-6.51,YAW:-13.15,***
!!!RLL:-2.14,PCH:-6.45,YAW:-13.03,***
!!!RLL:-2.31,PCH:-6.41,YAW:-12.81,***
!!!RLL:-2.24,PCH:-6.33,YAW:-12.86,***
!!!RLL:-2.15,PCH:-6.29,YAW:-12.91,***
!!!RLL:-2.01,PCH:-6.25,YAW:-13.03,***

where the following was the output to the serial port when the debug option was on.
dump
+++ASP:0,RLL:0.00,PCH:0.00,***
+++ASP:0,RLL:0.00,PCH:0.00,***
+++ASP:0,RLL:0.00,PCH:0.00,***
+++ASP:0,RLL:0.00,PCH:0.00,***
0!!!LAT:0,LON:0,SPD:0.00,CRT:0.00,ALT:0,ALH:0,CRS:0.00,BER:0,WPN:999,DST:0,BTV:0.00,RSP:0,***
,THH:0+++ASP:0,RLL:0.00,PCH:0.00,***
+++ASP:0,RLL:0.00,PCH:0.00,***

these same values repeats regardless if I got a solid blue (gps fix on the arduimu) or not.
I'm now trying to trace the code itself to see where it is going wrong.

Developer
Comment by Doug Weibel on January 16, 2010 at 8:02am
@Fouad - I got the ArduIMUPilot firmware just far enough along that I could fly with it, but I am not supporting it any more. I am working with the development team to integrate the ability to use ArduIMU with ArduPilot in the regular ArduPilot code. ArduPilot 2.5 has been released as beta. It has some support in it for the IMU, but really I am focusing my efforts on 2.5.1 which is the point where I really plan to support use of ArduIMU with ArduPilot.

You are welcome to continue trying to use ArduIMUPilot, but if you would like support I suggest you wait just a little bit for ArduPilot 2.5.1.

Best Regards,
Comment by Fouad on January 16, 2010 at 8:36am
I will give it one more day or so , in general it is getting me more experienced with the code and the tools.
Meanwhile I'll stay very excited until 2.5.1 is released.
Very good job and good luck.
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