Haven't used Arduino to compile any code for a long time, but had no issues in the past.

First problem: need help with ArduPlane 2.2.8, it won't compile in (the latest) Arduino environment, even if I did not touch the APM2 code at all. It has about a hundred errors. I just downloaded ArduPlane 2.2.8 and opened it in Arduino and it wont verify. I am sure there is a simple explanation. I have APM2 wit the USB connected and radio/servos, and works with latest MegaPlanner without any issues.

However, the untouched ArduPlane 2.2.8 code won't compile in the first place.

Would appreciate any suggestions why it may not compile in the first place....  I attached all the error codes in a file, and these are the first few ones below:

ArduPlane.cpp:29:39: error: Arduino_Mega_ISR_Registry.h: No such file or directory

ArduPlane.cpp:32:46: error: I2C.h: No such file or directory

ArduPlane.cpp:36:72: error: AP_AnalogSource.h: No such file or directory

ArduPlane.cpp:37:63: error: AP_PeriodicProcess.h: No such file or directory

ArduPlane.cpp:38:59: error: AP_Baro.h: No such file or directory

ArduPlane.cpp:41:76: error: AP_InertialSensor.h: No such file or directory

ArduPlane.cpp:47:24: error: ModeFilter.h: No such file or directory

ArduPlane.cpp:48:41: error: AP_Relay.h: No such file or directory

ArduPlane.cpp:49:47: error: AP_Mount.h: No such file or directory

ArduPlane.cpp:51:22: error: memcheck.h: No such file or directory

ArduPlane.cpp:1807:28: error: Mavlink_compat.h: No such file or directory

In file included from ArduPlane.cpp:58:

Parameters.h:350: error: 'RC_Channel_aux' does not name a type

Parameters.h:351: error: 'RC_Channel_aux' does not name a type

Parameters.h:352: error: 'RC_Channel_aux' does not name a type

ArduPlane.doc

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

Join diydrones

Email me when people reply –

Replies

  • Thank you for the tip. That makes sense. I have not used my Arduino compiler for several months. 

    Apparently under the new Arduino 1.0 Windows the libraries were changed around, now my old ones won't work and importing is not working.

    This obviously huge change doesn't seem to be documented well...or may be I am getting dumber.

  • It is a simple problem. Arduino can't find the libraries. You meed to copy the libraries folder into the your main arduino folder.

This reply was deleted.

Activity

DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…