Getting Re-Started with ArduPilot Mega IMU

I've followed the instructions on the new ArduPilkot Manual and I"m not able to compile or download to the APM.  Here are the steps I've taken:

 

1. Downloaded latest Beta Code

2. Downloaded and installed latest ver. of Arduino (.21)

3. Re-set sketchbook with new ArduPilot Mega and Library folders

4. Defined GPS as #define GPS_PROTOCOL GPS_PROTOCOL_MTK

 

I tried to complile and download and nothing but errors...

 

ArduPilotMega.cpp:17:24: error: FastSerial.h: No such file or directory
ArduPilotMega.cpp:18:23: error: AP_Common.h: No such file or directory
ArduPilotMega.cpp:19:51: error: APM_RC.h: No such file or directory
...

 

What to do next?

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

Join diydrones

Email me when people reply –

Replies

  • I found the issue,... you might want to say cut and paste the 2 files from the APM_Beta1.0 folder into your newly created Arduino folder. I had unziped and just pasted the APM_Beta1.0 folder inside the Arduino folder. My mistake, but I could see how others may miss:

    "Inside the main folder there should be two folders: "ArduPilotMega" and "libraries". Drag them to the Arduino Sketchbook folder you defined in the previous steps."

    Sorry for the newby questions and we all appreciate everyone's help here on DYI Drones.
  • 3D Robotics
    Sigh. What are we doing wrong? We've spelled this out as clearly as we can in the manual and people still aren't following the instructions correctly.

    As Matthias mentioned, you did not put your libraries in the right directory. You have to follow these instructions EXACTLY.
  • are you sure you moved the libraries folder in the sketchbook as explained here. It seems not to find the libraries
    http://code.google.com/p/ardupilot-mega/wiki/Code
This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…