Developer

ArduCopter 2.5 released!

Version 2.5 of the ArduCopter code is now available in the AP Mission Planner and in the downloads area!

 

Enhancements:

  1. The first ArduCopter code release optimized for the APM 2.  Leans and drift should be much reduced or even eliminated for most users.  This was accomplished through a number of core improvements to the DCM implementation by Tridge like this one and this one.
  2. Loiter and waypoint following should be improved due to a D term bug fix, some tuning and the improved DCM performance mentioned above.
  3. On start-up, the yaw heading is updated with first successful mag read (so you should no longer see the slow rotation from north to your actual heading).
  4. Increased output rate to ESCs to 490hz.  This update rate is also user selectable using the new RC_SPEED parameter.
  5. hexa copter stability patch bug fix (should resolve slight flattening when pitching forward and accelerating very rapidly).
  6. improved baro filtering
  7. fix to dataflash logging of Mag heading
  8. addition of H1 swash plate type and bug fix for proactive yaw compensation for collective pitch changes for TradHelis.

 

Tuning:

The default PIDs are optimized for a 3DR/Jdrones quad with 850 motors and 10" props. If you're using more powerful motors/props, start by turning down Rate Roll P in 25% steps.

While some testers have reported very good flights with the default PIDs, some have reported that this release is a little "sharper" due to the DCM improvements and have found they needed to:

     reduce stabilize P by 10% (i.e. 4.5 -> 4.2)

     reduce stabilize D by 30% (i.e. 0.15 -> 0.10)

     increase rate D from 0 to 0.001

Tuning loiter can be tricky.  Refer to the discussions which will appear below for more community feedback on what parameters work best.

 

Please post your feedback in this discussion.  For enhancement requests  and bug report, please add them to the arducopter issues list.  When possible please include logs (tlog and/or dataflash) and tell us whether you're using APM1 or APM2 and what version of the software you're using (presumably 2.5 but tell us anyway!).

 

Thanks for this release go to the developers (both in the core team but also those who have provided bug fixes through the issues list) and also the community members who participated in the previous release thread and provided some great detailed information in the form of issue reports and logs which allowed us to nail some bugs!

 

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

Join diydrones

Email me when people reply –

