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

  • Another solution could be making a y cable from the pdb and plugging in charged battery before unplugging discharged one. As long as the batteries were the same in mah then it should be ok or would the few seccond connection to a discharged battery drain the charged one?
  • Are there any instructions on installing this on the mtk gps?

    http://www.sparkfun.com/products/10317

    Or can I just follow the instructions for adding a battery?

    http://code.google.com/p/ardupirates/wiki/MTK_GPS_backup_battery?ts...
  • Regarding the simple and super simple modes. I have been using what I guess is simple mode because I'm just using iton the ch7 switch. I never fly to close to myself so haven't run into the problems described earlier. Now after reading the wiki about it, I don't think the instructions are clear. Simple talks about flying the compass and pushing forward take the copter north but I think who wrote that might have meant relative north or in other words in the direction the copter was facing. Super simple I've never tried but I'm not sure what the difference would be. In both cases wouldn't pulling the stick back bring it home, assuming you haven't walked away from your launch point. Is the difference in ss mode that you can turn around and pulling the stick towards you would bring it back even if you had turned your body 90 degrees? Definitely seems more intuitive if that is the was ss mode works. Maybe in the wiki there could be some graphic to show the differences.
  • I need some help on tuning my hexa.  I built this hexa for AP purposes.

    I'll try to explain what I want out of my copter.

     

    Alt-hold:

    Alt-hold is working, the copter stays within 1 meter or so.

    The problem is that it reacts too aggressively.  I would like the throttle to be increased in a soft way to maintain altitude.

    Which parameters do I need to adjust up or down to get this kind of effect?

     

    Position-hold:

    When there is some wind, the copter starts to drift immediately.  When it's away from the point where loiter was engaged, the copter reacts very aggressively.  The copter also tends to loiter in circles.

    The same here, which parameters do I need to tune up or down to get better results.

     

    Stabilize:

    It's flying stable most of the time.  Sometimes there are oscillations, but I'm not sure how to judge them. (small osciallations (twitches) vs. bigger wobbles)  They're like in between.  I also get them when descending.

    Which parameters do I need to adjust in what way?

     

    Last question:

    Which parameters need to be tuned in what way (up or down) in general for a AP setup?

    There might be typical adjustments for smoother AP flight. (I know parameters need to be adjusted to different setups and payloads, but just in general)

     

    I really need help on tuning.  It really is not that easy, even when everything is explained in the Wiki pages.

     

    Thank in advance!

  • Moderator

    I have been getting a violent twitch on the roll of my Tricopter, it only happens when I am very slightly touching the sticks in order to hover, if I let go it doesnt happen and if I am flying it doesn`t happen? I thought it may be the dynamic gain on the Stab D parameter and have changed it several times and whilst it seems to be less violent it still happens?

    In fact a few days ago it flipped several times and into the deck for no apparent reason? I was just hovering after probably ten minutes of auto mode and some hard flying. Has only flipped the once with months of the same settings and hasn`t done it since?

    Any ideas would be welcome?

  • I have a question about Simple Mode.

    Last week I had a "hard landing" because I kind of lost orientation in Simple Mode, de copter was not reacting like I thought it would react.

    Only now I realized other multicopter systems use 2 different kind of Simple Modes, see picture below.

    3692430928?profile=original

    What kind of Simple Mode does AC use?  "In Course lock" or "In Home lock"? Or can you actually choose in MP?

    I always thought that pulling the stick back would bring it back home, no matter what direction the copter is in.  It didn't, it reacted in a different way resulting in a hard landing. 

  • Hi all!

    Don´t be afraid, I will soon stop writing about my testflights here.Watch instead videos by Marco, Chris, Chris...

    But I am proud of my progresses!

    Lars

     

  • The Maidenflight of my 3DR Hexa...

    PID = standard... just stab P --> 4.2 --> 4.1 --> 4.0

    Wind is a huge problem... the Hexa shake really much...

    Standard PID Settings dont work for me ;-((

    Code 2.5.5.

    Standard Parts (850KV motors)

    4s Lipo

     

  • Developer

    Images from Google Earth of my results with U-Blox GPS unit prototype:

    Hi all!
    Just for comparation with the images posted here by Chris (MTK GPS) this is my results with U-Blox GPS unit, judge yourself.
    The first image is the Loiter of my latest video, the other one two AUTO mission (in the same flight) with 5 waypoint and autoland at the end.
    In both test the wind is 8<->10 MPH, the autolanding at the end of this two mission has a maximum error of 4 meters from the point stated.
    Chris has conducted the tests with more wind, tomorrow I will try the same mission with both the gps unit.
    It's time to leave MTK if you want more accurate results (imho).

    Bests, Marco


    Loiter with U-Blox GPS
    3692430088?profile=original
    Auto Waypoint
    3692430464?profile=original

    Two AUTO mission with U-Blox GPS
    3692430509?profile=original

  • Hi,

    For the past few days my log is not working anymore. When I try to pull the log it will shown the bellow:

    ArduCopter V2.5.5] logs logs enabled:  ATTITUDE_MED GPS PM CTUN NTUN CMD

    96 logs

    Log -1791,    start 1,   end 1

    Log -1790,    start 1,   end 1

    Log]

    ys negative, and there is no informations.

    My hardware is APM2. I tried erase logs, erase eeprom, reset factory default, upload new firmware, upload fw using arduino. Tried latest code from GIT with new dataflash erase method, pul the dataflash and put it back.

    My hexa flew well, it just I need the log to help me with analyze my copter.

    Any idea what else I should do?

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @breadcentric: See how the April AWS DeepRacer races have ended and a couple bits of news: https://blog.deepracing.io/2021/05/09/aws-deepracer-league-2021-update-11-end-of-april-special/ #AWSDeepRacer #Machin…
22 hours ago
DIY Robocars via Twitter
RT @sunilmallya: Representation Learning +Instance Transfer to learn new reward functions along with advantage based filtering of new exper…
yesterday
DIY Robocars via Twitter
Apr 27
DIY Robocars via Twitter
Apr 27
DIY Robocars via Twitter
RT @f1tenth: Sliding (autonomously) into the weekend like ... 🤖😎 #f1tenth #robots #AutonomousVehicles @OpenRoboticsOrg @NVIDIAEmbedded @Aut…
Apr 25
DIY Robocars via Twitter
RT @chr1sa: One of the problems with autonomous car racing is that watching software drive is not a very exciting spectator sport. To help…
Apr 25
DIY Robocars via Twitter
RT @SmallpixelCar: Replaced AGX Xavier with @NVIDIAEmbedded Jetson Xavier NX. Now both cars look fast and clean https://t.co/jlcoY2EjZf
Apr 25
DIY Robocars via Twitter
RT @chr1sa: Yesterday we had a record number of competitors (36) in our monthly @DIYRobocars virtual autonomous car race. We kept it going…
Apr 25
DIY Robocars via Twitter
Apr 16
DIY Drones via Twitter
RT @chr1sa: After more than a year of only virtual races, @DIYRobocars returns to the newly renovated @circuitlaunch on May 22 for the resu…
Apr 11
DIY Robocars via Twitter
RT @DAVGtech: And now available with LiDAR 🔥 https://twitter.com/Heavy02011/status/1381137016381964293
Apr 11
DIY Robocars via Twitter
RT @Heavy02011: #VirtualRaceLeague: @DIYRobocars Race #9 - #ParkingLotNerds #thunderhillracetrack, CA Join us for the next race April 24th,…
Apr 11
DIY Robocars via Twitter
RT @DWalmroth: Weather's finally cooperating, looking forward to racing 1:10 scale autonomous cars outdoors again! @diyrobocars, @NVIDIAEm…
Apr 7
DIY Robocars via Twitter
RT @AIDRI_: I finally succeeded in optimizing the trajectory and speed of a car on a #racetrack. Next step: implement a 2d controller and…
Apr 7
DIY Robocars via Twitter
@jetdillo @circuitlaunch Actually the second *in person* event in a year. We do virtual races every month
Apr 2
DIY Robocars via Twitter
Update: we're moving it back one day to Sunday (the 4th) at 11:00am instead
Apr 2
More…