Copter-4.5.3 has been released as the stable/official version for multicopters and traditional helicopter and can be installed using Mission Planner, QGC or downloaded directly from firmware.ardupilot.org.
The changes vs 4.5.2 can be seen in the ReleaseNotes and they’re also copied below.
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
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
Copter specific changes
fixed speed constraint during avoidance backoff
zero D_FF during autotune twitch
The most important fix is the Lua script related item bolded above. It is very rare but in some unfortunate cases, if the lua script stopped it could cause the main C++ code to fail as well.
Thanks to the developers and beta testers who contributed to this release!
Thanks for the report. I see you’ve reported it a few times here and there with no joy.
So this means that a calculation produced a NaN value somehow which can be dangerous (or not) depending upon where it occurs. The “298” means that it happened on a line 298 in the code (there are many files and thus many lines numbered 298). There are only two that look possible to me though:
Another issue I faced with Arducopter 4.5.3 is the following relay setup produced intermittent results. The signal pin (Main out 7) is held at 3.0V and never reaches 0 volts when RC11 is low or toggled. The Servo rail is 5V powered.
The same setup with Ardrucopter 4.5.7 does not have such an issue.
CubeOrange
BRD_PWM_VOLT_SEL,0 # 3.3V
RC11_OPTION,28 # Relay1 On/Off
RELAY1_DEFAULT,0
RELAY1_FUNCTION,1 # Relay, save and refresh
RELAY1_PIN,107 # MainOut7
SERVO1_FUNCTION,0 #MainOut1, power pin connected to 5V
SERVO9_FUNCTION,33 # M1
SERVO10_FUNCTION,34 # M2
SERVO11_FUNCTION,35 # M3
SERVO12_FUNCTION,36 # M4
SERVO7_FUNCTION,-1 # setting a PWM/SERVO/MOTOR output to be a GPIO function