Replies

  • My update on 2.5.3: ran the same waypoint mission 10 times on my 3DR hexa-- RTL, waypoints (still needs nav tuning!), land, loiter, alt... all working well.  Very good job on 2.5.3 guys!

    Interesting when I looked at the throttle trim value from auto-setting and it was 20 off from my manually-tuned value (512 self-tuned vs 532 auto). In getting a good trim, I manually hover (at least 5m) for about 30sec, switch to alt hold, go back to manual at the slightest dip, and switch back to alt-hold, etc... until I get a good hold. Then, I repeat the exercise while flying around very slowly so it can readjust and fine tune the value for level flight.

    There are still alt jitters in still air (< +-1m), but within tolerance, and likely too stiff of a throttle_rate_P default value (using defaults rate pids for the hexa).  Auto was solid if I was previously in loiter or manual hover then switching to auto. But, when moving (e.g. 1m/s) and switching to auto I either get a 2-3m dip in alt or it would randomly veer off while finding the 1st waypoint. For folks having auto issues: lower you nav's wp speed (make it 2m/s) and lower the nav p setting and see if it's more stable.

    Only other abnomally is an occasional yaw jerk in simple mode. It corrects eventually. Stab mode works fine. Still investigating. Going to upgrade the Y6 to test out this afternoon. 

  • How well should we expect a stock 3dr quad kit to cope with gusty wind? I was having serious trouble trying to manually control mine to stay in one spot this afternoon with maybe a 35km gusting wind. Whenever a gust would hit, it would oscillate, sometimes quite wildly (maybe 40 degrees or so), and sometimes it would take off in one direction or another as a result. 

    I'm running 850kv motors with 10x4.5 props on the latest git 1.5.3 (also tried straight mission planner 1.5.3). I'm just on default PIDs at the moment, tried turning rate_p up to .15 thinking that if it could counter the gust faster that might be good for stability but that just started to jitter so I turned it back to 0.14.

    Where I live it is windy more often than not, so does anyone have any good strategies for PID tuning or getting by in a windy area?

    I am also noticing that the yaw doesn't hold exactly, on previous code sometimes it would yaw significantly clockwise when I gave a boost of throttle, and usually back again when I backed off, even on a calm day. Haven't had a chance to test other than in the gusty conditions today

  • Developer

    For those of you with yaw related issues please see my new blog post. It may help you.

    http://diydrones.com/profiles/blogs/resolved-arducopter-2-5-3-yaw-i...

    If the link is broken just give it a few minutes. I think the blog post is still waiting for approval in the moderator's queue.

  • http://diydrones.ning.com/forum/topics/motors   What would be the noticeable difference having 1100kv motors compared to 880kv motors on a quad?

  • Just took my quad out for it's first real-world flight in the nice Alaskan spring weather (33 degrees F, winds 5mph).

    First, 2.5.3 is pretty solid and responsive (I still have some tuning to do I think with STAB and RATE), and the alt-hold works perfectly again! There is still the throttle-yaw issue, however.

    Loiter was nearly unresponsive and when I switched to loiter mode, the quad decided to go play elsewhere until I called it back (I stopped it when it was about 10m from the loiter set point). I assume this is just a matter of parameter tuning to get it to work properly.

    Also, I imagine the yaw issue will affect loiter performance since the yaw action is not commanded by the Tx, and therefore the quad is no longer aligned to true magnetic directions... just a thought.

    3DR Frame, 880kv, 12x4.5, 3000mah, APM2(AC2.5.3), Default parameters except: STAB P 3.5, RATE P 0.11

  • T3

    I'm quite new to Arducopter but I've had my APM2 board in my octo and now in a quad.  The small quad with 10x4.5 props. 

    With 2.4 firmware I had very good sonar alt_hold.  Held in a range of less then a foot.  Then I changed to the new firmware 2.5 and after two days of reading the forum I had it working ok.  The attitude control was very good.

    Now with the with the 2.53 firmware it won't even fly smooth.  I did a reset and have the new default setting. The sonar will try to hold altitude but goes up and down 4 feet and I have to have the alt_hold Kp set at 4 instead of .5.  Yaw jumps 25 degrees and when I set it back it just jumps back again.  The quad acts like there's some major bug that I loaded with the new firmware.  So far I've broke one arm and around 15 props trying to tune my quad.

    I reloaded 2.53 from a different computer and see no change.

     Is there a way to completely remove the firmware and setting?

    Larry

  • Hi,

    what value i must change to get stable ATL HOLD?

    My config is: Quad 3DR frame set to X, esc from diydrones store, T-motor 2208, 10x45 propellers, sonar.

    With the default pid for alt hold when i fly under 1 meter and activate alt hold the quad fly well and stable at right altitude (under 1 meter) if i fly at 1,70 or more meters when i activate alt holt the quad goes up fast at 3 or more meters.

    I must change throttle rate P or altitude rate P?

    thanks and sorry for my bad english

  • Four good flights on a 3DR with 2.5.2 yesterday until the rain came. Loiter was O.K., RTL kind of worked, but overshot a couple of times before finally settling in and landing (make sure you have a lot of open space for it to land on, and that you can keep yourself in a safe location...), but it did work. Some in-flight video below. This is using a "BOB-4" OSD module controlled by an APM1 in my ground station. I like the fonts over those of the 7456 based units and It let me make an altitude bar for the last 2m (sonar based, so good for the landing on goggles),  reverse video for warnings (towards the end of the video), and simple vector graphics (although no double buffer, so need to always erase then draw).

    Some in flight video is here 

  • Developer

    ArduCopter V2.5.3 - Long Loiter with heavy X8 in strong wind (APM1 - only baro):
    GIT Revision: c25ae4bcaec3

    I do not remember who had asked me a demo with long loiter, anyway here my daily video with my heavy X8 in Loiter for six consecutive minutes, with very strong and gusty wind, without sonar, only baro with the latest fix by Randy.
    And the testing continues.... have fun, without crash!!!
    :-)

    Marco

  • Hi All,

    Thanks to all involved in bringing these continued releases. It is hugely appreciated and allows us to have more fun.

    I updated to 2.5.3 this morning and took it out for a test.

    I Have never had any issues with any of the releases and the defaults have always given me a pretty good flight. Unfortunately this has come to a screeching end.

    I have a stock 3DR quad with 850s and a 3S lipo.waited for 3D fix on GPS

    I've disabled the sonar in the today's flight as it appears to be busted (confimered that there is no varying output voltage with changes in distance)

     - Alt hold is, like someone else said, a pogo stick. Set around 1.5 - 2m height and it bounces from that to touching the ground to shooting some 5-10m above my head before I switched back to stab and recovered. it seemed hell bent on going somehwere.

     - General flight is very poor. Wild oscillations on decent lots of unwanted yaw and drifting. had one minor crash because of it. More on that in a bit.

     - Auto to waypoints does not appear to work. I set 5 points around a field and it sort of headed for one then in the approximate area decided to head back towards me. Seeing as it was not following the route I switched back to stab and tried to recover. Due to yaw and oscillations, I had a small crash - hit the ground in motion and it flipped. No damage though.

     - second attempt at auto and instead of heading to waypoint 1 it went hell-bent off to the left of it and seemed to have no intention of going near it. I aborted before I was out of my depth.

    Went out again this afternoon and normal flight is not very friendly. I had a sneaking suspicion it was going to end in tears so stopped after a couple of minutes. Forward was not really forward, backwards was not really backwards, both had a yaw to them or just went off to the side.

    There is also a drift to the right now. On 2.4 I had a bad drift to the left, lots of trim to correct it. 2.5 it was gone, 2.5.3 it's back but to the right, not as bad though. 

    Not sure what is different but as I said, I have always had a decent flight with the defaults (other than the recent throttle trim thing) but some some reason, the quad is being a bit rude with 2.5.3

    Conditions were chill (10c) with a very very light headwind. Hardware wise, no different from 2.5 to 2.5.3 other than disabled, but still connected, sonar.

    Please please please - it is all constructive. If I were a clever man then I would roll my sleeves up and help. But alas, you lot are better than I and I appreciate the work you're doing towards this. I'm not knocking it at all. Just some feedback.

    Logs from today should be attached. I think 150 would be the longest one from this morning with lots going wrong. Don't know how to tell.

    Cheers,

    Crispin

    2012-03-25 08-28 150.log

    2012-03-25 08-29 151.log

    2012-03-25 08-29 153.log

This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…