Plane 4.5 release

@Alexey_Degterev can you post a LOG_DISARMED=1 log of both the 4.5.1 test and 4.4.4 test? This change is not expected

Hi all - can anyone reproduce/assist with this issue? Specifically testing usage of Dshot with quad_plane params not enabled seems to cause issue with BLHeli_S/BlueJay ESC functionality.


Plane-4.5.2-beta1 has been released for beta testing and can be installed using MP or QGC’s beta firmwares feature or the .apj file can be directly downloaded from firmware.ardupilot.org.

The changes vs 4.5.1 are in the ReleaseNotes and copied below

  1. Board specific enhancements and bug fixes
  • FoxeerF405v2 support
  • iFlight BLITZ Mini F745 support
  • Pixhawk5X, Pixhawk6C, Pixhawk6X, Durandal power peripherals immediately at startup
  1. System level minor enhancements and bug fixes
  • Camera lens (e.g. RGB, IR) can be selected from GCS or during missions using set-camera-source
  • Crashdump pre-arm check added
  • Gimbal gets improved yaw lock reporting to GCS
  • Gimbal default mode fixed (MNTx_DEFLT_MODE was being overriden by RC input)
  • RM3100 compass SPI bus speed reduced to 1Mhz
  • SBUS output fix for channels 1 to 8 also applying to 9 to 16
  • ViewPro gimbal supports enable/disable rangefinder from RC aux switch
  • Visual Odometry delay fixed (was always using 1ms delay, see VISO_DELAY_MS)
  • fixed serial passthrough to avoid data loss at high data rates
  1. AHRS / EKF fixes
  • Compass learning disabled when using GPS-for-yaw
  • GSF reset minimum speed reduced to 1m/s (except Plane which remains 5m/s)
  • MicroStrain7 External AHRS position quantization bug fix
  • MicroStrain7 init failure warning added
  • MicroStrain5 and 7 position and velocity variance reporting fix
  1. Plane specific changes
  • Drop min Q_TRANSITION_MS to 500ms
  • FBWB/CRUISE missing zero crossing of elevator input fix
  • PTCH_LIM_MIN_DEG param units fixed to be deg
  1. Other minor enhancements and bug fixes
  • DDS_UDP_PORT parameter renamed (was DDS_PORT)
  • Harmonic Notch bitmask parameter conversion fix (see INS_HNTCH_HMNCS)

Thanks to everyone who contributed to these changes!

1 Like

sorry i can’t do this now. i rollback to 4.4.4

could you try to find the tlog where RC gimbal control didn’t work? we may be able to find the issue from there
ping @rmackay9

Several flights with 4.5.2-beta1 of different fixed-wings in manual, fbwa, cruise, auto (all mateksys H743 FC) all behaved as expected. Thanks to the developers. VTOLs will follow tomorrow.

Rolf

2 Likes

The transition also works very well with small, fast-accelerating VTOLs. Transitions with a small Z84 quad and an even smaller TriTilt with no loss of height and a “soft” transition.

Rolf

2 Likes

Nice flying Rolf,and very smooth aircraft


We have a double release today!
We have released plane 4.5.2 stable, and also released 4.5.3-beta1. This unusual combination comes from a bug fixed just as we were releasing 4.5.2 which we want to get out as soon as possible. The bug fix is in 4.5.3-beta1.

For 4.5.2 the changes are:

  1. Board specific enhancements and bug fixes
  • FoxeerF405v2 support
  • iFlight BLITZ Mini F745 support
  • Pixhawk5X, Pixhawk6C, Pixhawk6X, Durandal power peripherals immediately at startup
  1. System level minor enhancements and bug fixes
  • Camera lens (e.g. RGB, IR) can be selected from GCS or during missions using set-camera-source
  • Crashdump pre-arm check added
  • Gimbal gets improved yaw lock reporting to GCS
  • Gimbal default mode fixed (MNTx_DEFLT_MODE was being overriden by RC input)
  • RM3100 compass SPI bus speed reduced to 1Mhz
  • SBUS output fix for channels 1 to 8 also applying to 9 to 16
  • ViewPro gimbal supports enable/disable rangefinder from RC aux switch
  • Visual Odometry delay fixed (was always using 1ms delay, see VISO_DELAY_MS)
  • fixed serial passthrough to avoid data loss at high data rates
  1. AHRS / EKF fixes
  • Compass learning disabled when using GPS-for-yaw
  • GSF reset minimum speed reduced to 1m/s (except Plane which remains 5m/s)
  • MicroStrain7 External AHRS position quantization bug fix
  • MicroStrain7 init failure warning added
  • MicroStrain5 and 7 position and velocity variance reporting fix
  1. Plane specific changes
  • Drop min Q_TRANSITION_MS to 500ms
  • FBWB/CRUISE missing zero crossing of elevator input fix
  • PTCH_LIM_MIN_DEG param units fixed to be deg
  1. Other minor enhancements and bug fixes
  • DDS_UDP_PORT parameter renamed (was DDS_PORT)
  • Harmonic Notch bitmask parameter conversion fix (see INS_HNTCH_HMNCS)

Plane 4.5.3-beta1

For the 4.5.3-beta1 release we have the following changes on top of 4.5.2:

  1. Board specific enhancements and bug fixes
  • correct default GPS port on MambaH743v4
  • added SDMODELV2
  • added iFlight Blitz H7 Pro
  • added BLITZ Wing H743
  • added highres IMU sampling on Pixhawk6X
  1. System level minor enhancements and bug fixes
  • fixed rare crash bug in lua scripting on script fault handling
  • fixed Neopixel pulse proportions to work with more LED variants
  • fixed timeout in lua rangefinder drivers
  • workaround hardware issue in IST8310 compass
  • allow FIFO rate logging for highres IMU sampling
  1. Plane specific changes
  • fixed cancelling of FWD_GAIN setting for tiltrotors

Details on the critical fix in 4.5.3-beta1
A user discovered a rare crash bug in lua scripting that affects all ArduPilot versions with lua support. The bug was discovered in bench testing and as far as we are aware has not caused an aircraft crash, but we want to get the fix out quickly as it is a potentially very serious bug. The bug is in the handling of exceptions in lua. If a lua script encounters an exception it will normally stop the script with an error message. When this happens there is a small change it will trigger a hard fault which will cause ArduPilot to reboot. The bug was initially noticed with the lua networking web server which uses lua protected calls to allow the script to keep running after a fault, which is why the issue was able to show up despite the low chance of it happening - with the protected call the fault can repeat rapidly, raising the chance of the bug triggering.
We plan on also doing a backport of this fix to 4.4.x. It is a simple one-line change so is easy to backport.

3 Likes

Flew the Convergence in RealFlight for a few hours on 4.5.3-beta1 and didn’t have any issues.

1 Like

Thanks @robertlong13 much appreciated!