Commit Graph

50486 Commits

Author SHA1 Message Date
Hamish Willee
6306ea0d96 docs(docs): subedit 2026-07-22 16:13:35 +10:00
Hamish Willee
5d85a498b2 docs(docs): msg file whitespace 2026-07-22 15:47:15 +10:00
JaeyoungLim
6a7dad5c09 Add airflow message to ToC 2026-07-17 11:00:08 -07:00
JaeyoungLim
d6a8a4ba0f Add docs for wind estimator 2026-07-16 10:04:29 -07:00
JaeyoungLim
3cd01662c6 Use measured air density
Use true airspeed
2026-07-16 08:24:41 -07:00
JaeyoungLim
2688d63fd4 Cleanup dead includes 2026-07-16 08:15:50 -07:00
JaeyoungLim
3826a20d70 Remove vtol argument 2026-07-16 08:07:15 -07:00
JaeyoungLim
db8b5d8684 Improve parameter names 2026-07-16 08:06:49 -07:00
JaeyoungLim
a06b18ee0e Update module name 2026-07-16 07:51:13 -07:00
JaeyoungLim
ae5e78388d Add paper reference in the comments 2026-07-16 07:40:01 -07:00
Jaeyoung Lim
bafbb05359 Update src/modules/fw_wind_estimator/module.yaml
Co-authored-by: Silvan Fuhrer <silvan@auterion.com>
2026-07-16 07:40:01 -07:00
Jaeyoung Lim
c93882b885 Update src/modules/fw_wind_estimator/module.yaml
Co-authored-by: Silvan Fuhrer <silvan@auterion.com>
2026-07-16 07:40:01 -07:00
Jaeyoung Lim
e74a281796 Update src/modules/fw_wind_estimator/FixedwingWindEstimator.cpp
Co-authored-by: Silvan Fuhrer <silvan@auterion.com>
2026-07-16 07:40:01 -07:00
Jaeyoung Lim
04c68af64c Update src/modules/fw_wind_estimator/FixedwingWindEstimator.cpp
Co-authored-by: Silvan Fuhrer <silvan@auterion.com>
2026-07-16 07:40:01 -07:00
JaeyoungLim
31a90a547f Address review comments
Limit logged frequency

Remove white spaces
2026-07-16 07:40:01 -07:00
JaeyoungLim
a4b7648a22 Update message description 2026-07-16 07:40:01 -07:00
JaeyoungLim
cb36f25612 Address review comments
Address comments

Fix

Remove bool vtol

F

F
2026-07-16 07:40:01 -07:00
JaeyoungLim
3855879468 Remove units 2026-07-16 07:40:01 -07:00
JaeyoungLim
da03c7cf9a Update units 2026-07-16 07:40:01 -07:00
JaeyoungLim
3ad5d96612 Use new param yaml format 2026-07-16 07:40:01 -07:00
JaeyoungLim
860832bc76 Remove Dcmf 2026-07-16 07:40:01 -07:00
JaeyoungLim
1dc429f4ac Use gravity constant 2026-07-16 07:40:01 -07:00
JaeyoungLim
ef75426a1e Parse parameters without intermediate representations 2026-07-16 07:40:01 -07:00
JaeyoungLim
4854b965c4 Fix transformation issues and use aero params from advanced plane 2026-07-16 07:40:01 -07:00
Jaeyoung Lim
557b7abf63 Update src/modules/fw_wind_estimator/FixedwingWindEstimator.cpp
Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com>
Update src/modules/fw_wind_estimator/FixedwingWindEstimator.cpp

Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com>
Update src/modules/fw_wind_estimator/FixedwingWindEstimator.cpp

Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com>
Update src/modules/fw_wind_estimator/FixedwingWindEstimator.hpp

Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com>
Update src/modules/fw_wind_estimator/fw_wind_estimator_params.c

Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com>
Address review comments
2026-07-16 07:40:01 -07:00
JaeyoungLim
a49807b3af Fix logging and comment out printouts 2026-07-16 07:40:01 -07:00
JaeyoungLim
2a76880641 Log airflow topics 2026-07-16 07:40:01 -07:00
JaeyoungLim
ac68f024ab Add groundtruth topics for evaluation 2026-07-16 07:40:01 -07:00
JaeyoungLim
832a7ee218 Add module for model-based 3D wind estimation
Add Airflow message

Integrate airflow messages

initialize parameters at a better place

Poll local velocity for wind estimates

F

