Commit Graph

49900 Commits

Author SHA1 Message Date
Peter van der Perk
1a356acbd6 feat(dshot): fix protected kernel link error (__dso_handle)
Fix a protected kernel link failure caused by static initialization
of a shared uORB::Publication in AM32Settings. Which is problematic
for NuttX 12.12.0.

The NuttX 12.12 PX4 protected kernel does not provide __dso_handle.
2026-05-22 16:03:16 +02:00
Peter van der Perk
93fca00fb5 feat(boards): Update ITCM mapping for NuttX 12.12
NuttX 12.12 changed symbols for certain calls or inlined them.
2026-05-22 16:03:16 +02:00
Peter van der Perk
3f8475be94 feat(boards): upgrade NuttX to 12.12.0
boards: Disable MMC_IOC_CMD ioctl

NuttX default is Y, but it's not used

boards: Fix meminfo/free

boards: fix libc float setting

boards: Reduce flash usage

Using strerr short mode
Don't cache DNS entries (also saves some ram)

fix(boards): kakutef7 disable optical flow ekf2 to save flash

kakutef7 overflows with nuttx 12.12.0 also it doesn't have optical
flow drivers anyhow. Thus disable ekf2 optical flow
2026-05-22 16:02:59 +02:00
Peter van der Perk
f1b09b0d4e feat(drivers): upgrade NuttX to 12.12.0
sitl: fix NuttX 11.12.0 upgrade regressions

drivers: uavcan: fix TFLM c library conflict

With NuttX 12.12.0 the TFLM c library causes a conflict
2026-05-22 10:59:03 +02:00
Peter van der Perk
2f758edd3e feat(platforms): upgrade NuttX to 12.12.0
bootloader: update main prototype for NuttX 12.12.0

platforms/nuttx: Add wrapper for queue.h

For some reason the queue.h header was moved, add this wrapper so
posix and nuttx builds can both still use #include <queue.h>

Fix print_load to be compatible with upstream NuttX

Also Change tg_filelist -> tg_fdlist as per new NuttX

