Ege Kural and PX4 BuildBot
d317113dc8
CI: enable clang-tidy bugprone-assignment-in-if-condition ( #26580 )
...
* docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io >
CI: enable clang-tidy bugprone-assignment-in-if-condition
Signed-off-by: kuralme <kuralme@protonmail.com >
initialize and immediate assignments made one line
Signed-off-by: kuralme <kuralme@protonmail.com >
* two more initialization fix
Signed-off-by: kuralme <kuralme@protonmail.com >
---------
Signed-off-by: kuralme <kuralme@protonmail.com >
Co-authored-by: PX4BuildBot <bot@px4.io >
2026-02-27 00:04:45 -09:00
Jacob Dahl
ce3e62841f
module_base: remove CRTP template pattern to reduce flash bloat ( #26476 )
...
* module_base: claude rewrite to remove CRTP bloat
* module_base: apply to all drivers/modules
* format
* fix build errors
* fix missing syntax
* remove reference to module.h in files that need module_base.h
* remove old ModuleBase<T>
* add module_base.cpp to px4_protected_layers.cmake
* fix IridiumSBD can_stop()
* fix IridiumSBD.cpp
* clang-tidy: downcast static cast
* get_instance() template accessor, revert clang-tidy global
* rename module_base.h to module.h
* revert changes in zenoh/Kconfig.topics
2026-02-19 15:17:17 +13:00
Hamish Willee and PX4BuildBot
cbf39f5ceb
msg: AirspeedValidated - uorb topic to standard ( #25579 )
...
* AirspeedValidated - uorb topic to standard
* Apply suggestions from code review
* Update msg/versioned/AirspeedValidated.msg
* Fix up links to renamed uORB constants
---------
Co-authored-by: PX4BuildBot <bot@pixhawk.org >
2025-09-25 11:02:02 +02:00
Beat Küng
6ce1634dea
fix msp_osd: ASAN raised some buffer overflows when running the unit tests
2025-07-11 10:39:28 +02:00
Peter van der Perk
0fe8738ed9
msp_osd: Add VTX config, stick commands and arming status
...
- Adds MSPv1 rx parsing to fetch VTX config
- Allows to inspect and change VTX channel through CLI
- Forward MSP_RC for stick commands osd
- Forward MSP_STATUS for arming status for PIT and LP mode
2025-06-11 11:32:32 -04:00
Beniamino Pozzan
a2c23acc65
fix (msp_ods): clear buffers before writing and adjust sizes ( #24951 )
...
Signed-off-by: Beniamino Pozzan <beniamino.pozzan@gmail.com >
2025-06-01 18:33:09 -08:00
Michael Smith and Michael
0f2012ba06
MSP_OSD Update: Add original battery status msg. ( #24872 )
...
Co-authored-by: Michael <mfs3ee@gmail.com >
2025-05-19 16:01:02 -08:00
815a339684
MSP_OSD code changes to support OpenIPC, DJI O3/O4 OSD rendering ( #24695 )
...
* Change MSP_OSD message content and rendering process
* Finish MSP_OSD battery message construct
* Finish MSP_OSD `display message` construct
HOL|DSAM|N
* Finish MSP_FC_VARIANT(0x02) message
BTFL
* Finish MSP_OSD RSSI message
📶 10%
* Finish MSP_OSD GPS message
🛰 10
🌐 000.000000
🌐 00.000000
* Finish MSP_OSD PITCH ROLL message
🔃 -10.5
🔁 13.2
* Change struct filed name
* Change OSD message postion
* Finish MSP_OSD PITCH Altitude message
🔝 15.2
* Finish MSP_OSD distanceToHome message
🏠 5000
* Add Hide/Show option for ALT and homeDist
* Format the code by `make format`
* Clean up stray text
* Remove other commented out dead code
* Change `sprintf()` to `snprintf()`
* Add msg field comment in `display_message` construct
* Init str buffer to 0, Change refresh rate back to 100ms
* Explicit conversion float to double
---------
Co-authored-by: Li.Tianming <Li.Tianming@example.com >
Co-authored-by: Li.Tianming <Li.Tianming>
2025-05-16 11:33:40 -08:00
Marco Hauswirth
5842c991ec
AirspeedSelector: add synthetic airspeed option
...
Synthetic airspeed is calculated based on the thrust setpoint
and the thrust<->airpseed model as configured in the parameters.
2025-05-02 13:37:18 +02:00
Matthias Grob
fd04ece6d4
geo: remove dependency on drv_hrt time driver
2024-10-07 14:24:18 +02:00
Matthias Grob
f2bca92221
Fix duplicate newlines at the end of files
2024-07-19 14:33:36 +02:00
Matthias Grob
ece60b6165
msp_osd: reuse existing mode name conversion
...
This saves a bit of flash, keeps the mode names up to date and
works like expected.
2023-12-11 17:29:45 +01:00
Matthias Grob
ef0926d64b
Commander: add position slow mode
2023-12-08 21:17:59 +01:00
Daniel Agar
71b9e31005
drivers/osd/msp_osd: use proper EKF status flags instead of solution status bits
2023-10-18 20:55:12 -04:00
Sergei Grichine
f000238987
SensorGps.msg: switch to double precision for lat/lon/alt
...
To match https://github.com/PX4/PX4-GPSDrivers/pull/132 - adding high precision RTK lat/lon/alt components
2023-07-13 07:50:09 +02:00
Eric Katzfey
36877b9efc
Added crosshairs to MSP OSD driver
2023-04-25 13:49:42 -04:00
Chris Seto
6df2b68d72
Clean msp_osd help string and debug message
2022-11-07 21:05:17 -05:00
chris1seto and Chris Seto
079dfdf209
drivers/osd/msp_osd: cleanup and small fixes/additions ( #20399 )
...
- Fixed clearing arming word if flightmode unknown
- Added power and cell voltage elements
- New OSD layout
- Fixed home direction/distance are now correct
Co-authored-by: Chris Seto <chris1seto@gmail.com >
2022-10-14 10:54:14 -04:00
jmackay2
0ee4d89744
drivers/osd/msp_osd: fix uorb_to_msg isnan floating-point check ( #20309 )
2022-09-27 14:41:43 -04:00
Daniel M. Sahu
779e738143
MSP OSD Revision
2022-09-24 18:40:47 -04:00
Daniel Agar
98036f93c5
msp_osd: fix module documentation
2022-09-16 18:54:14 -04:00
chris1seto and Chris Seto
cfb98e44c9
MSP telemetry and OSD support ( #19515 )
...
Co-authored-by: Chris Seto <chris.seto@bossanova.com >
2022-09-16 11:46:08 -04:00