Plane 4.4 release

@tridge
I had a similar problem when I was on an autoflight mission.
Write the route, flight mode is AUTO, and the airplane’s ailerons and tail are deflected at an angle.


It was very strange, I took the airplane and tried to correct this angle, the airplane was a very strange attitude, I don’t know why it was like that.

Finally, the version 4.4.0 firmware flight control log:
https://drive.google.com/file/d/1ENuU5dbIqVVPz4dy03vd09f4G3BZiG5g/view?usp=sharing

Thanks for reporting this!
I’ve opened a PR fixing this here: Plane: fixed nav_roll/nav_pitch when waiting for VTOL takeoff by tridge · Pull Request #24856 · ArduPilot/ardupilot · GitHub
the bug was related to stick mixing, where in the pre-arm state in a VTOL takeoff tiny deviations from neutral RC sticks would accumulate to give large surface movements
The fix will be in 4.4.1

2 Likes

Hello…!!

About the “Camera Gimba” page in the “Initial Setup” tag, after updating the firmware, it appears to be inactivated. I have realized that the related parameters were renamed, so I tried to change the parameters of “pushed” and “Not Pushed” directly, but seems that doesn’t work. My Sony camera works with the initial setup, after the update; but when I try to change the parameter for my ADTI camera, it doesn’t work. With the original firmware version 4.3.4, the change is possible and works perfectly.

@tridge
I found a problem:
An example: using Quadplane in Q_loiter mode. I move the YAW axis RC stick to the left and then back to the center. The direction of the airplane will turn to the left and then turn back a little to the right, the YAW control is not very precise.

For the X-frame, C9 is the right front motor, C10 is the left rear motor, C11 is the left front motor, and C12 is the right rear motor.

I decreased the Q_A_RAT_YAW_P value , and increased the Q_A_RAT_YAW_D value oscillation reduction, but it is difficult to control the YAW axis direction very precisely. I am experienced in adjusting PID, I suspect it is not a PID problem.

I suspect that it is a side effect of the YAW axis also having the reverse brake on, I can clearly hear the sound of the motor accelerating in the reverse direction, Q_LOIT_BRK_DELAY is set to 0, and I have reduced the Q_LOIT_BRK_ACCEL value, the improvement is not very obvious.

Here is my flight control log:
https://drive.google.com/file/d/1pdpi6fBrfPQ1ot4x85xbWUIgx8eZAKzD/view?usp=sharing

@makeflyeasy please try increasing Q_A_RAT_YAW_FLTE from 2 to 10. I suspect we are getting too much phase lag in the P control gain due to the low FLTE term.
I have been considering changing the VTOL-quicktune to make the FLTE on yaw higher by default. It would be good if you could confirm this helps.

2 Likes


I’ve just released plane 4.4.1-beta1. This is a minor update over 4.4.0.
Changes from 4.4.0 are:

  • support Himark DroneCAN servos
  • support Hobbywing DroneCAN ESCs
  • fixed control surface deflection on quadplanes in VTOL takeoff wait
  • fixed bug in parameter default handling in SITL
  • allow selection of mission sdcard storage on custom.ardupilot.org
  • added support for SDMODELH7V1
  • fixed battery monitor default for QiotekZealotF427 and QiotekZealotH743
  • support 8 bit directional dshot channels on KakuteH7-wing
  • improved handling of high vibration in EKF3 with new EK3_GLITCH_RADIUS options
  • allow reset of battery SoC for DroneCAN battery monitors
  • update GPIOs for Navigator board in HAL_Linux
  • pull RTS lines low on Pixhawk6C on startup
  • added log_file_content in scripting for aerobatics
  • added asymmetry factor for skid steering on rovers
  • updated defaults for luminousbee5 boards

Please test!

5 Likes

Following up on the hard nose-down to level after a takeoff — this ended up being a behavior asa result of arspd_use set to 0. I’m not too much of a fan of that change in behavior, but nonetheless I don’t believe it to be a regression.

@tridge
Today I did a flight test Q_A_RAT_YAW_FLTE set to 10 and there was some improvement in the YAW axis, but it was not very noticeable and you could see a tendency for the YAW heading to turn back.

Here is the flight log
https://drive.google.com/file/d/1EpCVxaNlb1u5KDY_nvgbhJ9jGinRzAmr/view?usp=sharing

I tried the new VTOL-quicktune.lua on my VTBird TiltRotor. Weather was perfect - zero wind. I got a much better tune on YAW, but I had set Q_AUTOTUNE_AXES = 3 so it should not have tuned yaw, but as you can see from this log it did.

Here is a log from a long QLOITER on a new battery after the quicktune. I’m pretty happy with this, I plan to tune the notch filter a little bit more based on this.

Hi Mr. tridge!
I tested it with some expectation for the SITL parameter fix but unfortunately it remained there. When the V4.4.1 is connected with the xplane, all control surfaces are moved all the way to the end poins and they can’t be moved by the controller. Please fix this problem ASAP.


I’ve just released 4.4.1-beta2.

Changes from 4.4.1-beta1:

  • Airbotf4 features minimised to build for 4.4
  • ChibiOS clock fix for 480Mhz H7 boards (affected FDCAN)
  • H750 external flash optimisations for to lower CPU load
  • MambaF405Mini fixes to match manufacturer’s recommended wiring
  • RADIX2 HD support
  • RPI hardware version check fix
  • YJUAV_A6SE support

Please test!

1 Like

@RCnorm please tell me exactly what XPlane version and what aircraft you are trying to fly. Then send me your current parameter file. When I get time I’ll test it and see if I can get you going. Setting up an XPlane aircraft properly with ArduPilot can be quite complex.

the log shows that QUIK_AXES was 7, which is roll/pitch/yaw

Oh - yes it’s a bit confusing. Sorry about that. But in any case - thoughts about the tune itself?

Hi tridge!
Thank you for your quick responce.
My XPlane is XPLANE 11 and all aircrafts have same problem.
Here I attach a file I played with the Cirrus Vision SF50.
X-PLANE.param (22.6 KB)

I uploaded a youtube which shows this issue. Please watch it.
(7) ArduPlane V4.4.1 SITLSimulation with MissionPlanner and XPLANE 11 -a strange behavior- - YouTube

has this been add to 4.4.1 beta 2 ?

Plane:add taildrag holdown to TAKEOFF mode #24928

4.4.1beta2 on F405wing(AWS28: FBWA, AUTO) and Matek H743 Wlite (MFE Fighter: QHOVER, FBWA, CRUISE, Q_ASSIST) flown without problems.

Rolf

1 Like

@RCnorm
HUD says flight mode is RTL. The aircraft is just trying to turn left.
In v4.4 you can change the mode from the joystick connected to X-Plane.
Please check your RC8 input.

I had noticed that the flight mode is RTL and changed it to MANUAL but the situation was not changed.
BTW RC8’s Function is 0, i.e. “do nothing”

Would you check not RC8_OPTION but FLTMODE_CH? Your param file says it’s 8.
Your flight mode can be checked via [SETUP] - [Flight Modes].
Your flight mode should be “1” and RTL should be assigned there.