Pedro Roque
726b6ad8e2
Merge branch 'main' into pr-dual-atmos
2025-12-16 14:27:48 -08:00
Pedro-Roque
0f33c118ac
fix: changes to dds-topics
2025-12-16 14:26:58 -08:00
Jacob Dahl and Copilot
5632728467
lib: gnss: add RTCM parsing library ( #26093 )
...
* lib: gnss: add RTCM parsing library. Generated by Claude Code.
* lib: gnss: rtcm: use rtcm3_payload_length()
* lib: gnss: rtcm: set header year
* lib: gnss: rtcm: add units tests
* Update src/lib/gnss/rtcm.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/lib/gnss/CMakeLists.txt
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/lib/gnss/rtcm.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* remove mention of reset()
* lib: gnss: rtcm: more effecient preamble search
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-16 09:28:10 -09:00
Pedro-Roque
0a6f2fe3b0
fix: roll back file
2025-12-16 10:17:57 -08:00
Jacob Dahl
778ad160f2
msg: GpsDump: queue 8->16 and add device_id ( #26091 )
...
* msg: GpsDump: increase queue from 8 to 16 and replace instance with device_id
* gps: add back instance
2025-12-16 08:36:02 -09:00
Pedro Roque
c187897bc7
Merge branch 'main' into pr-dual-atmos
2025-12-16 08:57:02 -08:00
Marco Hauswirth
8393f46100
Ekf2 add jamming to gnss checks ( #26085 )
...
* add jamming check to gnss checks
* keep original order of gnss_check params for default backwards compability
2025-12-16 10:10:37 +01:00
Pedro-Roque
f0d695363a
fix: revert to clearly defined max_num_motors
2025-12-15 17:22:20 -08:00
Pedro-Roque
596f2f3804
Merge branch 'pr-dual-atmos' of github.com:PX4/PX4-Autopilot into pr-dual-atmos
2025-12-15 17:11:58 -08:00
Pedro-Roque
4c5a455590
feat: save some memory
2025-12-15 17:11:52 -08:00
Pedro Roque
8cfc8d77ed
Merge branch 'main' into pr-dual-atmos
2025-12-15 14:52:32 -08:00
Pedro-Roque
cd5650c823
Merge branch 'pr-dual-atmos' of github.com:PX4/PX4-Autopilot into pr-dual-atmos
2025-12-15 14:52:17 -08:00
Pedro-Roque
f3a8209e35
fix: added not necessary space
2025-12-15 14:51:53 -08:00
Brandon W. Banks
1345b3500a
Vehicle command for Prearm Safety button ( #26079 )
...
* added vehicle command and support to remotely activate/deactivate the safety system (#26078 )
* added print_status support for prearm safety status
* updated safety button to map to MAV_CMD_DO_SET_SAFETY_SWITCH_STATE = '5300'
* safety switch cmd: fixed incorrect catch-all and added commanded_state variable for easier reading
2025-12-15 11:25:32 -09:00
Balduin
8604604a5b
logged_topics: clean up old commented-out topics ( #26120 )
2025-12-15 09:53:24 -09:00
bresch
d62f112017
ekf2: prevent false mag fault detection
...
A false positive could be triggered if velocity fusion started,
then stopped after takeoff and only position fusion started again
(because velocity fusion timed out and had a timestamp > time_last_on_ground).
We now also check if the fusion timeout is due to the innovation being
rejected (and not just a temporary check failure or data interruption).
2025-12-15 14:06:04 +01:00
Pedro Roque
4db0ae99d0
Merge branch 'main' into pr-dual-atmos
2025-12-13 15:16:32 -08:00
Farhang
14186cf74f
[Tests] [CI] fix flaky altitude SITL test ( #26106 )
...
* test: increase altitude tolerance to fix flaky test
Altitude tolerance increased from 0.1f to 0.15f to handle simulation
timing variations. Test was failing at 0.201m with 0.2m tolerance.
* test: increase altitude tolerance further to 0.3m
* ci: re-add branch trigger for SITL tests
* Revert "ci: re-add branch trigger for SITL tests"
This reverts commit e5e4c9637b .
2025-12-13 09:13:23 -09:00
Julian Oes
5fe82aa485
[Sponsored by CubePilot] Try to fix potential mavlink segfaults on USB disconnect ( #26083 )
...
* mavlink: fix potential use-after-free
If a mavlink instance is force stopped, the main thread might be out of
scope and the receiver thread would be doing a use-after-free.
Instead the receiver thread needs to check its own _should_exit flag.
* mavlink: protect shared data by mutex in dtor
I'm not sure if this potentially fixes any of the segfaults we have seen
on stopping mavlink instances but it potentially could matter if the
mavlink_receiver thread is killed after a timeout and tries to send any
messages as a zombie.
2025-12-12 12:24:02 -09:00
Pedro Roque
553bbd5014
Merge branch 'main' into pr-dual-atmos
2025-12-12 11:56:48 -08:00
Jacob Dahl
b92d21bd31
serial: add txSpaceAvailable function ( #26069 )
...
* serial: add txSpaceAvailable function
* serial: txSpaceAvailable and bytesAvailable fixups
2025-12-12 09:31:33 -09:00
12745baf6c
Adds configurable I2C address for PCA9685 PWM driver ( #26051 )
...
* Adds configurable I2C address for PCA9685 PWM driver
Introduces a parameter to set the I2C address for the PCA9685 PWM output driver, enhancing flexibility for hardware variations. Updates documentation and board initialization scripts to support the new configuration and streamline device startup.
* Update src/drivers/pca9685_pwm_out/module.yaml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/drivers/pca9685_pwm_out/module.yaml
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
2025-12-12 09:31:19 -09:00
Jacob Dahl
c25fcabcc6
esc_battery: fix current reporting
2025-12-12 11:17:24 -07:00
Jacob Dahl
67d62cb371
Revert "gps: fix RTCM injection to use inject-before-read pattern as before. Add RTCM parser to frame-align injection. Drain GpsInjectData uORB queue into RTCM parser buffer and then inject. Add GPS_UBX_PPK parameter to enable MSM7 output from the GPS module (rather than the default of MSM4) which is required for PPK workflows."
...
This reverts commit 0704580a30 .
2025-12-11 21:32:26 -09:00
Jacob Dahl
0704580a30
gps: fix RTCM injection to use inject-before-read pattern as before. Add RTCM parser to frame-align injection. Drain GpsInjectData uORB queue into RTCM parser buffer and then inject. Add GPS_UBX_PPK parameter to enable MSM7 output from the GPS module (rather than the default of MSM4) which is required for PPK workflows.
2025-12-11 20:10:22 -09:00
Pedro-Roque
a430de9073
fix: removed non-necessary actuator_size variable
2025-12-11 10:17:01 -08:00
Pedro-Roque
fe4e55c316
fix: sync with main
2025-12-11 09:31:09 -08:00
Pedro Roque
5b5ad76f63
Merge branch 'main' into pr-dual-atmos
2025-12-11 09:28:22 -08:00
Pedro-Roque
6109d46986
fix: sync submodules with remote
2025-12-11 09:28:07 -08:00
Pedro-Roque
d896b5d835
fix: remove extra modules
2025-12-11 09:27:22 -08:00
Farhang
38eaa8b1d3
Add UAVCAN interfaces numbers board default ( #26066 )
2025-12-11 08:43:07 -05:00
Hamish Willee
16eac303de
docs: Add a magnetometer recalibration section ( #26081 )
2025-12-11 12:19:57 +11:00
Ryan Johnston
aadb83a220
Enhance quick magnetometer calibration feature ( #26073 )
...
Added support for specifying an arbitrary initial heading in quick magnetometer calibration.
2025-12-11 11:42:13 +11:00
Pedro Roque
c2e70a46ec
Merge branch 'main' into pr-dual-atmos
2025-12-10 16:08:52 -08:00
Pedro-Roque
d093115534
fix: ensure esc count does not exceed maximum number of ESCs
2025-12-10 15:57:56 -08:00
Pedro-Roque
d1c6e7f111
fix: revert non-necessary changes
2025-12-10 15:45:12 -08:00
Pedro-Roque
0b530615af
fix: add motor number max fitting Actuator
2025-12-10 15:41:39 -08:00
Hamish Willee
3a2ce0925d
Metadata update 20251210 ( #26070 )
2025-12-10 15:49:47 +11:00
Sindre Meyer Hegre and Hamish Willee
29ba83109c
Update neural_networks.md with Ubuntu version warning ( #26029 )
...
* Update neural_networks.md with Ubuntu version warning
Added warning about Ubuntu version requirement for PX4 firmware.
* Update docs/en/advanced/neural_networks.md
* Update docs/en/advanced/neural_networks.md
---------
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-12-10 10:31:01 +11:00
Antonio Sanjurjo C
7919959f5a
Update standard_modes.md. Fix broken Mavlink link ( #26059 )
2025-12-10 10:22:39 +11:00
Beat Küng and Beniamino Pozzan
703d66e605
ci: move px4_msgs sync from jenkins to github actions ( #26061 )
...
* ci: move px4_msgs sync from jenkins to github actions
I noticed it has not synced in a while, the last time was here:
https://github.com/PX4/px4_msgs/commit/49a0f6c52cf86948e46e5df8a7b61e33319c9ed2
The difference to before is that now also the release branches will be
synced instead of only 'main'.
---------
Co-authored-by: Beniamino Pozzan <beniamino.pozzan@gmail.com >
2025-12-09 18:16:18 +00:00
Alexander Lerach
73a8fc8fb0
boards: v6s, save flash by disabling serial_test
2025-12-09 17:15:39 +01:00
ff-lukas
9b106f71a0
fix: correct baro units in tempcal script
2025-12-09 11:01:06 +01:00
PX4 Build Bot and Crowdin Bot
b06094c737
New Crowdin translations - zh-CN ( #26057 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-12-09 08:41:34 +11:00
PX4 Build Bot and Crowdin Bot
96e5862d88
New Crowdin translations - uk ( #26056 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-12-09 08:41:26 +11:00
PX4 Build Bot and Crowdin Bot
98d8090458
New Crowdin translations - ko ( #26055 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-12-09 08:40:51 +11:00
Pedro-Roque
6991a6ac88
fix: update gz sim to latest
2025-12-07 23:35:50 -08:00
Pedro-Roque
49a8c46946
init: working towards dual-action ATMOS
2025-12-07 23:15:52 -08:00
Kyle Fitzpatrick
3ebb47d53f
TemperatureCompensationModule: fix order of temp cal args
2025-12-05 08:49:23 -09:00
Matthias Grob
b0008e99ff
generate_board_target_json: allow to specify individual targets or entire boards in filter
2025-12-05 08:47:11 -09:00