Hi all,
I am a newbie to this UAV thing so I am on a steep learning curve, hence my questions.
I have an Ardupilot and an Arduimu set up in an aircraft and after lots of trial and error seem to have it working properly however I am puzzled by the behavior of the blue leds on the GPS, the Arduimu and the Ardupilot boards.
When I power up the setup all three leds are flashing, the Arduimu goes through its start up routine and settles down with the yellow led on and the blue one flashing as is the led on the Mediatech GPS. The blue led on the Ardupilot shield board goes solid blue at this time and stays on.
Eventually the GPS will get a lock and its blue led goes solid but the one on the Arduimu board continues to flash. If I re-start the Ardimu board it finishes up with both yellow and blue leds on solid. At this point the whole system appears to be working properly - control switch position 1, the controls only work with the transmitter sticks, control switch position 2, the controls work both with the transmitter sticks as well as moving while tilting the model nose up - nose down etc. and I think I would be happy to test fly it.
My question is does the behavior of the leds typical for this configuration? and what are the implications with regard to storing the home GPS point? When does it do this?
Tags:

Thanks Evan, the 2 folders in the ArduIMU folder are named 'arduimu' & 'libraries', is that what you're referring too?
Permalink Reply by Evan Evans on October 6, 2011 at 7:48am Hi Graham, yes they are the ones, as I said I have all the Arduimu files from 1.7 in there but the only one that shows up when I go File-sketchbook is the one without any extras ie just Arduimu. so if you copy the Arduimu_1_8_2 file into there you will have to rename it to just Arduimu before Arduino will recognise it and open it. Rename the libraries directory that is there to something else and copy in the libraries directory and contents that is archived with Arduimu_1-8-2 zip. Make the changes provided by Andrew in Arduino API to Arduimu and things should compile fine
Cheers,
Evan

OK, thanks guys, I managed to get rid of that compile errror, I had renamed AP_GPS to AP_GPSxxx and created a new folder called AP_GPS but this wasn't showing up in my sketchbook options.
LOL, now I get these:
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp: In member function 'virtual void AP_GPS_Auto::init()':
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp:40: error: 'delay' was not declared in this scope
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp: In member function 'virtual bool AP_GPS_Auto::read()':
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp:73: error: 'millis' was not declared in this scope
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp: In member function 'GPS* AP_GPS_Auto::_detect()':
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp:118: error: 'millis' was not declared in this scope
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp:194: error: ISO C++ forbids declaration of 'type name' with no type
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp:194: error: ISO C++ forbids declaration of 'type name' with no type
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp:194: error: expected primary-expression before 'const'
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp:194: error: expected `)' before 'const'
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp:195: error: ISO C++ forbids declaration of 'type name' with no type
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp:195: error: ISO C++ forbids declaration of 'type name' with no type
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp:195: error: expected primary-expression before 'const'
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp:195: error: expected `)' before 'const'
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp:196: error: ISO C++ forbids declaration of 'type name' with no type
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp:196: error: ISO C++ forbids declaration of 'type name' with no type
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp:196: error: expected primary-expression before 'const'
C:\My Documents\Arduino\libraries\AP_GPS\AP_GPS_Auto.cpp:196: error: expected `)' before 'const'

Renamed 'AP_GPS_Auto.cpp' to 'AP_GPS_Auto.cppx'
and 'AP_GPS_NMEA.cpp' to 'AP_GPS_NMEA.cppx'
...and It COMPILES!!
Thanks again guys, will test soon.
Graham
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.24 members
207 members
58 members
1355 members
88 members
© 2013 Created by Chris Anderson.
Powered by