Co-authored-by: Ville Juven <ville.juven@unikie.com>
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2026-05-22 10:59:03 +02:00
Peter van der Perk
f6188af15b feat(git): upgrade NuttX to 12.12.0
Update git sha's for NuttX
2026-05-22 10:58:55 +02:00
PX4BuildBot
f7fd8bb57a docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-22 02:41:19 +00:00
Alexander Lerach
f228852165 fix(drivers): PCA9685 use correct internal OSC frequency (#27425) 2026-05-21 20:34:14 -06:00
PX4BuildBot
bcd32a0408 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-22 02:07:19 +00:00
PX4 Build Bot
cfb3ea3b6b docs(i18n): PX4 guide translations (Crowdin) - ko (#27432)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-05-22 11:59:23 +10:00
PX4 Build Bot
951e81a59e docs(i18n): PX4 guide translations (Crowdin) - uk (#27433)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-05-22 11:59:08 +10:00
PX4 Build Bot
681fe32aa4 docs(i18n): PX4 guide translations (Crowdin) - zh-CN (#27434)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-05-22 11:59:00 +10:00
PX4BuildBot
a5759d891a docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-22 01:57:11 +00:00
Anil Kircaliali
40ad710d9d docs(filter_tuning): clarify DNF param as bitmask (#27431) 2026-05-22 11:50:12 +10:00
PX4BuildBot
4357049045 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-21 19:59:18 +00:00
Michael Fritsche
65be196b9b docs(rovers): add hiwonder rover airframes and setup guide (#27333)
* rover: add hiwonder rover airframes

* docs: hiwonder rovers setup guide

* docs(docs): compress images

* docs(docs): prettier

* docs(docs): subedit

* docs(rover): add back tip about custom firmware install

* docs(rover): detail the hiwonder build / enable instructions

* docs(rover): fix airframe typo for ackermann

* docs(docs): Improve firmware section

---------

Co-authored-by: chfriedrich98 <chfriedrich@student.ethz.ch>
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
Co-authored-by: Ramon Roche <mrpollo@gmail.com>
2026-05-21 15:51:52 -04:00
PX4BuildBot
1eb6971d84 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-21 18:31:56 +00:00
Jonas Perolini
80557b32ee feat(mavlink): reassemble GPS_RTCM_DATA before GPS injection (#27084)
* mavlink: reassemble GPS_RTCM_DATA before GPS injection

* Apply minor comment requested changes

* Simplification: remove _completed_sequence asymetric protection

* Handle RTCM payload length which is an exact multiple of 180

* update docs

* lib gnss: new GpsRtcmMessageFragmenter to send RTCM via GPS_RTCM_DATA.hpp

* fix clang

* Remove RTCM fragmenter

* update docs

* Compatibility fallback for older QGroundControl builds that omit the final zero-length fragment

* mavlink receiver, remove while loop to avoid dead lock

* docs(update): Subedit

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>

* docs(docs): format

---------

Co-authored-by: jonas <jonas.perolini@rigi.tech>
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2026-05-21 12:23:50 -06:00
PX4BuildBot
e1befdea29 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-21 06:00:07 +00:00
sbenchabane
0eb14d64d5 fix(commander): refuse stale config_control_setpoints cache on activation
ModeManagement caches the most recent config_control_setpoints entry per
source_id (one per external mode) and reads it on every nav_state change
to decide which flight controllers to enable. The cache was read verbatim
regardless of when the entry was written, so a contract authored during
an earlier activation of the same mode -- e.g. a ground configuration that
disables all controllers, followed by re-entering the same mode in the
air -- briefly forced the new activation onto a controller configuration
intended for the previous one.

Stamp every cache write with the PX4-local receive time. On the first
updateControlMode() call for a new nav_state, refuse any cached entry
whose receive time predates the activation and publish the safe default
contract (every control loop enabled) instead, until a fresh entry arrives.
A single warning is emitted per activation when the fallback engages.
2026-05-21 07:53:03 +02:00
PX4BuildBot
9dd97c7c57 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-21 04:36:17 +00:00
Hamish Willee
54f262feaa docs(docs): Remove docs for ROS1 integration tests (#27421) 2026-05-21 14:28:31 +10:00
PX4BuildBot
1512a552f9 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-21 02:00:42 +00:00
Voltafield
2cea093fdb fix(sensors): af9838 minor code style and architecture updates (#27370)
* drivers: af9838 minor fixes and code style updates

* Update af9838_main.cpp

* Update af9838.cpp

* Update af9838.hpp
2026-05-20 19:53:20 -06:00
Jacob Dahl
ee002b1db6 fix(tools/uploader): handle USB CDC reconnect race during reboot (#27419)
After sending reboot-to-bootloader, the PX4 USB CDC node briefly
disappears while the bootloader re-enumerates. Reopening the serial
port can land on a half-broken descriptor and the next tcdrain()
raises termios.error (5, 'Input/output error'). That bare OSError
escaped every retry layer and crashed the uploader, even though a
manual re-run would succeed once enumeration settled.

Convert OSError/SerialException from flush() and reset_buffers() into
the module's ConnectionError, matching how send()/recv() already
behave, and let the identify retry loops in _try_identify also catch
ConnectionError so a single transient I/O hiccup doesn't abort the
upload.

Signed-off-by: Jacob Dahl <dahl.jakejacob@gmail.com>
2026-05-20 19:08:53 -06:00
PX4BuildBot
f094358bf0 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-20 21:33:24 +00:00
Eurus
72136d0b47 fix(mavlink): guard mission download completion (#27412)
Only apply the missing-ACK recovery while in SENDLIST.
2026-05-21 09:25:42 +12:00
PX4BuildBot
54cf213c7e docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-20 20:23:38 +00:00
Jorge Rios
31ebf1a681 Fix typo in Multi Vehicle Simulation description (#27417) 2026-05-20 14:16:00 -06:00
pmjnt
58b0009415 docs(compass): remove redundant CAL_MAGx_PRIO clarification (#27414)
The line "Priority is assigned automatically during calibration..."
added in #27393 duplicates information already conveyed by the
surrounding paragraph. Hamish flagged the redundancy in code review.

This PR was AI-assisted (Claude Code) and reviewed by a human
before submission.

Co-authored-by: _pmjn_ <pcminh170701@gmail.com>
2026-05-20 14:09:56 -06:00
Julian Oes
110be82e7d fix(Tools): add clarifying comment (#27403)
It wasn't clear to me why this merge_config.py was required. It is now
clear, so let me leave a comment.
2026-05-20 14:06:11 -06:00
PX4BuildBot
cfa3d6a3b9 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-20 17:39:57 +00:00
Hamish Willee
bf1e591aab fix(mavlink): Ensure COMMAND_INT handler (only) scales locations (#27335) 2026-05-21 05:24:56 +12:00
PX4BuildBot
3f6b663ed2 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-20 17:12:26 +00:00
Alexis Guijarro
25724b5244 fix(boards/3dr/ctrl-n1): board port fixes and driver corrections (#27405)
* fix(drivers/ak09940a): fix probe retry, devtype collision, and register naming

* fix(drivers/neopixel): check init return value and fix module name typo

* fix(boards/3dr/ctrl-n1): correct magnetometer i2c bus, LED indexing, chip variant for bootloader, and TIM3 conflict with srgbled_dma

* fix(boards/3dr/ctrl-n1): update bootloader for STM32H743VI
2026-05-20 11:04:29 -06:00
alexcekay
e3595fedf3 feat(manifest): add auterion CAN products 2026-05-20 14:19:23 +02:00
PX4BuildBot
79c164cf37 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-20 11:46:05 +00:00
Marco Hauswirth
6e9c71b036 fix(ekf2): reset gyro-bias-z-covariance on tryYawEmergencyReset to make recovering from wrong bias-estimate possible (#27327) 2026-05-20 13:39:00 +02:00
PX4BuildBot
ce23467822 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-20 09:22:05 +00:00
Alexander Lerach
c55e6677c0 feat(drivers): VectorNav option to select IMU rate and output port (#27318)
* feat: VectorNav option to select IMU rate and output port

* feat(docs): Clarify VectorNav wiring param

* Apply suggestion from @hamishwillee

* Apply suggestion from @hamishwillee

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2026-05-20 11:15:15 +02:00
PX4BuildBot
59cb543825 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-20 01:16:39 +00:00
Claudio Chies
ad0bce0bec Open feat(docs): remove old info on micro-xrce-dds-agent release snap version (#27394) 2026-05-20 11:09:21 +10:00
PX4 Build Bot
b102916009 docs(i18n): PX4 guide translations (Crowdin) - ko (#27309)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-05-20 11:01:56 +10:00
PX4 Build Bot
8abbb7cc1c docs(i18n): PX4 guide translations (Crowdin) - uk (#27310)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-05-20 11:01:40 +10:00
PX4 Build Bot
96a18c320e docs(i18n): PX4 guide translations (Crowdin) - zh-CN (#27311)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-05-20 11:01:30 +10:00
PX4BuildBot
8836bd6d3f docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-19 22:56:14 +00:00
pmjnt
bbb7fdc2d2 docs: clarify compass priority is set automatically (#27393)
Fixes Algora bounty: https://github.com/PX4/PX4-Autopilot/issues/19970

This PR was AI-assisted (Claude Code) and reviewed by a human
before submission.

Co-authored-by: pcminh <pham.cao.minh@talentnet.vn>
2026-05-19 16:48:26 -06:00
PX4BuildBot
9598f9f04b docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-19 18:24:57 +00:00
Alexis Guijarro
c59f208cc7 feat(boards): add support for 3DR Control N1 flight controller (#27395)
* fix(srgbled_dma): stm32_dmasetup now works with H7 boards

* feat(drivers/ak09940a): add AKM AK09940A magnetometer driver

* feat(boards/3dr/ctrl-n1)!: add 3DR Control-N1 flight controller

* fix(boards/3dr/ctrl-n1): macro replacement list is now enclosed in parentheses

* fix(boards/3dr/ctrl-n1): applying copyright changes

* fix(boards/3dr/ctrl-n1): removing serial console
2026-05-19 13:13:54 -05:00
PX4BuildBot
7a9642fe75 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-19 15:35:34 +00:00