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
Silvan Fuhrer
e0663cd6ad
Sensor params: improve board rotation parameter description and meta data ( #25037 )
...
* Sensor params: add @decimals and @min, @max to SENS_BOARD_ params
Signed-off-by: Silvan <silvan@auterion.com>
* Sensor params: Improve parameter description
Signed-off-by: Silvan <silvan@auterion.com>
---------
Signed-off-by: Silvan <silvan@auterion.com>
Co-authored-by: Ramon Roche <mrpollo@gmail.com>
2025-06-16 14:59:03 -08:00
Silvan Fuhrer
a6863f0930
FW mode manager: open up / remove some arbitrary params constraints ( #25036 )
...
* performance model: remove arbitrary min/max parameter constraints
Signed-off-by: Silvan <silvan@auterion.com>
* FW mode manager: open up/remove unnecessary param @max constraints
Signed-off-by: Silvan <silvan@auterion.com>
---------
Signed-off-by: Silvan <silvan@auterion.com>
Co-authored-by: Ramon Roche <mrpollo@gmail.com>
2025-06-16 14:58:38 -08:00
Ramon Roche
34d4eb7b9e
ci: update build container ( #25059 )
...
adds lark python dependency #25056
https://github.com/PX4/PX4-Autopilot/pull/25056
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
2025-06-16 14:57:17 -08:00
Ramon Roche
efc3e64c00
ci: update rosdistro apt keys ( #25060 )
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
2025-06-16 13:46:33 -08:00
Peter van der Perk
0369abd556
Add lark to python requirements for the rosidl parser
2025-06-16 12:41:48 -07:00
QiTao Weng
75e4047f2a
Fix ADSB heading angle obtained from driver by removing +pi. Adjusted downstream accordingly
2025-06-13 15:28:25 +02:00
Beat Küng
310cbbedb1
fix septentrio: check for buffer underflow
...
_message.header.length - 4 is passed as unsigned to the CRC method, so if
_message.header.length < 4, the length wraps and causes invalid memory
access.
2025-06-13 14:39:57 +02:00
Alexander Lerach
6f81998e27
hardfault: add option to stream via mavlink
2025-06-13 13:32:00 +02:00
Jacob Dahl
edda54b26b
build: romf: fix generation of rc.board_bootloader_upgrade ( #25032 )
2025-06-13 00:45:14 -08:00
Beat Küng
e29771cd97
septentrio: add static assertions to ensure the buffer is large enough
...
And check the access for dynamic sized input. This is only a precaution
if the device sends invalid data (too large sb_length) with valid crc.
2025-06-13 09:46:10 +02:00
Beat Küng
ac74a02d7c
fix septentrio: ensure the crc check does not read past the buffer size
...
in case the input data is invalid.
2025-06-13 09:46:10 +02:00
Beat Küng
d13692ca46
fix septentrio: initialize _current_index
...
Decoder::reset sets it to 0, but it could have been accessed before the
first call to reset().
2025-06-13 09:46:10 +02:00
Hamish Willee
77d854b045
Update ll40ls.cpp ( #25007 )
2025-06-12 16:08:12 -08:00
Jacob Dahl
fae563b35e
[bug] AFBRS50 fix scheduling and refactor ( #24837 )
...
* fix scheduling bug for afbrs50
* cleanup and refactor
* format
* clean up
---------
Co-authored-by: Alex Klimaj <alex@arkelectron.com>
2025-06-12 16:59:02 -06:00
Julian Oes
4c130769bd
boards: set RC serial for KakuteH7-Wing
...
This was missed earlier.
2025-06-13 10:19:54 +12:00
Julian Oes
599ea7545d
boards: fixup image size of KakuteH7-Wing
...
We have 1 sector for the bootloader and the last 2 for parameters.
That's to match how ArduPilot has it.
2025-06-13 10:19:54 +12:00
Julian Oes
9fd126194b
vscode: add KakuteH7-Wing
2025-06-13 10:19:54 +12:00
Pedro Roque
6d15019717
feat: spacecraft tooling for commander and VehicleStatus ( #24716 )
...
* feat: spacecraft tooling for commander and VehicleStatus
* fix: format
* fix: remove iostream
* feat: mavlink compliant spacecraft definition
* feat: add orbiter to define
feat: spacecraft tooling for commander and VehicleStatus
fix: format
fix: remove iostream
feat: mavlink compliant spacecraft definition
* feat: add orbiter to define
* feat: update mavlink to latest
* fix: get away without specifying spacecraft vehicle
* fix: removed unnecessary definition
* fix: format
2025-06-12 21:48:48 +02:00
Matthias Grob
6b2b20bd6e
imu_gyro_parameters: lower default angular acceleration filter from 30Hz to 20Hz
...
to avoid noise getting into the derivative term of the PID rate control loop on integration flights.
2025-06-12 17:15:12 +02:00
Hamish Willee
e6e42fa043
BatteryStatus.msg - docs update ( #24789 )
...
* BatteryStatus.msg - docs update
* Update msg/versioned/BatteryStatus.msg
* Units/enum/range before description
* Update msg/versioned/BatteryStatus.msg
* Apply suggestions from code review
Co-authored-by: Matthias Grob <maetugr@gmail.com>
* MOve MAX_INSTANCES to top
* Fix up full stops
---------
Co-authored-by: Matthias Grob <maetugr@gmail.com>
2025-06-12 16:06:13 +02:00
Hamish Willee
3b35676afe
Update ActuatorServos.msg - remove terminating full stops.
2025-06-12 18:46:29 +10:00
Hamish Willee
b0d48ce786
unit/range first
2025-06-12 18:46:29 +10:00
Hamish Willee
f014bea723
ActuatorServos.msg - uORB docs
2025-06-12 18:46:29 +10:00
Hamish Willee
a9e67d4142
Remove field terminating full stops
2025-06-12 18:45:01 +10:00
Hamish Willee
46f3e2ea71
units/range first
2025-06-12 18:45:01 +10:00
Hamish Willee
dd1b435460
Update msg/versioned/ActuatorMotors.msg
2025-06-12 18:45:01 +10:00