Developer

ArduCopter-3.0.1 released!

ArduCopter 3.0.1 has been released and is now available in the Mission Planner, firmware.diydrones.com, GitHub and the new Downloads Area.

Warning #1: Compass calibration and reducing interference is far more important than with 2.9.1b

Warning #2: GPS glitches can cause sudden and aggressive position changes while in loiter mode.  You may wish to reduce the Loiter PID P to 0.5 (from 1.0) to reduce aggressiveness (see image below of where this gain can be found in mission planner).

Warning #3: optical flow is not supported but will be back in the next release (AC-3.0.2 or AC-3.1.0).

Warning #4: loiter turns does not maintain altitude.  This bug will be fixed in AC-3.0.2.

Warning #5: This release has only been lightly tested on Traditional Helicopters.

Improvements over 2.9.1b include:

  • Inertial Navigation for Loiter and Auto meaning much more accurate control (Randy,Leonard,JonathanC)
  • 3D navigation controller follows straight lines in all dimensions between waypoints (Leonard,Randy)

         WPNAV_SPEED, WPNAV_SPEED_UP, WPNAV_SPEED_DN, WPNAV_ACCEL allows configuring speeds and acceleration during missions

  • "compassmot" to compensate for interference on compass from the pdb, motors, ESCs and battery.  (Randy,JonathanC) (Set-up video here)
  • Safety improvements:
    • simple Tin Can shaped Geo Fence
    • pre-arm checks to ensure all calibration has been performed before arming (can be disabled by setting ARMING_CHECK to zero).  (video description here)
    • GPS failsafe - switches to LAND if GPS is lost for 5 seconds
    • stability patch improvements to stop rapid climbs in very overpowered or overtuned copters
  • Circle mode improvements including "panorama" when CIRCLE_RADIUS set to zero (Randy,Leonard)
  • SONAR_GAIN parameter added to allow better tuning of sonar surface tracking
  • CH8 auxiliary switch (same features as CH7)
  • works on PX4 (some minor features still not available) (Tridge,PatH)

How to upgrade:

1. Make sure you are using Mission Planner 1.2.59 or newer (get it here)

2. Click on the MissionPlanner's Hardware, Install Firmware screen.  The version numbers should appear as "ArduCopter-3.0.1", then click the appropriate frame icon and it should upgrade as per usual.

3. Reduce the Loiter and Alt Hold PIDs if you have modified them from the defaults.  The modified PID values for the 3DR frame can be seen in the image below.

Note: Nav parameters have been combined with Loiter so do not be concerned if you can't find them.

3691038784?profile=original

4. Although not directly related to this release, if you purchased an APM prior to March of 2013, update your PPM encoder to the latest firmware (instructions here).

5. Try out the new version in stabilize mode first, then alt-hold, then loiter and finally RTL and Auto.

Numerous How-To videos are available:

Special Thanks to MarcoDaveC and the large number of testers on the pre-release thread who put their copters at risk during the extended testing period.  Some of their videos can be found hereherehereherehere and here.  Thanks also to MichaelO for the MP changes required for this release.

All feedback welcome.  Please put your questions, comments (good and bad!) below.

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

Join diydrones

Email me when people reply –

