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!

 

Tags: ACM, APM1, APM2, Heli, Quad

Views: 115195

Reply to This

Replies to This Discussion

Hi all,

After a few weeks without flying I upgraded from 2.5.3 to 2.5.4 yesterday. My last flight on 2.5.3 was very good. My first flights on 2.5.4 have shown sudden rapid changes in pitch and roll (seen on log) while in slow hovering flight, enough to crash depending on altitude (1 to 2 meters there's sometimes enough time to recover). 

I realise that this may be motor brownout and the new version could be coincidence. 

Flying APM2 standard 3DR frame  880kv motors, 12x4.5 props. Default PID except for Rate P which I have reduced to 0.10 (in flight tuning on 2.5.3) - have yet to tune anything else. 

Could this conceivably be software / PID related? 

Is there any way to see motor brownout on the logs? Do the default logs include APM output to the ESC's or user control input? The roll/pitch input on the current logs certainly don't match the sudden pitching of the quad. 

I have attached a log of this mornings very short flight, the major roll/pitch is clearly visible. 

Then also a general question on logs. When is a log started and ended? Is this determined by throttle min and max or by the arming of the motors? 

Thanks 

James

Attachments:

James,

Did you do a new setup after upgrading? It's important to do the compass calibrations (Live Calibration recommended), too. The compass is now a much bigger part of attitude calculation.

Logs are started at power-on, I think,

Hi Chris

Yes I did. Can this affect Roll and pitch though? Would have thought only yaw? 

James

Yes, the compass is a three-axis device. Can you try flying again with the default settings? It's working great for me on that same frame.

ok, recalibrated the compass again and did a test flight. Displayed compass heading seems a bit more accurate than it was - changed about 15 degrees

Flight more stable. Not seeing the sudden roll/ pitch changes anymore, but sudden increases / decreases in thrust to all motors. 

In my test flight I had a sudden loss of power to all motors (say about 0.25 seconds, so a quick drop and correction, and the drop in motor power is audible. I then landed the quad, and as I was throttling up to take off, there was a sudden increase in throttle which hopped the quad off the ground about 10 to 20 cm, then returned to my input level. This is better than it was as the quad at least remains level

In six to seven minutes of flight this happens maybe 3 times or so. 

Have attached logs. Ignore the sudden roll at the end of the log. Battery ran out on takeoff!

Also flew a bit in alt hold on this test, seems to be ok, although I did see a slow decrease in altitude on one test.

Thanks 

James

Attachments:

A good chance your radio connection has a faulty wire.

Jason

Thanks Jason, will check. I assume you mean server wire between receiver and APM2? 

James,

     Do you have an xbee?  If you do, can you make sure the wiring from the xbee is far away from the receiver and radio input wires?  Also if you have a ferrite ring can you wrap it around the xbee cables?

     alternatively can you try disconnecting your xbee and see if the problem persists?

James: Are you using an Xbee or 3DR radio? We've had occassional reports of throttle drops and cutout in the past, and they've usually turned out to be due to Xbee interference (solved by moving the Xbee further away)

Hi Chris, Randy.

No Xbee or other add-ons as yet

Hitec Aurora 9 radio

James

Hi Guys

Replaced servo wire between receiver and APM2 (Channel 3 - thrust) and seems to have helped. Completed entire test flight without any drops in thrust. Thanks for the help, will let you know if the problem occurs again.

Just goes to show it's often the simplest things!

James

Hi Norman,

Thank you for the tip. I am new to quadcopter and have loaded the new version of apm planner.

regards Pierre.

P.S. I should read all the the tips on the forum more often. thank again

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service