Commit Graph

49768 Commits

Author SHA1 Message Date
Claudio Chies e56034a08b feat(ulog): add vehicle_command timeline reconstruction tool 2026-05-11 14:35:14 +02:00
AdamWuAccton ba36572571 boards: ga1 add ICM45686 IMU support (#27281)
Build all targets / Scan for Board Targets (push) Has been cancelled
Checks / Gate Checks [check_format] (push) Has been cancelled
Checks / Gate Checks [check_newlines] (push) Has been cancelled
Checks / Gate Checks [module_documentation] (push) Has been cancelled
Checks / Gate Checks [shellcheck_all] (push) Has been cancelled
Checks / Gate Checks [validate_module_configs] (push) Has been cancelled
Checks / Unit Tests (push) Has been cancelled
MacOS build / build (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:22.04) (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:24.04) (push) Has been cancelled
Container build / Set Tags and Variables (push) Has been cancelled
Docs - Orchestrator / T1: Detect Changes (push) Has been cancelled
Docs - Orchestrator / T2: Metadata Sync (push) Has been cancelled
Docs - Crowdin - Upload Guide sources (en) / upload-to-crowdin (push) Has been cancelled
Failsafe Simulator Build / build (failsafe_web) (push) Has been cancelled
FLASH usage analysis / Analyzing px4_fmu-v5x (push) Has been cancelled
FLASH usage analysis / Analyzing px4_fmu-v6x (push) Has been cancelled
ITCM check / Checking nxp_mr-tropic (push) Has been cancelled
ITCM check / Checking nxp_tropic-community (push) Has been cancelled
ITCM check / Checking px4_fmu-v5x (push) Has been cancelled
ITCM check / Checking px4_fmu-v6xrt (push) Has been cancelled
MAVROS Tests / MAVROS Mission (push) Has been cancelled
MAVROS Tests / MAVROS Offboard (push) Has been cancelled
Python CI Checks / build (push) Has been cancelled
ROS Integration Tests / build (push) Has been cancelled
ROS Translation Node Tests / Build and test [humble] (push) Has been cancelled
ROS Translation Node Tests / Build and test [jazzy] (push) Has been cancelled
SITL Tests / Testing PX4 iris (push) Has been cancelled
Build all targets / Seed [${{ matrix.chip_family }}] (push) Has been cancelled
Build all targets / Build [${{ matrix.runner }}][${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts (push) Has been cancelled
Container build / Build Container (amd64) (push) Has been cancelled
Container build / Build Container (arm64) (push) Has been cancelled
Container build / Deploy To Registry (push) Has been cancelled
Docs - Orchestrator / T2: PR Metadata (push) Has been cancelled
Docs - Orchestrator / T2: Link Check (push) Has been cancelled
Docs - Orchestrator / T3: Build Site (push) Has been cancelled
Docs - Orchestrator / T4: Deploy (push) Has been cancelled
FLASH usage analysis / Publish Results (push) Has been cancelled
Static Analysis / Clang-Tidy (push) Has been cancelled
2026-05-10 22:14:39 -04:00
PX4BuildBot 448e15e013 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-11 00:46:12 +00:00
Hamish Willee dbd38dc13f fix(mavlink): Remove deprecated MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES ... (#27251)
* fix(mavlink): Rem depr. MAV_CMD_REQUEST _AUTOPILOT_CAPABILITIES/T_PROTOCOL_VERSION

* docs(docs): Release note

* Update docs/en/releases/main.md

Co-authored-by: Julian Oes <julian@oes.ch>

---------

Co-authored-by: Julian Oes <julian@oes.ch>
2026-05-11 12:38:35 +12:00
PX4BuildBot eef836966d docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-10 17:22:28 +00:00
Eurus b5f08754bf fix(navigator): guard terrain altitude check for position mission items (#27306)
* fix(navigator): guard terrain altitude check for position mission items

updateAltToAvoidTerrainCollisionAndRepublishTriplet() calls
get_absolute_altitude_for_item() on the current mission item without first
checking whether the item contains a position.

For non-position mission items, the altitude field has no setpoint meaning.
Using it in the terrain descent condition can make the check operate on an
invalid mission-item altitude.

Add the same item_contains_position() guard used by other mission altitude
handling paths before reading the mission item altitude.

* navigator: remove redundant mission item checks

Remove checks already covered by item_contains_position() and update the
terrain avoidance comment to match the current condition.
2026-05-10 11:15:17 -06:00
PX4BuildBot f4c38daa38 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-10 14:26:54 +00:00
Salaheldin Hassan a5549b5c75 feat(simulation): Bind Mavlink to specific interface via PX4_NET_INTERFACE (#26385)
* SITL: mavlink bind to a specific interface using an environment variable PX4_NET_INTERFACE
Fixes issue #26384

* document the usage of PX4_NET_INTERFACE

* Improved Docs:
- Added new Environment Configuration subsection at the end of SITL Simulation
- Removed the old Bind MAVLink to Specific Network Interface subsection (content consolidated into the new section)

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2026-05-10 15:19:31 +01:00
PX4BuildBot aace647ba3 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-10 05:38:19 +00:00
Eurus dad1889610 fix(ekf2): guard EV position bias updates on active fusion (#27304)
* EKF2: guard EV position bias updates on active fusion

Horizontal position resets were updating the external vision position bias
estimator even when EV position fusion was not active.

This is the same bug pattern as #27094. In resetAltitudeTo(), the height bias
estimators are only shifted when the corresponding height source is currently
being fused, for example _ev_hgt_b_est is updated only when
_control_status.flags.ev_hgt is true. That guard prevents an inactive EV height
bias estimator from being modified by an EKF state reset.

The horizontal reset paths did not have the equivalent guard. Both
resetHorizontalPositionTo() and resetLatLonTo() unconditionally applied
delta_horz_pos to _ev_pos_b_est. However, controlEvPosFusion() treats
_control_status.flags.ev_pos as the active EV position fusion state, and the
position observation is later computed as:

  measurement - _ev_pos_b_est.getBias()

This means a horizontal position reset from another source could shift the EV
position bias estimator while EV position fusion was inactive. When EV position
fusion later resumed, the stale shifted bias could be used in the EV observation
path and produce incorrect innovations.

Only update _ev_pos_b_est during horizontal resets when EV position fusion is
currently active, matching the guarded resetAltitudeTo() behavior fixed by

* Update src/modules/ekf2/EKF/position_fusion.cpp

Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com>

---------

Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com>
2026-05-09 23:30:32 -06:00
PX4BuildBot 0e01d59650 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-10 02:50:28 +00:00
Stolniceanu Iustin a3d3c8bc20 feat(drivers/imu): add Analog Devices ADIS1657x IMU driver (#27239) 2026-05-09 22:42:38 -04:00
zebulon-86 f3f2606d68 feat(boards/px4_fmu-v6c): add RM3100 fallback for internal compass (#27299) 2026-05-09 22:16:34 -04:00
PX4BuildBot a202e81a27 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-10 01:54:42 +00:00
Eurus 206425da8c fix(airspeed_selector): guard synthetic source in sensor validity check (#27305)
AirspeedSource::SYNTHETIC is declared after SENSOR_3, so its integer value is
4 while _airspeed_validator only has MAX_NUM_AIRSPEED_SENSORS entries, with
valid indices 0..2.

select_airspeed_and_publish() only checked whether _prev_airspeed_src was less
than SENSOR_1 before indexing:

    _airspeed_validator[prev_airspeed_index - 1]

When _prev_airspeed_src is SYNTHETIC, prev_airspeed_index is 4 and this becomes
_airspeed_validator[3], which is out of bounds. Treat sources above SENSOR_3 as
non-sensor sources so only SENSOR_1..SENSOR_3 can index the validator array.
2026-05-09 19:47:23 -06:00
PX4BuildBot 78abda4e9b docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-08 12:26:18 +00:00
Marco Hauswirth e6c7cb62c0 fix(ekf2): move constant_pos gating to common_condition 2026-05-08 14:18:58 +02:00
Marco Hauswirth bcbb529339 fix(ekf2): disable mag fusion while constant_pos is active 2026-05-08 14:18:58 +02:00
PX4BuildBot df05252c74 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-08 08:31:17 +00:00
Michael Fritsche b8ccde428c fix(commander): rename timeout for clarity, increase esc_telemetry_timeout (#27241) 2026-05-08 10:23:42 +02:00
PX4BuildBot 56588a5cd9 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-08 06:52:50 +00:00
Wang Jiayue 456faf6881 fix(ekf2): allow external position reset heading correction
This fixes the same class of bug as #27232. The external position
reset-by-fusion path explicitly intends to strongly correct correlated
states, including heading, as documented by the existing comment next to
the artificial Kalman gain increase.

However, when VEHICLE_CMD_EXTERNAL_POSITION_ESTIMATE is handled in
EKF2::Run(), it runs before _ekf.update(), so heading_observable can
still reflect the previous controlFusionModes() result. If it is false,
clearInhibitedStateKalmanGains() inhibits the intended heading
correction.

Set heading_observable before the external position fusion so the reset
can preserve the documented correction of correlated states. The normal
EKF update path recomputes the flag afterwards.
2026-05-08 08:45:41 +02:00
PX4BuildBot 2644109e2e docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-07 20:51:17 +00:00
Hamish Willee f1c59932ee docs(docs): Hide the sidebar on the failsafe simulation page (#27298) 2026-05-08 06:42:08 +10:00
PX4BuildBot 100b85bea3 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-07 17:24:47 +00:00
G. Amponis 7db998e017 fix(ekf2/commander): split no-heading-source from heading-innovation-failure (#27215)
* fix(ekf2,commander): split "no heading source" from heading-innovation-failure

The pre_flt_fail_innov_heading flag conflated two distinct conditions: bad
heading innovations and the absence of any heading source. Optical-flow-only
quad setups (no magnetometer, no GNSS yaw, no external-vision yaw) never set
yaw_align, so the flag latched true and produced a misleading
"Preflight Fail: heading estimate invalid" message in modes that don't
actually depend on heading.

EKF2: pre_flt_fail_innov_heading now reports innovation failures only.
Commander: a new branch consumes estimator_status_flags.cs_yaw_align (when
fresh) to block heading-required modes (POSCTL, AUTO_*, ORBIT, AUTO_LAND,
FW AUTO_TAKEOFF) when no source is present, with a new "no heading
reference" message. The branch only fires for fresh estimator_status_flags
data so external-INS drivers (MicroStrain, VectorNav, ILabs, sbgecom) that
don't publish the flags topic retain prior behaviour. PR #26778's
mode-scoping and PR #26596's silent-pass protection are both preserved.

Resolves #27107.

* style: trim source comments per review

* Apply suggestions from code review

Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com>

* refactor(commander): move no-heading-source check into checkEstimatorStatusFlags

* Update src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp

Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com>

---------

Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com>
2026-05-07 11:17:17 -06:00
PX4BuildBot 095f5a48c6 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-07 15:51:05 +00:00
Marco Hauswirth eabb60edc7 feat(uorb): add SOURCE_LEO to AGP-msg source-enum 2026-05-07 17:34:49 +02:00
PX4BuildBot 4822e0a821 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-07 15:28:55 +00:00
Nick 6d0de7379b feat(failure_detector): unite motorfailure offsets (#26990)
* feat(failure_detector): unite motorfailure offsets

* docs: update docs/en/config/safety.md

* docs: Update src/modules/commander/HealthAndArmingChecks/esc_check_params.yaml

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
Co-authored-by: Silvan Fuhrer <silvan@auterion.com>
2026-05-07 17:20:32 +02:00
Apoorv Thapliyal a1726d316a fix(boards/modalai/voxl2): add shebang from #!/usr/bin/env bash to #!/bin/bash
Build all targets / Scan for Board Targets (push) Has been cancelled
Checks / Gate Checks [check_format] (push) Has been cancelled
Checks / Gate Checks [check_newlines] (push) Has been cancelled
Checks / Gate Checks [module_documentation] (push) Has been cancelled
Checks / Gate Checks [shellcheck_all] (push) Has been cancelled
Checks / Gate Checks [validate_module_configs] (push) Has been cancelled
Checks / Unit Tests (push) Has been cancelled
MacOS build / build (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:22.04) (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:24.04) (push) Has been cancelled
Container build / Set Tags and Variables (push) Has been cancelled
Docs - Orchestrator / T1: Detect Changes (push) Has been cancelled
Docs - Orchestrator / T2: Metadata Sync (push) Has been cancelled
Docs - Crowdin - Upload Guide sources (en) / upload-to-crowdin (push) Has been cancelled
Failsafe Simulator Build / build (failsafe_web) (push) Has been cancelled
FLASH usage analysis / Analyzing px4_fmu-v5x (push) Has been cancelled
FLASH usage analysis / Analyzing px4_fmu-v6x (push) Has been cancelled
ITCM check / Checking nxp_mr-tropic (push) Has been cancelled
ITCM check / Checking nxp_tropic-community (push) Has been cancelled
ITCM check / Checking px4_fmu-v5x (push) Has been cancelled
ITCM check / Checking px4_fmu-v6xrt (push) Has been cancelled
MAVROS Tests / MAVROS Mission (push) Has been cancelled
MAVROS Tests / MAVROS Offboard (push) Has been cancelled
Python CI Checks / build (push) Has been cancelled
ROS Integration Tests / build (push) Has been cancelled
ROS Translation Node Tests / Build and test [humble] (push) Has been cancelled
ROS Translation Node Tests / Build and test [jazzy] (push) Has been cancelled
SITL Tests / Testing PX4 iris (push) Has been cancelled
Build all targets / Seed [${{ matrix.chip_family }}] (push) Has been cancelled
Build all targets / Build [${{ matrix.runner }}][${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts (push) Has been cancelled
Container build / Build Container (amd64) (push) Has been cancelled
Container build / Build Container (arm64) (push) Has been cancelled
Container build / Deploy To Registry (push) Has been cancelled
Docs - Orchestrator / T2: PR Metadata (push) Has been cancelled
Docs - Orchestrator / T2: Link Check (push) Has been cancelled
Docs - Orchestrator / T3: Build Site (push) Has been cancelled
Docs - Orchestrator / T4: Deploy (push) Has been cancelled
FLASH usage analysis / Publish Results (push) Has been cancelled
Static Analysis / Clang-Tidy (push) Has been cancelled
2026-05-06 08:29:37 -07:00
PX4BuildBot 72539dbadb docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-06 14:19:27 +00:00
Samuel Toledano 8e99bcf94d fix(sbgecom): improve GNSS fix publication and metadata (#27285)
* sbgecom: fill hdop & vdop filed in gps sensor

* sbgecom: improve time comparison handling

* sbgecom: publish GNSS fixes without requiring HDT

* sbgecom: compute ellipsoid altitude from MSL altitude and undulation

* sbgecom: normalize GNSS fix types and heading fields

---------

Co-authored-by: Samuel TOLEDANO <samuel.toledano@sbg-systems.com>
2026-05-06 10:11:48 -04:00
PX4BuildBot 466c70ec84 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-06 04:58:38 +00:00
Francesco P. Carmone 5bda4806fa docs(docs): sih quickstart environment variable use (#27276) 2026-05-06 14:51:14 +10:00
PX4BuildBot b6df5164ea docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-06 01:22:49 +00:00
PX4 Build Bot 4f261d7b30 docs(i18n): PX4 guide translations (Crowdin) - uk (#27268)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-05-06 11:15:45 +10:00
PX4 Build Bot 929be2bef4 docs(i18n): PX4 guide translations (Crowdin) - ko (#27267)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-05-06 11:15:31 +10:00
PX4 Build Bot 220a143a23 docs(i18n): PX4 guide translations (Crowdin) - zh-CN (#27269)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-05-06 11:15:04 +10:00
PX4BuildBot f33fb5185e docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-06 00:05:13 +00:00
Claudio Chies 7ee0c4061f feat(docs):Fix deep-link anchor offset and improve layout stability in Firefox (#27284) 2026-05-06 09:57:01 +10:00
PX4BuildBot a484e1b166 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-05 18:12:07 +00:00
av-remco 9d8af2fb4c fix(mavlink): preserve -1 marker in battery fields (#27142)
Build all targets / Scan for Board Targets (push) Has been cancelled
Build all targets / Seed [${{ matrix.chip_family }}] (push) Has been cancelled
Build all targets / Build [${{ matrix.runner }}][${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts (push) Has been cancelled
Checks / Gate Checks [check_format] (push) Has been cancelled
Checks / Gate Checks [check_newlines] (push) Has been cancelled
Checks / Gate Checks [module_documentation] (push) Has been cancelled
Checks / Gate Checks [shellcheck_all] (push) Has been cancelled
Checks / Gate Checks [validate_module_configs] (push) Has been cancelled
Checks / Unit Tests (push) Has been cancelled
MacOS build / build (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:22.04) (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:24.04) (push) Has been cancelled
Container build / Set Tags and Variables (push) Has been cancelled
Container build / Build Container (amd64) (push) Has been cancelled
Container build / Build Container (arm64) (push) Has been cancelled
Container build / Deploy To Registry (push) Has been cancelled
Docs - Orchestrator / T1: Detect Changes (push) Has been cancelled
Docs - Orchestrator / T2: PR Metadata (push) Has been cancelled
Docs - Orchestrator / T2: Metadata Sync (push) Has been cancelled
Docs - Orchestrator / T2: Link Check (push) Has been cancelled
Docs - Orchestrator / T3: Build Site (push) Has been cancelled
Docs - Orchestrator / T4: Deploy (push) Has been cancelled
Failsafe Simulator Build / build (failsafe_web) (push) Has been cancelled
ITCM check / Checking nxp_mr-tropic (push) Has been cancelled
ITCM check / Checking nxp_tropic-community (push) Has been cancelled
ITCM check / Checking px4_fmu-v5x (push) Has been cancelled
ITCM check / Checking px4_fmu-v6xrt (push) Has been cancelled
MAVROS Tests / MAVROS Mission (push) Has been cancelled
MAVROS Tests / MAVROS Offboard (push) Has been cancelled
ROS Integration Tests / build (push) Has been cancelled
ROS Translation Node Tests / Build and test [humble] (push) Has been cancelled
ROS Translation Node Tests / Build and test [jazzy] (push) Has been cancelled
SITL Tests / Testing PX4 iris (push) Has been cancelled
Docs - Crowdin - Upload Guide sources (en) / upload-to-crowdin (push) Has been cancelled
FLASH usage analysis / Analyzing px4_fmu-v5x (push) Has been cancelled
FLASH usage analysis / Analyzing px4_fmu-v6x (push) Has been cancelled
Python CI Checks / build (push) Has been cancelled
FLASH usage analysis / Publish Results (push) Has been cancelled
Static Analysis / Clang-Tidy (push) Has been cancelled
2026-05-05 10:02:19 -08:00
PX4BuildBot b8f9d8a4f4 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-05 13:45:59 +00:00
Matthias Grob d5a9529592 refactor(ControlAllocator): remove unused rover ackermann allocatio 2026-05-05 15:34:17 +02:00
DrinkingHook c5f455f304 fix(control_allocator): Remove SPACECRAFT_3D 2026-05-05 15:34:17 +02:00
DrinkingHook 3eaede3197 fix(control_allocator): add ROVER_MECANUM actuator effectiveness type 2026-05-05 15:34:17 +02:00
PX4BuildBot 761447e12e docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-05 13:22:42 +00:00
Himanshu 9d07764969 fix(drivers/distance_sensor/vl53l0x): filter out invalid 8.19m distance readings (#27214) 2026-05-05 09:14:52 -04:00
PX4BuildBot 715837cd5a docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-05-04 15:08:24 +00:00