Hi,

 

I am having some trouble getting the code to compile.

I downloaded the ACM 2.0 Beta, then dropped the libraries off in Arduino-->libraries folder. I then opened, and added: #define MAG_ORIENTATION AP_COMPASS_COMPONENTS_DOWN_PINS_FORWARD to the APM_Config.h file in the Arduino IDE. Then I tried to compile the code, and it would not compile.

 

I have the error message in the picture attached. I think that I have not listed also the neccary defines, if this is the case where can I go to see all the options that I should have to put in APM_Config.h file?

 

Thanks

Tags: 2.0, ACM, Arduino, Compile, error

Views: 85

Attachments:

Reply to This

Replies to This Discussion

Can you compile without the change in APM config?

If not, something is wrong were you have put the APM libs

No, I can't. I still get that same error. How/where are the libriaries meant to be placed? 

I usually create a folder for each project/code setup.

Something like this:

ACM

--Arduino-022 

  --Libraries (copied from the Arducopter 2 Beta 1 libraries)1

--Arducopter 2 Beta 1

  -- ArducopterMega

  -- Libraries

--APM Mission Planner

 

It works for me like that.

Emile

I did manage to get it to compile, but I had to change the sketchbook location from the Arduino folder to the folder with ACM 2.0 in it. Strangly, ArduCopterMega was in the Arduino folder already,  but it did not seem able to find it.

 

Thanks for the help.

Yea Kinda tricky I agree when it comes to up dating arduino with new AC2 firmware.  I like going to the trunk now and down loading just the files needed to update my AC2 firmware.  Lot easier that downloading the zip file and doing that mess everytime an update is released.

RSS

Social Networking

Contests

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.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service