Developer

ArduCopter 2.9 / 2.9.1 released

ACRO bug (fixed in 2.9.1b): while doing flips in ACRO mode, if you switch to Stabilize while inverted your throttle will go to minimum.  To regain throttle control you need to switch back to ACRO then back to Stabilize again (i.e. switch to stabilize twice).  You never lose control of roll/pitch/yaw.

Loiter/AltHold/Auto/RTL bug: if you switch into these modes with throttle at zero motors will go to minimum until you raise the throttle.

Auto mode altitude bug (fixed in 2.9.1b): setting a waypoint altitude greater than 320m over home altitude may wrap around and instead be interpreted as a low altitude.

ArduCopter 2.9 is now in the mission planner and the downloads area!

The major improvement is we use inertial navigation to improve altitude hold.  This increased reliance on the accelerometers means you must do some additional set-up before flying:

1. Perform the new accelerometer calibration in the mission planner (video).  The auto-trim metho has also changed (video).

3690987999?profile=original

2. Add vibration dampening foam between your frame and the APM.  Some suggested materials: DuBrogelhk foam.

3690988058?profile=original

 3. If upgrading from 2.8.1, modify the throttle and altitude PID values:

  • Increase your Throttle Rate P, reduce I to zero, increase D
  • Increase Altitude Hold P, reduce I to zero
  • Tune Throttle Accel P and I terms but try to keep P about 1/2 the size of I

3690988113?profile=original

 

Here is the list of major changes (a more detailed list can be found in the release notes):  

  • Alt hold using inertial navigation (Leonard, Randy, Jonathan)
    • AUTO_VELZ_MIN, AUTO_VELZ_MAX parameters control the max climb/descent rate for the autopilot (cm/s)
    • PILOT_VELZ_MAX controls max climb/descent rate for the pilot (in cm/s)
  • Landing improvements (Leonard/Randy).  Copter will descend to 10m or until an object is sensed with the sonar.  Then slows to 50cm/s descent (speed can be adjusted with LAND_SPEED parameter). (video).
  • Surface tracking with sonar (Randy/Leonard).  Copter will attempt to maintain current distance from objects in front of sonar regardless of altitude.  Only used in alt-hold and loiter, not used for missions.  Sonar can be enabled/disabled with CH7 switch. (video)
  • Failsafe improvements (Randy/Craig/John Arne Birkeland) including bug fixes, additional check for PPM encoder failure and implementation of battery failsafe.  Set-up instructions are here.
  • Mediatek gps driver accuracy improvements and use of SBAS [Craig].  Instructions on upgrading your mediatek to firmware 1.9 are here.
  • Traditional Heli improvements (Rob) including (a) bringing heli code back into the fold, (b) enabled rate controller (previously only used angle controllers). (c) fix to rotor speed controllers - now operates by switching off channel 8.  (d) allow wider collective pitch range in acro and alt hold modes vs stabilize mode  (e) bug fix to allow collective pitch to use the entire range of servos
  • Acro trainer (Leonard). Copter will return to be generally upright if you release the sticks in acro mode.
    • ACRO_TRAINER : set to 1 to enable the auto-bring-upright feature
    • ACRO_BAL_ROLL, ACRO_BAL_PITCH : controls rate at which roll returns to level
  • Camera control improvements (Randy/Sandro Benigno):  (a) AP_Relay enabled for APM2  (b) Trigger camera with CH7 or DO_DIGICAM_CONTROL command  (c) Allow pilot override of yaw during missions and fixed CONDITIONAL_YAW command.
  • PPM sum support for transmitters with as few as 5 channels (Randy/Tridge/John Arne Birkeland).
  • Performance and memory useage improvements (Tridge).

 

As per usual PIDs are optimised for the 3DR/jDrones quad with 850 motors and 10" props. If you're using more powerful motors/props and are seeing bad flight behaviour in stabilize, start by turning down Rate Roll P in 25% steps.

Special thanks to our testing team lead Marco and the dedicated bunch on the 2.8.1 release thread who put their copters at risk while testing the pre-release version.  Some of their videos are here: 1 2 3 4 5 6 7 8

Please feel free to report issues you find in the discussion below and/or add them to the issues list.

 

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

Join diydrones

Email me when people reply –

Replies

  • Help Team, Ok My 1st log or my Z data, I have my APM 2.5 mounted to triple layer of double sided sticker rubber its one solid piece, my frame is a DJI 450 spinning 980kv SSky's, this was logged while Im still tweaking my PID's in gusty windy weather

    Do I have too much vibes going on?3692600804?profile=original

  • For most of the people who have tried auto-land and usually do it, does the default descend rate of 50cm/sec work fine? Or you need to reduce it? I want my quad to touchdown very lightly and smoothly as I fly on tarmac. What is the ideal rate that the experts suggest?
  • Exactly. This is how I avoid this issue. I let the Quad hover in acro just under mid stick. I start to drop VERY slow and kick on Loiter/ALT_HOLD. Cannot even hear the transition. 750KV on large 4S. 2.9 is far superior to 2.8. I have done Autolands in the tightest spaces, hands off, transmitter down, motors stop. On 2.8 this was not pretty.
  • What is you Loiter D set at? What is your setup?
  • I experienced motor stopping momentarily after switching to loiter.

  • I put this in another post, but it seems to have been passed over somewhat.  I've not received any kind of response to it.  Forgive me for posting it again.

    When I switch into loiter at speed...it will overshoot for a bit, then go into a large correction...expected.  It will then overshoot by a large amount, and have a large correction...it will oscillate around that point for 5 or 6 cycles before settling down to where the corrections are smaller and it will eventually settle down and find it's spot.  I've adjusted Rate loiter P gain both up and down, Rate Loiter I gain both up and down.  I've not been able to improve things from the default settings.

    I'm not sure if I'm asking too much of Loiter or if I should expect it to behave the way it does.  Note; this is NOT when it is hovering and I engage loiter, this when the copter is in fast motion...maybe 20 mph or so?

  • Hello all and thanks for continuing the development of arducopter software.

    Howewer I am experiencing a problem after the 2.9 upgrade.

    When changing Stab_P to 0 for tuning.
    After power cycling the APM it will load the default Stab_P = 4,5.


    Have tried reflashed firmware on the APM 2.5, erased EEPROM but nothing.

    Any thoughts on this ?

    Best regards

  • Today, I had nigh accident at altitude 100 meters by GPS lost about 2-3 sec but i change to ALT_hold and still under my control. I have video on my arducopter please look at 3.10 mins is begin have gps lost signal.

    3692600612?profile=original

    2013-01-24 19-11 3.log

    2013-01-24 18-39-41.tlog

  • I will let you know how it goes! I cannot justify the kind of money to upgrade my WKM to multi waypoint. But I have been searching and have not found any settings that have been done that I can trust. If you dump a DJI 450 its minor. Props on S800 are $35USD+ so I want to be extra careful. :)

    Thank you. jeff
  • A little off topic. Since I am very confident in 2.9. Successfully put on 3 small Quads without incident, am thinking of putting on my DJI S800

    Does anyone know of someone who has successfully tuned in S800 which, as you know, is significantly larger than my DJI's 450 and 550?

    Thanks!! JEFF
This reply was deleted.

Activity