Replies

  • OK I thought it might be that the SD card was corrupted. But I placed the micro SD card from the Pixhawk into my computer (via a SD card adapter) and I was able to access the contents of the disk with no issues. I then put it back in my Pixhawk and same problem. I'll try another SD card in this Pixhawk and see how it goes. I thought maybe it might be the recent Arduplane firmware update that I just downloaded as well, but I'll keep working on it. Thanks for the advice!

  • Probably your Sd is corrupted, try with a new one.

  • I know that they are supposed to be enabled at all times, but recently my Pixhawk has suddenly stopped recording dataflash logs. It just says that the SD card is empty and there are not files. Do you possibly have an explanation as to why it stopped working? Can the SD card be corrupted somehow and unable to store new dataflash logs? It was working this morning, but now it's not. I did change the value for Log_Bitmask from 8062 to 65535 to get more data stored on the dataflash log, but I am not sure if that is the reason why it is not storing the dataflash logs anymore.

  • Hi David, could you tell me where is motors.pde. Thanks

  • Anything planned on implementing GPS Glitch protection on Arduplane?
    I mean poor mans Gps glitch protection (16 Bit Boards), as it is already available for 32 Bit boards with the EKF.

  • Attention fellow drone fans!

    I found this Hilarious Drone Wipeout Video that i know you guys will love as much as i did!

    https://www.youtube.com/watch?v=TvIPY6TghWU

    Watch, laugh, share the joy!

    YouTube
  • That's it. I just had the issue. I removed all possible option in the APM_Config.h and it goes into the APM. Thanks Randy.

  • @mohsein,

    No need to worry, this is a common cause of concern. Due to Arducopter firmware's extended features, the code size has blown up over time than what APM's flash can handle. You simply have to go to APM_Config.h (or one of the header files where all #defines have been set). Comment the features you don't want (e.g.Camera mount, agriculture spraying, etc.. ), see the file carefully.

    Compile and make sure it does not complain. If it does, carefully comment // more features you can do without.

    Hope this helps!!

    Regards,
    Shyam
    • Hello Shyam

      thank you for your concern about our problem

      i did what you mentioned and i commented many defines that was not necessary for my job

      how ever it did not change any thing and still i am getting this error

      hope to find the solution once

      any help will be appreciated

      thank you

  • hello every body

    i need some body help me with compiling arducopter code that is presented with arduino IDE

    i have a code and i will attach it here that when i want to compile it, i encounter with this error

    actually it is not an error but is an disappointing message that says the memory which has been used is 12 percent more than it is allowed











    Build options changed, rebuilding all

    Sketch uses 291,244 bytes (112%) of program storage space. Maximum is 258,048 bytes.
    Global variables use 5,849 bytes (71%) of dynamic memory, leaving 2,343 bytes for local variables. Maximum is 8,192 bytes.
    processing.app.debug.RunnerException: Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.
        at processing.app.Sketch.size(Sketch.java:1676)
        at processing.app.Sketch.build(Sketch.java:1590)
        at processing.app.Sketch.build(Sketch.java:1509)
        at processing.app.Editor$DefaultRunHandler.run(Editor.java:1915)
        at java.lang.Thread.run(Unknown Source)

    it is the released code and i dont understand what is the problem with that. i expected it to be compiled and gotten ready for upload

    it would be a great kindness of person who help me in solving that

    ArduCopter.zip

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @TinkerGen_: "The Tinkergen MARK ($199) is my new favorite starter robocar. It’s got everything — computer vision, deep learning, sensor…
Monday
DIY Robocars via Twitter
Monday
DIY Robocars via Twitter
RT @roboton_io: Join our FREE Sumo Competition 🤖🏆 👉 https://roboton.io/ranking/vsc2020 #sumo #robot #edtech #competition #games4ed https://t.co/WOx…
Nov 16
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16
DIY Robocars via Twitter
Our review of the @TinkerGen_ MARK robocar, which is the best on the market right now https://diyrobocars.com/2020/11/15/first-impressions-of-tinkergen-mark-robocar/ https://t.co/ENIlU5SfZ2
Nov 15
DIY Robocars via Twitter
RT @Ingmar_Stapel: I have now explained the OpenBot project in great detail on my blog with 12 articles step by step. I hope you enjoy read…
Nov 15
DIY Robocars via Twitter
RT @DAVGtech: This is a must attend. Click the link, follow link to read the story, sign up. #chaos2020 #digitalconnection #digitalworld ht…
Nov 15
DIY Robocars via Twitter
RT @a1k0n: Got a new chassis for outdoor races (hobbyking Quantum Vandal) but I totally didn't expect that it might cause problems for my g…
Nov 11
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10
DIY Robocars via Twitter
Nov 9
DIY Robocars via Twitter
Excellent use of cardboard instead of 3D printing! https://twitter.com/Ingmar_Stapel/status/1324960595318333441
Nov 7
DIY Robocars via Twitter
RT @chr1sa: We've got a record 50 teams competing in this month's @DIYRobocars @donkey_car virtual AI car race. Starting today at 10:00am…
Nov 7
DIY Robocars via Twitter
Nov 6
DIY Robocars via Twitter
RT @a1k0n: Car's view, using a fisheye camera. The ceiling light tracking algorithm gave me some ideas to improve ConeSLAM, and having grou…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: To get ground truth I measured the rug, found the pixel coordinates of its corners, calibrated my phone camera with my standard…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: @DIYRobocars is back in December, but outside. Time to reinvestigate ConeSLAM! I rigged up a quick and dirty ground-truth captur…
Nov 5
More…