Hi All,

I've been trying to make a start on learning Ardupilot development by compiling the Arduplane code and playing around with some of the examples in the Ardupilot library. But I haven't been able to get anything to compile using the Ardupilot/Arduino tool chain (v 1.0.3), however the stock Arduino 1.0.1 seems to work fine.

What I've done is this:

  1. Downloaded the latest Ardupilot version of Arduino: http://code.google.com/p/ardupilot-mega/downloads/detail?name=ArduPilot-Arduino-1.0.3-windows.zip&can=2&q=
  2. Followed the Arduino install instructions at: http://code.google.com/p/ardupilot-mega/wiki/ProgrammingSettingUp
  3. Followed the Arduplane download and setup instructions at:http://code.google.com/p/ardupilot-mega/wiki/Code
  4. The sketch book location is set to E:\dev\Arduino

When I compile using Ardupilot-Arduino 1.0.3 I get errors like this one

In file included from E:\dev\arduino\libraries\FastSerial/FastSerial.h:56,
                 from AP_InertialNav_test.pde:7:
E:\dev\arduino\libraries\FastSerial/BetterStream.h:14:20: warning: Stream.h: No such file or directory

But when I try compiling & uploading with my previously installed copy of standard Arduino 1.0.1 it seem to work fine.

Does anyone have any idea about what I am doing wrong?

Ardupilot-Arduino 1.0.3 says it has modifications needed for Arduino. Is this the case? What are they?

What environment are most people using for Ardupilot development? Eclipse, AVR Studio?

Thanks,

Ivan Vuletich

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

Join diydrones

Email me when people reply –

Replies

  • Developer

    Ivan,

         Just stumbled across this discussion.  I've updated this wiki page regarding compiling the code.  In particular check out the bit about selecting the board type.

This reply was deleted.