47415 Commits

Author SHA1 Message Date
Marco Hauswirth
fa9bfebd17 only run range validator on regular data 2025-06-24 11:11:02 -08:00
Marco Hauswirth
5e6c36a424 adjust IMU falling detection baro-range unittest 2025-06-24 11:11:01 -08:00
Marco Hauswirth
aa00bdcd5d also run range consistency check while landed 2025-06-24 11:11:01 -08:00
Marco Hauswirth
7cfea9915b change consistency to only be valid if running for a second 2025-06-24 11:11:01 -08:00
Marco Hauswirth
564b517225 * clean up method calls
* move P-init to ekf-derivation script
2025-06-24 11:11:01 -08:00
Marco Hauswirth
30636495c7 fix uncertainty initialization 2025-06-24 11:11:01 -08:00
Marco Hauswirth
9cd8db9680 clean up range-filter fusion step 2025-06-24 11:11:01 -08:00
Marco Hauswirth
6b16b8f906 reset state to unknown on init 2025-06-24 11:11:01 -08:00
Marco Hauswirth
46157114b7 overhaul approach to work on unit tests and snow/blocking/normal flights 2025-06-24 11:11:01 -08:00
Marco Hauswirth
57dd9eb599 adjust threshold unit tests 2025-06-24 11:11:01 -08:00
Marco Hauswirth
844ab9d423 add symforce, adjust smaller things 2025-06-24 11:11:01 -08:00
Marco Hauswirth
79e60c343a always update lpf 2025-06-24 11:11:01 -08:00
Marco Hauswirth
d686936979 fix bugs, rejection was too sensitive 2025-06-24 11:11:01 -08:00
Marco Hauswirth
18527d1bc0 fix wrong miniEKF init 2025-06-24 11:11:01 -08:00
Marco Hauswirth
c2a4e61c3f handle noise while hovering 2025-06-24 11:11:01 -08:00
Marco Hauswirth
e441f3d53c add mini KF to validate range sensor measurements 2025-06-24 11:11:01 -08:00
Alexander Lerach
160ae487ff auav: use correct sign during calib data reading 2025-06-24 17:58:53 +02:00
Sergei Grichine
256b329aab
Differential: Update 4011_gz_lawnmower to match recent changes in Rover controls (#25079) 2025-06-24 09:17:10 +02:00
Jacob Dahl
95119027a9
ekf2: variable to parameter name consistency (#25042)
Rename various EKF2 variable names to match the PX4 parameter names
2025-06-24 09:15:50 +02:00
Jakub Kákona
9e90fd193f
doc: Improve I2C devices links and explanation (#24701)
* Improve links URL by swithing from GitHub URL to actual documentation.

* Update i2c_general.md

Clean up and simplify the explanatory text.
2025-06-23 11:06:37 -08:00
Liu1
832a90e07f
cuav_7-nano:use new sensors (#25098) 2025-06-23 07:24:28 -08:00
Hamish Willee
2e6fd9dd72 Updates from feedback 2025-06-20 08:27:03 +10:00
Hamish Willee
94dc757363 Prettier and add context 2025-06-20 08:27:03 +10:00
Hamish Willee
5cfa0d548c Update docs/en/peripherals/dshot.md 2025-06-20 08:27:03 +10:00
Jacob Dahl
fa9f8734d0 update warning, add imxrt targets 2025-06-20 08:27:03 +10:00
Jacob Dahl
3d5cb891a6 docs: bidirectional dshot 2025-06-20 08:27:03 +10:00
Beat Küng
afbaa71bfc
fix mavlink: add mutex for mavlink shell (#25082)
There was a race condition when closing the shell:
- the main thread checks if _mavlink_shell is not nullptr (which is true)
- the receiver thread closes the shell, which clears _mavlink_shell
- the main thread continues with _mavlink_shell->available()
2025-06-19 13:03:01 -08:00
Hamish Willee
873aa89022
[Docs] Update QGC Bootloader instructions (#25072)
* [Docs] Update QGC Bootloader instructions

* Add release note
2025-06-18 09:02:00 -08:00
Daniel Agar
1b3c6f7fd2 drivers/magnetometer: remove Vtrantech VCM1193L from common magnetometer set 2025-06-18 11:56:13 -04:00
Marco Hauswirth
6604c52c98
Commander: Adjust home position altitude after GNSS altitude correction (#25003)
Within the first 2min of a flight, check if the integrated GNSS vertical velocity and the baro
measurements disagree with the reported GNSS altitude, and in that case update the 
set home position altitude to cancel out GNSS altitude drift.

* prevent re-init when reaching negative altitudes

* only allow correction during the first 120 second after takeoff

* add dependency to COM_HOME_EN parameter. reset vel-integral for multiple takeoffs
2025-06-18 13:26:45 +02:00
Hamish Willee
ef252481a8 Collision mode only works with mpc_pos_mode that is acceleration based 2025-06-18 16:38:37 +10:00
chfriedrich98
f35b92a487 rover: replace RX_MAX_THR_YAW_R with a correction factor RO_YAW_RATE_CORR 2025-06-18 08:35:48 +02:00
chfriedrich98
3e8f054a1c ackermann: rename DriveModes to AckermannDriveModes 2025-06-18 08:35:48 +02:00
chfriedrich98
eed966a1c6 rover: reduce speed based on course error 2025-06-18 08:35:48 +02:00
chfriedrich98
5a430f0ba6 rover: streamline rover steering setpoint 2025-06-18 08:35:48 +02:00
Hamish Willee
4a5c00d0e4
EKF2_GPS_POS_X/Y/Z have same long description (#25068) 2025-06-17 21:07:09 -08:00
PX4BuildBot
778f80ca59 CellularStatus - fix to doc standard 2025-06-18 13:26:45 +10:00
Jacob Dahl
339e0f9691
params: srcparser: don't strip newlines (#25058) 2025-06-17 12:04:33 -08:00
Peter van der Perk
7687e6e33f dshot: Telem set baudrate before pin-swapping
On IMXRT setbaudrate resets swap state
2025-06-17 14:54:48 +02:00
Peter van der Perk
001efc1c0b Bosch: BMM350: Fix self-test on high ODR rate
We've to wait for atleast 6000us before doing self-test
2025-06-17 12:01:45 +02:00
Matthias Grob
eccfb18b51 battery_status message: remove serial_number which is now in battery_info message 2025-06-17 09:05:22 +02:00
Matthias Grob
1d86ede6c6 msg translations: sort headers alphabetically 2025-06-17 09:05:22 +02:00
Matthias Grob
84ce7d2fc6 cyphal: switch to battery_info.serial_number 2025-06-17 09:05:22 +02:00
Matthias Grob
a18453d632 uavcan battery: switch to battery_info.serial_number 2025-06-17 09:05:22 +02:00
Matthias Grob
3ec684153a batmon: switch to battery_info.serial_number 2025-06-17 09:05:22 +02:00
Matthias Grob
2237bfa9a9 smbus_sbs: switch to battery_info.serial_number 2025-06-17 09:05:22 +02:00
Matthias Grob
7895976a17 batt_smbus: switch to battery_info.serial_number 2025-06-17 09:05:22 +02:00
Matthias Grob
d7ab21b8d6 Add battery_info message with serial number compatible with UAVCAN, MAVLink and drivers
I'm starting the separate battery info message because no char[32] should be published and logged
at high rate and we need a separate battery info message for static information as discussed.
2025-06-17 09:05:22 +02:00
Qiaosen Liu
59710b15ae
params: COM_RC_LOSS_T: clarify safe adjustment of RC loss timeout (#25062)
* params: COM_RC_LOSS_T: clarify safe adjustment of RC loss timeout

* Update src/modules/commander/commander_params.c

---------

Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com>
2025-06-16 18:50:43 -08:00
Julian Oes
0180ad3a63 mavlink: implement extended MISSION_CURRENT
The message MISSION_CURRENT got extensions regarding mission state in
https://github.com/mavlink/mavlink/pull/1869

This is an attempt to actually populate those fields.
2025-06-17 13:37:47 +12:00