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
Permalink Reply by Vincent Mees on May 10, 2011 at 1:37pm Can you compile without the change in APM config?
If not, something is wrong were you have put the APM libs
Permalink Reply by Sean O'Connor on May 10, 2011 at 1:40pm No, I can't. I still get that same error. How/where are the libriaries meant to be placed?
Permalink Reply by emile on May 10, 2011 at 2:11pm 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
Permalink Reply by Sean O'Connor on May 10, 2011 at 2:14pm 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.
Permalink Reply by Russell B. Sutton on May 10, 2011 at 3:49pm
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.203 members
24 members
720 members
1355 members
207 members
© 2013 Created by Chris Anderson.
Powered by