Fix
2026-07-16 07:40:01 -07:00
jcharette
4ae21a5e56 feat(boards/nxp_mr-tropic): support both board revisions with sensor and PHY fallback 2026-07-16 13:14:36 +03:00
Vincello
656989b1dd docs(corvon_v5): fix labels in connectors diagram (#27893)
Fix swapped TELEM1/TELEM2 labels, CAN1_H pin name, I2C3 label
and a few typos.

Signed-off-by: holydust <holydust@live.ca>
2026-07-16 18:20:46 +10:00
Marco Hauswirth
3e3f5631da fix(ekf/mavlink): fix logging of estimator_fusion_control uorb-topic and low-bandwith streaming of ESTIMATOR_SENSOR_FUSION_STATUS 2026-07-16 09:37:03 +02:00
Marco Hauswirth
1d02832798 fix(ekf2): hard reset external position estimate while position aiding active (#27856) 2026-07-16 09:36:15 +02:00
Alexis Guijarro
0542e1f157 feat(boards/3dr/ctrl-n1): configure barometer as DPS368 (#27854) 2026-07-15 21:39:15 -04:00
PX4BuildBot
4cf8622a13 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-07-15 18:48:19 +00:00
Bartok
a8899d06cd docs: fix paramter/threshhold typos in FW control, follow-me, and batmon (#27897)
Comment-only spelling fixes; no control-path changes.
2026-07-15 12:42:31 -06:00
Bartok
ea6009ef22 docs(simulation): fix GPS sinstance typo in SENS_EN_GPSSIM short (#27912)
Parameter short description only; name/default unchanged.
2026-07-15 12:37:15 -06:00
Bartok
bbfdc46247 docs(uuv_att_control): fix Yawh→Yaw in UUV_YAW_P short (#27913)
Param name unchanged; short description typo only.
2026-07-15 12:35:49 -06:00
Bartok
124dbd1074 docs(batt_smbus): fix neccessary→necessary in comments (#27914)
Comment-only spelling in SMBus setup notes.
2026-07-15 12:35:20 -06:00
Bartok
ad118f4675 docs(cyphal): fix succes→success in socket/CAN return comments (#27911)
Comment-only typo on CanardSocketCAN and CanardNuttXCDev.
2026-07-15 12:35:01 -06:00
Bartok
088c75cd64 docs(drivers): fix succes→success in dshot return comments (#27910)
Typo-only in @return docs for dshot helpers.
2026-07-15 12:34:29 -06:00
Jacob Dahl
b11e615810 fix(zenoh): stop the build writing generated files into the source tree (#27904)
* fix(zenoh): generate the topic catalog into the build tree

Kconfig.topics is fully generated from the uORB message set, but the build
regenerated it into the source tree at configure time. Building any Zenoh
board therefore left the working tree dirty whenever the message set had
changed since the file was last committed (the catalog is board-config
dependent, so it drifts easily).

Generate the catalog into the build directory in cmake/kconfig.cmake, before
Kconfig is parsed, and source it from there via ZENOH_KCONFIG_TOPICS. It is
generated board-independently from every message so it no longer depends on
the msg-gating Kconfig symbols it is sourced alongside; the per-board factory
still gates which topics are actually compiled. Drop the committed catalog.

* chore(zenoh): bump zenoh-pico to the build-tree header fix

Moves zenoh-pico's generated config.h/zenoh-pico.h/library.json out of its
own source tree and into the build tree, so building no longer dirties the
submodule.

Gated on PX4/zenoh-pico#2: the pointer currently references the fix branch on
a fork and must be moved to the merged commit before this is ready.

* bump zenoh-pico
2026-07-15 12:12:09 -06:00
PX4BuildBot
e96159c217 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-07-15 15:04:07 +00:00
Claudio Chies
d63f30c612 feat(failure_injection): Enable failure-injection on hardware, and through RC-switch (#27832)
* feat(failure_injection): integrate failure injection support across sensor drivers

* feat(failure_injection): enhance failure injection with RC switch support and instance bitmasking

feat(failure_injection): add disabled failure injection manager and system command support for v5x and v6x boards

* feat(failure_injection): add battery failure injection

Add a value-mutating apply-site for FAILURE_UNIT_SYSTEM_BATTERY. On an
injected OFF the outgoing battery_status is reported as a depleted pack
(zero remaining, emergency warning) so the low-battery failsafe triggers.

The apply-site lives in the shared Battery library, covering the analog
ADC, INA power monitors, ESC battery and SITL in one place, plus the
UAVCAN battery driver which publishes battery_status directly. The
previous SITL-only hack in BatterySimulator is removed in favour of this
shared path so simulation and hardware behave identically.

* fix(failure_injection): change parameter types from int32 to enum

* refactor(failure_injection): disable failure injection manager and system commands across multiple boards

* feat(failure_injection): enhance failure injection with timestamp handling and message-less support

* refactor(failure_injection): simplify has_timestamp_sample implementation and remove unused includes

* refactor(failure_injection):move conditional compilation into helper libary

* refactor(failure_injection): update CMakeLists to include failure_injection dependency across multiple drivers

---------

Co-authored-by: Claudio Chies <chiesc@chies.com>
2026-07-15 07:56:13 -07:00
Jacob Dahl
f0ee79d34b build(msg): silence uORB IDL codegen build noise
The cdrstream uORB->IDL->CDR codegen floods the build log with noise:

- CycloneDDS idlc warns once per carried-over .msg comment that the
  @verbatim annotation is unsupported (VehicleCommand alone emits 153).
  Pass -Wno-unsupported-annotations via the idlc_generate WARNINGS list.

- rosidl_adapter prints a Reading/Writing line per message to stdout.
  Filter those in msg2idl.py via builtins.print rather than redirecting
  stdout, which the empy template engine breaks on. Errors still go to
  stderr.
2026-07-15 11:43:17 +03:00
Alex Klimaj
40a05f0709 fix(boards/ark/fpv): split FW/VTOL builds to free flash (#27906)
* fix(boards/ark/fpv): split FW/VTOL into separate builds for flash

Default ark_fpv is multicopter-only so listener and sd_bench fit in
flash. Fixed-wing and VTOL stacks move to ark_fpv_fw and ark_fpv_vtol,
which disable those two system commands to stay under the limit.

Signed-off-by: alexklimaj <alex@arkelectron.com>

* fix(boards/ark/fpv): trim optional modules from vtol build

Drop gimbal, gyro_fft, autotune, camera, payload, and debug systemcmds
from ark_fpv_vtol so the full VTOL stack fits with more flash margin.

Signed-off-by: alexklimaj <alex@arkelectron.com>

* fix(boards/ark/fpv): keep more modules on vtol; trim only debug extras

Restore autotune, gimbal, gyro_fft, mag bias, payload, camera, esc
battery, and actuator_test on ark_fpv_vtol. Keep flash margin by
leaving sd_bench, listener, bsondump, i2cdetect, and pca9685 off.

Signed-off-by: alexklimaj <alex@arkelectron.com>

---------

Signed-off-by: alexklimaj <alex@arkelectron.com>
2026-07-14 20:22:48 -06:00
Jacob Dahl
219fcf387d chore(claude): overhaul review-pr skill to focus on substance (#27892)
* chore(claude): overhaul review-pr skill to focus on substance

The skill spent most of its 207 lines on process: merge-strategy
recommendations, commit-message auditing, formatting checks, and an
interactive posting menu. That feedback is nit-picky noise for a PR
author, and CI already enforces formatting.

Rewrite it (49 lines) around reviewing substance: merit and need (root
cause vs papering over), first-principles analysis for physics/math
changes, architecture consistency with the surrounding code, and an
alternatives assessment. Output is a debrief for the operator plus a
terse, actionable draft comment explicitly attributed as a Claude
review.

Signed-off-by: Jacob Dahl <dahl.jakejacob@gmail.com>

* chore(claude): generalize numeric-robustness check beyond float32

The physics/math check hardcoded float32; not all flight-critical math
uses it. Phrase the robustness check in terms of the given
representation, keeping float32 precision as a concrete example.

Signed-off-by: Jacob Dahl <dahl.jakejacob@gmail.com>

* chore(claude): fold maintainability into the architecture check

Rename the check to Architecture and maintainability and direct it at
hidden cross-module coupling — a change that silently breaks an
assumption in another module — asking for a contract-codifying unit
test when such coupling is unavoidable.

Signed-off-by: Jacob Dahl <dahl.jakejacob@gmail.com>

* chore(claude): add reliability to the correctness check

Reliability was not called out anywhere. Rename to Correctness and
reliability and add resource exhaustion and failure-path handling to
the list of defects to look for.

Signed-off-by: Jacob Dahl <dahl.jakejacob@gmail.com>

* chore(claude): make the debrief lead with findings

A per-file restatement of a well-described PR wastes tokens and time.
Have the debrief lead with actionable findings and only explain what
the change does when the PR description is missing, ambiguous, or
misleading.

Signed-off-by: Jacob Dahl <dahl.jakejacob@gmail.com>

* chore(claude): require provable, objectively-framed findings

Direct the draft comment to frame findings as engineering tradeoffs
rather than judgments, and to stay silent on any flaw it cannot
demonstrate via a concrete code path or first-principles derivation.

Signed-off-by: Jacob Dahl <dahl.jakejacob@gmail.com>

---------

Signed-off-by: Jacob Dahl <dahl.jakejacob@gmail.com>
2026-07-14 10:03:37 -06:00
PX4BuildBot
25bb4a2224 docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-07-14 13:14:34 +00:00
Koi
785ede83d4 fix(mavlink): accept NAV_TAKEOFF param1 on multicopters (#27853)
Strict command-parameter validation added in #27541 rejects
MAV_CMD_NAV_TAKEOFF when an unsupported param is set. QGroundControl
sends param1 (minimum pitch) = -1 on multicopter takeoff, which is
non-zero/non-NaN, so commands were silently denied (MAV_RESULT_DENIED
with no log) on MC airframes and QGC guided takeoff stopped working.

Extend the NAV_TAKEOFF override to include VEHICLE_MC so param1 is
accepted and ignored on multicopters, matching FW/VTOL handling.
2026-07-14 15:08:38 +02:00
Bartok
7c70e4dbeb docs: fix retuns/Succesful typos in board_common and ModalAI HITL debug (#27898)
- board_common.h RC serial swap docs: retuns → returns
- dsp_hitl debug PX4_INFO strings: Succesful → Successful
2026-07-14 09:03:24 -04:00