Hi, I'm new to this forum and to Ardupilot too. I'm going to install it on Hirobo Shuttle helicopter, but I encountered some issues during installation of the firmware.
More in detail,I have an ardupilot mega platform provided with ATmega 1280, and I know it's not possible to install Arducopter 2.4 on this platform, so I downloaded the version 2.3.
Going through Arduino I'm trying to upload version 2.3 but nothing, it seems that the downloaded code is misssing something or I'm missing some steps.
The errors are like " AP_16 is not a name type" and occurs where uploading the "parameters.h" part of the code.
I followed all the steps suggested in the proceduire (like putting the downloaded folders in the sketchtool folder ofArduino)...but nothing.
Is it possible to upload the code through the Mission planner even if its not the latest version?
Thank you all
F.Vicari
Tags:
Permalink Reply by Don Brooks on February 23, 2012 at 2:29pm 2.4.1 is actually smaller than 2.3. It should fit into a 1280 if you explicitly define the GPS type.
In APM_Config.h make sure these lines are included:
#define FRAME_CONFIG HELI_FRAME
#define GPS_PROTOCOL GPS_PROTOCOL_MTK16 (or #define GPS_PROTOCOL GPS_PROTOCOL_UBLOX depending which GPS you have).
Arduino tells me Binary sketch size: 126714 (of a 126976 byte maximum).
The error you have seems to indicate that your folders aren't set right.
It should be set up like this:
C:\...pathname to whereever\sketchbook folder
within that make sure you have:
C:\...pathname to whereever\sketchbook folder\arducopter
C:\...pathname to whereever\sketchbook folder\libraries
Permalink Reply by Don Brooks on February 23, 2012 at 2:31pm The short answer to your real question about installing old version with mission planner, is no, you cannot.

Are you using the Arduino relaxpatch version? Do you have the APM libraries copied into the arduino libraries folder?
Permalink Reply by Ferruccio Vicari on February 24, 2012 at 11:59am @Robert, yes I'm using Arduino-0100-relax, running on windows XP SP2. I followed the exact procedure suggested by Don, and tried also to put APM "libraries" into Arduino libraries folder, but nothing. Anyway I succesfully uploaded the 2.4 version of Arducopter on my board, using mission planner, but it's very important for me to manage the code since I have a 90° swashplate on my test helicopter, so I have to upload "manually" my modifications.
I apologize for my "stupid" question...but I'm a Finite Element aerospace Engineer and it's the first time I play with this stuff...morevoer if you suggest me a "dummy proof" tutorial to understand more in detail Arduino I will appreciate it very much :-)
Thanks to all!

Ok, here's a "for dummies guide" ;)
1)Download this:
http://code.google.com/p/ardupilot-mega/downloads/detail?name=ardui...
2) Unzip it
3) Download this:
http://code.google.com/p/ardupilot-mega/downloads/detail?name=Missi...
4) Unzip it.
5) Put both of those into a directory somewhere.
6) Go into the Libraries folder of the Arduino folder, and delete everything except the SPI library folder.
7) Go into the Arducopter/libraries folder, and copy all of the library folders, and paste them into the Arduino/libraries folder. Make sure the SPI is still there.
8) Load up Arduino, set your sketchbook folder, Open up Arducopter.pde. Go into APM_Config and set that up.
9) Compile.
This should work. If it doesn't let me know. I've struggled with it before, and it's always the libraries that trip me up. For some reason over-writing the libraries doens't work. You have to delete them, and copy the new ones in, but you have to keep SPI. I don't know why.
Ferruccio, do you have a workable program for the swashplate? Are you talking about H1, or a 90° CCPM?
Permalink Reply by Ferruccio Vicari on February 25, 2012 at 5:33pm Robert, THANKS a lot! Now Arduino is running well!! My test helicopter has a 2 servo swashplate (H1), so collective, roll and pitch are decoupled each other. I currently have some ideas on how the code should be modified in order to configure this (old) kind of swashplate, so let's try... :-)

Do you have Skype? We should talk.
Try downloading this and giving it a shot!
http://code.google.com/r/robertlefebvre-wip/source/browse
I don't have an H1 to test it on!
Permalink Reply by Ferruccio Vicari on February 27, 2012 at 3:01am 
Oh, I have to tell you, don't install my current clone. It got broken on the weekend when I merged the latest trunk back into it.
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.1288 members
24 members
78 members
51 members
682 members
© 2013 Created by Chris Anderson.
Powered by
