Skip to content

v1.18.0-rc2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Nov 18:54
· 1704 commits to main since this release
Immutable release. Only release title and notes can be modified.

What's Changed

This is a pre-release for flight testing, full release notes can be found here.

Behaviour changes since rc1:

  • Battery failsafe: the distance-aware return ("bingo fuel") is part of COM_LOW_BAT_ACT again. Option 3 now returns when the remaining flight time is only just enough to get home; the new option 5 opts out (#26955)
  • MAV_CMD_DO_SET_SAFETY_SWITCH_STATE now follows the MAVLink enum: 0 activates safety and 1 deactivates it, the opposite of beta and rc1. ROS 2 code using the VehicleCommand constants must use the renamed SAFETY_SAFE and SAFETY_DANGEROUS (#28948)
  • IMU heater parameters SENS_IMU_TEMP* and SENS_TEMP_ID are migrated to HEATER1_* (#29354)
  • PWM outputs are driven low from reset instead of floating with a pull-up, which stops AM32 ESCs staying in their bootloader on a battery-only boot (#28746)
  • ARK FPV: ark_fpv_default is multicopter only; fixed-wing and VTOL use the new ark_fpv_fw and ark_fpv_vtol targets (#27906)
  • Matek H743 and H743-Mini bootloaders now report the Matek board ID; boards with the old PX4 bootloader need it reflashed over DFU (#28654)

Fixes since rc1:

  • Multicopter: zero the acceleration seed before takeoff, fixing the rc1 tilt and drift on takeoff (#28979); reject attitude setpoints with an unusable quaternion or thrust instead of disabling attitude control (#29008, #29328)
  • Estimator: keep the output predictor attitude correction in the earth frame (#29062), use the previous sample in the IMU coning correction (#29215), place the global position at a manually set origin (#29237), don't reset yaw to an inaccurate GNSS heading (#28846), cap GNSS height noise only when it is the only height source (#29058), and keep v1.17 auxiliary global position settings on upgrade (#29351)
  • Sensors: IMU and magnetometer voter handle disabled sensors without a failover, including while armed (#28811, #28750); external accels and gyros default below internal priority (#28594); InvenSense FIFO scale, invalid samples and clipping (#28134, #28308, #28310); ICM-45686 probe retry (#28319); IIS2MDC temperature (#28336); thermal compensation mag fallback (#28997)
  • Commander and navigation: capture home on the ground before the motors spin (#27734), restart an identical re-uploaded mission from the start (#28775), report a failed geofence load (#28603), keep a disconnected battery from hiding an emergency (#29028), and hold on Offboard loss without manual control for NAV_RCL_ACT 7 (#28961)
  • Fixed-wing and VTOL: clear the course setpoint in Offboard (#29025) and ignore setpoints from before Offboard (#29279)
  • Control allocation: zero non-finite torque setpoint components (#29156)
  • DShot: correct STM32 bit timing and EDT enable (#28511, #28436, #28438), and reject corrupted bidirectional telemetry frames (#29553)
  • USB: unplugging while MAVLink is connected no longer hardfaults the flight controller (#29187)
  • MAVLink: signing thread safety and SETUP_SIGNING targeting (#28697, #29536), full-size signed frames (#29164), unsigned traffic only on traffic receiver links (#29488), log, TUNNEL and FTP requests only when addressed to this vehicle (#28585, #28597), FTP write and Open fixes (#28584, #28652, #29535), UDP client reconnect from a new port (#28518), and command parameter checks relaxed for CONDITION_GATE, standalone NAV_VTOL_TAKEOFF and DO_SET_ROI_WPNEXT_OFFSET (#28659, #28732, #29758)
  • DroneCAN: time sync on SocketCAN boards and unsynced node timestamps (#28458, #28176), GNSS covariance (#28604), jamming and spoofing with dual-antenna heading (#28847), rangefinder orientation (#28199), and node fixes for RestartNode, heading baseline and CANNODE_NODE_ID (#28966, #29002, #27644)
  • GNSS: moving base and rover run at 5 Hz on every board (#28986), and the selected receiver keeps its rate with blending disabled (#28998)
  • Security hardening: bounds and input checks in the Iridium SBD, HoTT, FT7, Sagetech MXS, MSP OSD and VectorNav drivers, DroneCAN battery and log messages, the CAN bootloader, Cyphal, Zenoh, the GPS parsers, BSON parameter files, FTP listings, external mode registration and param select (#28578, #28579, #28580, #28598, #28599, #28600, #28602, #28606, #28607, #28619, #28622, #29482, #29485, #29486, #29487, #29490, #29492, #29493, #29494, #28475)
  • Runtime: work queue use-after-free (#29278), uORB topic and callback teardown (#29176, #29515), and SITL lockstep scheduler races (#28885)
  • Boards: ARKV6X-32X and ARK FPV LSM6DSV32X revisions (#29767, #28512), Pixhawk 6X rev 6 IMU startup and LSM6DSV fallback (#29403, #29697), Kakute H7 Wing LSM6DSV (#28780), ARK primary IMU pinning (#28444), AirBrainH743 missions in flash (#28505), i.MX RT ADC initialisation (#28313), MR-Tropic bootloader USB, and AFBR-S50 device type (#29104)

Full Changelog: v1.18.0-rc1...v1.18.0-rc2