Uploading Arducopter...

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

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Hi Robert, I will try it ASAP... and keep you informed how it does work! Thanks a lot
  • 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... :-)

  • @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!

  • Are you using the Arduino relaxpatch version?  Do you have the APM libraries copied into the arduino libraries folder?

  • 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

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
More…