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.

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.

Views: 385215

Reply to This

Replies to This Discussion

Hey Leonard,

I can't hook up to mission planner right now as I am traveling without that quad, but I can verify there is no throttle mixing between it and the mode switch.  I had a look at the tlog for that flight and can see why you think that, it's pretty curious when I compare chan3_raw to chan5_raw.  I can't explain why the APM thinks I am lowing the throttle or raising it between those flight modes, but I am 100% sure the radio is not mixing those channels.  I'll definitely have a look when I get home on Saturday.

I attached a few pics; it is an ADS 400-Q which has a clean-frame/dirty-frame setup similar to the QAV platforms (in fact, I used QAV bobbins because I don't like the bobbins that come with the kit) and I used the 3DR foam mount tabs, one in each corner of the APM, inside the clean (anti-vibration) frame.  The arms are not flexible.  Wondering what has you thinking about that or possible flexible arms, do you had further feedback there?  I know vibration isolation is a real big thing since 3.0.1 but you almost have me wondering if for AutoTune you're going to suggest removing those?

Josh

Attachments:

@Gustavo,

Yes, you can power the receiver from a separate source, just make sure that the receiver, its power supply and the APM all have a common ground (rtn).

Your receiver sure is power hungry. I would expect most receivers to consume under a 100ma which well within the capabilities of the PM and would not make a dent in the PM Vcc output.

Regards,

TCIII ArduRover2 Developer

Do you know how to compile and load code onto the APM?

Post the log with a detailed description of the quad. A couple of pictures of the frame and the APM mounting would also be helpful.

We have found that on frames with soft arms or really soft mounting of the APM the Autotune aborts because it reaches dangerously low values for Rate P.

The P = I is deliberate. It defines how quickly the copter reacts to a constant outside force like when you enter fast forward flight. I recommend I = 1 to 4 times P but we use the conservative number by default.

Post the log with a detailed description of the quad. A couple of pictures of the frame and the APM mounting would also be helpful.

We have found that on frames with soft arms or really soft mounting of the APM the Autotune aborts because it reaches dangerously low values for Rate P.

Can you post a log for me to take a look. The specifications of the copter would also be great.

Provided your original pids can recover from any attitude, Autotune is pretty safe because it doesn't keep the tuned values loaded all the time. Instead it loads them just before the twitch then reloads the originals to ensure a safe recovery.

So I would say, if you are nervous, pick a very calm day and do the tune at about 20 meters to give the copter plenty of time to recover if something does happen. (But it shouldn't unless your original gains aren't able to recover)

You are correct Steve, you don't need to cycle Ch7 to save the autotune. Just land with the switch in the HIGH or tuning position.

There are three things I think mess up auto tune. soft arms, over soft APM mounts and very bad CG.

I would be tempted to try a firmer mount on your APM. I use 4mm double sided foam on all my copters. And I cut it to cover the whole underside of the quad so it is quiet firm!

Here is what I use:

http://www.hobbyking.com/hobbyking/store/__8999__Peel_n_stick_foam_...

Your pitch looks fine but it looks like you may have some movement in your roll axis of the APM.

hi glenn,

kindly check your boards vibration. I come across this kind of thing before but after fixing that vibration problem it all gone. loiter and althold is great! I just hope we have the same problem though.

Finally had a chance to try out autotune on my quad, the results were spectacular, wonderful job Leonard, can't thank you enough.  The whole process completed in about 3-4 min and I had to re-position twice.

The frame is a Tarot 650 and the APM is glued to 4 small pads of moongel and held with 2 rubber bands.  I was concerned that this was too soft but she flies like a dream now.

I found it interesting that rate roll P (.0950) and rate pitch P (.1200) ended up quite different from each other. The values were locked together before.  It seems to make sense though since I have a camera and gimbal up front  and the battery balancing that out in the rear, all of which is hanging under the belly.  Thus it should take more uumph to pitch than roll.

I am happy you like it Dean!!

I was also pleasantly surprised that my stock 3dr quad with 4500mAh battery was different in pitch and roll and the only thing that it could be is the orientation of the battery. Goes to show how critical the weight distribution is on multirotors!

Generally it looks like we have Rate P too high, Rate D too low, and Stab P too low for the defaults on the APM. Better ones might be something like 0.1, 0.008 and 6. Something I will have to play with when I get a chance.

The really cool thing about Autotune is that we can now compare the tuning values for a whole range of different copters using a consistent tuning method. This should really help us set up our defaults!!!

Reply to Discussion

RSS

Groups

Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service