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:
3. If upgrading from 2.8.1, modify the throttle and altitude PID values:
Here is the list of major changes (a more detailed list can be found in the release notes):
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.
Thanks for the reply. What I am seeing on my tricopters is the left lean in the horizon after calibrations. When I lift off of course it is leaning left quite a bit. I assume its because it thinks level is left of center due to the horizon lean. I compensate in the radio with Trim to right. It works and corrects the left lean on takeoff, obviously it doesn't fix the left lean in the horizon but allows me to fly the tricopter and the tricopter takes off level after I correct with radio trim right. The tricopters is balanced, no vibrations and I have been flying them for sometime now on 2.8.1. with no issues at all. I have the APM mounted on the dubro foam and it is leveled on the frame and when I calibrate I do it on a level surface. If the rain lets up today, I will try another calibration and flight to see if I can solve this but I am not encountering this on my quads, hexas, or octos so I was making an assumption maybe the tricopter firmware is to blame.
I've just double checked loading the tricopter software onto a 2.5 board and at least for the calibration part it acted just like it did for the quad software. This makes sense because with all the frame types, it's mostly just the very last 5% when we do the motor mixing that is different.
My guess is that your copter actually needs to lean to maintain a stable hover just like a traditional helicopter does. Because of the rotational force of one motor is not balanced except by the lean of the back motor. That lean in term creates a force that pushes the copter left or right...which must then be counter balanced by leaning the whole craft a bit the other way.
So...perhaps the issue is that the current 10deg limit on the trim is too small for tri-copters. Can you check what the AHRS_TRIM_X (roll) and AHRS_TRIM_Y (pitch) values are? 10 = 0.175 radians so if they're hitting that level then this is the issue. It's an easy fix..we can just increase the tolerance and push out a fix for just the tricopter. Alternatively you should be able to just manually change that number a bit - manually changing it by-passes the tolerance check that's built into the accel calibration routine. This is not a dangerous thing to do because it's just a trim that's added to the attitude solution.
..sorry one more thing...if it's simply not flat after calibrating then that means that it most likely wasn't flat during the first step of the calibration process. Remember that you need to restart the mission planner each time you want to repeat the calibration process.
I did the calibration again without pressing Done button I pressed any key , I still receiving same -11 , what is the acceptable value ? because when I do it manually and put the value to 0 I got -1.6 , is this acceptable or I need to play around to get it to almost 0?
Thanks Randy, I will check the AHRS_Trim Y and X settings and report back. At work right now, so later this afternoon when I get home.
If done correctly, your HUD should be flat immediately after you do the calibration. Can you do a video maybe and post it? Feel free to PM the link to me privately if you'd like.
I managed to get in some more flights on 2.9.1 to dial in my quad (jdrones frame, 880Kv motors, 30A ESCs and 12 x45 props) today with mixed results. The weather was not too bad with slight winds and gusting a little later during my second flight and then calmer conditions on the third (last flight). I have recently posted my calibration results, initial PIDs and graphs showing the RAW accel values which indicate z is ok with some slight noise (tolerable on x/y)
My first flight was good in Stablize mode and then in loiter I did not have to touch the radio until the very end with some drift off the original position as the wind picked up. This was very encouraging. Even though I had no ALT hold on, I was not touching the throttle. I analyzed the logs after to see the number of satellites and check GPS data for the very end when the quad drifted. I had no less than 9 SATs, good lock and towards the end 11 SAts. I am using the MTK GPS with v 1.9 code.
The second flight was very disappointing. I had good control in stab mode but was unable to hold any position using Loiter mode. In several instances the quad moved off position consistent with the wind direction and in two specific instances moved very quick off position after engaging Loiter. I had to reengage stab mode to gain control. I again checked GPS data and maintained solid lock and around 11 SATs So I do not suspect any GPS issue. It would seem Loiter mode is ok in very calm conditions but unable to maintain hold in slight winds / slight gusty conditions.
I changed my PIDs as follows from my last flights, for today's testing, but have yet to change the Loiter parameters from the defaults in 2.9.1. So maybe someone with a similar config and good loiter hold in slight to moderate winds could suggest some PID changes / advice?
On Randy's and other advice I increased the Rate P Roll and Pitch from 0.090 t0 0.12 fro today's filights. I also bumped up the " I" from 0.06 to 0.08 (Note I try to maintain original P to I ratio). I did originally reduce the Stab P roll and Pitch down from 4.5 to 3.0 and for these flights today it was on P 3.5 and IMAX from 8 to 5. Note I made these adjustments due to running 880Kv motors with 12x45. Some people have advised me to put these back on 4.5 I thought I would do this in increments. Again open to advice here.
As I say my Loiter values are default i.e Rate Loiter P 5.0, I 0.04, D 0.4 and IMAX 30.0 and Loiter Speed P0.2 I 0 etc
I am puzzled why the default Loiter values which are optimized for the 3DR Quad with 850Kv motors and 10" props would fail to keep my quad with larger motors and props from drifting off position. If anything I assumed eventually I would have to reduce the values to avoid over shoots?
My final flight confirmed the slight wind effects on Loiter. With calm conditions my quad held on position, but started drifting and did not recover when some slight breeze popped up mid flight. Another interesting effect I noticed. When holding well in Loiter my quad appeared to be rocking slightly along the roll and pitch axes. What would be the best value to change to reduce this rocking motion along pitch and roll axes while quad is not climbing or descending ie. on station in loiter maintaining altitude with no throttle input?
Now to end on a good note. I tried ALT HOLD for the first time in 2.9.1. WOW! Fantastic I switched from stab mode and loiter mode into ALT HOLD with no appreciable drop in height i.e really nice throttle calibration and end points. ALT Hold was solid; move up or down and its like the quad is stuck in the air. Very well done guys. It did not get a lot of time on ALT HOLD as the loiter drift problem keep me busy.
Sorry no logs but hoping the description and PIDs I am using might be enough for some general tuning on Loiter for larger motor quads.
Yeh, Loiter isn't that flash at the moment. We have rewritten the loiter controller to use inertial navigation and also improved the control loop design. If you bare with us until 2.9.2 hopefully you will feel the same way about loiter as you do about ALT_HOLD.
Thanks for the feedback and support :)
No sure what issues I am having with Alt Hold. The quad - Flamewheel 450 SK3 1040KV running 10x4.5 props.
It seems over powered not matter what I do with the PIDs. I wind them right down to try and stop the high thrust bouncing but then the quad slowly sinks to the ground. Putting 8x4.5 makes it a lot better but I should be able to tune it to the bigger props.
If the quad is slowly dropping you probably don't have your throttle centered. If you give us some logs we can confirm that for you. Just make sure RAW and INAV are turned on.
Just remember that the Alt_Hold now has a much smaller dead band so it is easy to be just out of it, causing a slow decent.
To summarize how to tune Alt Hold. Reduce Thr_Accel_P and Thr_Accel_I keeping a 1:2 ratio until Alt_Hold doesn't bounce. I have found values of 0.5 for P and 1 for I work well on more powerful copters. If you can't stop it bouncing you probably have vibration problems.
I think I am below the deadband at hover and that makes sense.
How do I adjust the sticks to be center at Hover?
** cancel that - just saw Randys post updating the wiki. Will give THR_MID parameter a try.
Well done on 2.9 guys.