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?
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:
--Libraries (copied from the Arducopter 2 Beta 1 libraries)1
--Arducopter 2 Beta 1
--APM Mission Planner
It works for me like that.
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.