Thanks Bill. Yes, that does make sense. It is not well documented (at least not that I can find), however.
@ultrafuge I think you are flying a FBL unit with a Pixhawk? So your setup may be different than just using a Pixhawk with no external gyros?
I recently acquired a Trex 500 that had been crashed, rebuilt it and am using it for testing. It is a modified Trex 500 with a DFC head, converted from 6S to 4S with a 10,000mAh battery and running low headspeed, at least for a 500 (1,900 rpm).
I think when going from 3.3.3 to 3.4 you have to be careful because there was scaling changes made in the rate controller. I flew the Trex 500 with both, and I would suggest starting over and doing the complete head setup and tune the rate controller for 3.4. Don’t try to carry over your settings from 3.3.3. I’m not saying it won’t work to carry over your params from 3.3.3 - just be prepared for some surprises.
The pertinent setup I ended up with on the 500 for 3.4.5
ACCEL_Z_D , 0.000000
ACCEL_Z_FILT , 20.000000
ACCEL_Z_I , 1.000000
ACCEL_Z_IMAX , 800.000000
ACCEL_Z_P , 0.320000
ATC_ACCEL_P_MAX , 110000.000000
ATC_ACCEL_R_MAX , 110000.000000
ATC_ACCEL_Y_MAX , 27000.000000
ATC_ANG_PIT_P , 4.000000
ATC_ANG_RLL_P , 3.800000
ATC_ANG_YAW_P , 4.500000
ATC_HOVR_ROL_TRM , 300.000000
ATC_PIRO_COMP , 0.000000
ATC_RATE_FF_ENAB , 1.000000
ATC_RAT_PIT_D , 0.000000
ATC_RAT_PIT_FILT , 20.000000
ATC_RAT_PIT_I , 0.120000
ATC_RAT_PIT_ILMI , 0.000000
ATC_RAT_PIT_IMAX , 0.400000
ATC_RAT_PIT_P , 0.024000
ATC_RAT_PIT_VFF , 0.050000
ATC_RAT_RLL_D , 0.000000
ATC_RAT_RLL_FILT , 20.000000
ATC_RAT_RLL_I , 0.150000
ATC_RAT_RLL_ILMI , 0.000000
ATC_RAT_RLL_IMAX , 0.400000
ATC_RAT_RLL_P , 0.016000
ATC_RAT_RLL_VFF , 0.040000
ATC_RAT_YAW_D , 0.001000
ATC_RAT_YAW_FILT , 20.000000
ATC_RAT_YAW_I , 0.100000
ATC_RAT_YAW_ILMI , 0.000000
ATC_RAT_YAW_IMAX , 0.250000
ATC_RAT_YAW_P , 0.380000
ATC_RAT_YAW_VFF , 0.050000
ATC_SLEW_YAW , 1000.000000
After tuning for AC3.4.5 it flies fine and no real glaring problems that I have found (yet). It flies Loiter and Auto at up to 15 m/s with no real issues. I get some slight bobbing when passing a spline waypoint in Auto, but not serious.
When tuning, you can strike a balance between how much you want to lean on the rate controller vs VFF. But if you set the VFF so you get about 75% of max cyclic and use the same rule of thumb that you fly the rate controller about .01 below where you get roll and pitch oscillation, it should fly stable in Stabilize. I started at .25 on ACCEL_Z_P and turned it up until it started to bounce the collective, then backed it off .05. I don’t have any problems with leaving the ATC_ACCEL_x_MAX params at the multirotor defaults here.
The I gain is not really that critical. I set it much higher (just to try it) than what I ultimately set it at. But seem to be getting good performance on the longer term corrections in moderate wind with the above settings. I tried some D gain, and got instant roll oscillation with it, so turned it off, except on the yaw. If I further backed down the P gains I might be able to get some D gain in there without oscillation, but didn’t try it.
When I get time I’m going to try this same setup in my 600E and 700 nitro and see how they fly “out of the box” with 3.4.5.