Commit Graph
310 Commits
Author SHA1 Message Date
Peter Barker 3708936c62 global: correct shebang lines to refernce python3
also remove the odd encoding line which is not required in Py3
2025-07-22 10:45:57 +10:00
Christian Clauss 358019bb03 AP_OSD: Add # flake8: noqa linter directive 2025-06-20 20:30:15 +10:00
Christian Clauss 0546b6a263 AP_OSD: Fix check-executables-have-shebangs
% `pre-commit run --all-files check-executables-have-shebangs ` # currently fails on localhost (a developer's machine).
* https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#check-executables-have-shebangs

With the suggested change in this pull request, that test passes.

The linter directive `# flake8: noqa` was added to ensure that
`pre-commit run flake8` also passed on some Python files.
2025-06-15 22:28:53 +10:00
Peter Barker 6fcd63c7fd AP_OSD_Screen: avoid use of ahrs.roll_sensor and ahrs.pitch_sensor 2025-06-10 16:28:39 +10:00
Peter Barker f4a1f85f21 AP_OSD: rename AHRS get_roll etc accessors to include _rad 2025-06-05 17:28:41 +10:00
Peter Barker fbce66e4d2 AP_OSD: use get_roll_deg in place of roll_sensor (etc.) 2025-06-03 09:48:53 +10:00
Peter Barker 897317d364 AP_OSD: remove line feeds from GCS_SEND_TEXT calls
these often make their way in when moving from some other printf-style debugging...
2025-05-30 22:36:07 +10:00
Leonard Hall 9ccc84fe53 AP_OSD: Create DEGX100 to rad_to_cd 2025-05-28 20:16:26 +09:00
Henry Wurzburg 260732a2ea AP_OSD:fix bug in Inav fonts option 2025-04-17 09:01:55 +10:00
Andy Piper cfcd27c35c AP_OSD: use transfer_fullduplex() for spi transfers 2025-04-02 19:25:21 +11:00
Andrew Tridgell fd888e0066 AP_OSD: split out the new multi-page font tables into cpp file 2025-04-01 10:59:04 +11:00
Henry Wurzburgandyaapu ebf0c22912 AP_OSD: add support for INAV multi page font tables
Co-authored-by:    yaapu <alex.apostoli@gmail.com>
2025-04-01 10:59:04 +11:00
bugobliterator e63909567f AP_OSD: add option for IOMCU SerialProtocol 2025-02-27 20:11:40 +11:00
Andy Piper 2c3eec070f AP_OSD: use get_stick_gesture_pos() for OSD menus 2025-01-15 18:28:44 +11:00
Peter Barker 8b50f3b54b AP_OSD: don't go via RCMap singleton to get RPTY RC channels 2024-09-17 22:10:53 +10:00
Andy Piper 102f483623 AP_OSD: use highest ESC temp rather than motor temp 2024-08-07 18:10:56 +10:00
Nicole Ashley e2c7b489a1 AP_OSD: Add i-BUS telemetry serial protocol value 2024-08-07 14:01:44 +10:00
Peter BarkerandDavid Buzz cc190f537f AP_OSD: correct compilation with AP_RRSI_ENABLED false
Co-authored-by: David Buzz <davidbuzz@gmail.com>
2024-07-24 09:11:39 +10:00
Peter Barker 37964011df AP_OSD: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
Andy Piper 451c1ae347 AP_OSD: use get_max_rpm_esc()
allow ESC index to be specified for OSD ESC info
2024-06-26 17:36:54 +10:00
Henry Wurzburg 247f5e5446 AP_OSD:Update HD fonts 2024-06-12 20:11:00 -04:00
Andrew Tridgell a5672b0105 AP_OSD: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
rmaia 07c854db57 AP_OSD: add BTFL sidebar symbols
Adds the sidebar symbols translation to BTFL fonts, so sidebar is properly displayed in DJI O3 OSD.
2024-05-21 09:23:49 +10:00
rmaia e07980db43 AP_OSD: Add configurable sidebar horizontal and vertical size extensions 2024-05-21 09:21:56 +10:00
rmaia a1a87bd1f5 AP_OSD: add extended RC link stats OSD fields
Adds RSSI dBm, SNR, LQ, Tx power and active antenna OSD fields
2024-04-02 10:30:24 +11:00
Henry Wurzburg 0cfdc75c90 add 60x22 to OSD_TXT_RES metadata 2024-03-26 11:37:16 +11:00
Andrew Tridgell 17a61ab14b AP_OSD: allow size of SITL OSD to be set with parameters 2024-03-26 11:36:48 +11:00
Iampete1 8ccec7615c AP_OSD: use set_and_default when ensuring first screen is enabled 2024-03-26 11:36:00 +11:00
Andrew Tridgell 01b61ea646 AP_OSD: fixed check for BLHeli support 2024-03-18 14:12:25 +11:00
Patrick José Pereira 20d4b1e53f AP_OSD: Use new default for reboot
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2024-03-12 21:13:41 +11:00
Peter Barker d5e4d191d5 AP_OSD: use internal enumeration in place of mavlink enumeration
this will let us more-easily compile without the mavlink headers
2024-02-20 22:09:53 +11:00
Peter Barker a8bc7761d3 AP_OSD: add and use AP_BATTERY_ENABLED 2024-02-06 11:01:02 +11:00
Peter Barker c7678042da AP_OSD: add and use AP_BATTERY_ENABLED 2024-02-06 11:01:02 +11:00
Andrew Tridgell 5147ccd4e1 AP_OSD: convert ALT_HOLD_RTL to RTL_ALTITUDE 2024-01-23 15:00:30 +11:00
Andrew Tridgell fdf286f0b0 AP_OSD: convert ARSPD_FBW_MIN/MAX to AIRSPEED_MIN and AIRSPEED_MAX 2024-01-23 15:00:30 +11:00
Andrew Tridgell 2a9fe41757 AP_OSD: convert remaining uses of TRIM_ARSPD_CM to AIRSPEED_CRUISE 2024-01-23 15:00:30 +11:00
Peter Barker 49bc553cda AP_OSD: make AHRS attitude member variables private 2024-01-14 12:47:47 +11:00
Andrew Tridgell 1627f7f61a AP_OSD: added PPP 2024-01-03 12:14:47 +11:00
Peter Barker 1aa6ad5bc3 AP_OSD: correct compilation when RC_Channels library not available 2023-12-12 14:35:12 +11:00
Peter Barker dd6d1f04c2 AP_OSD: correct compilation when GCS library not available 2023-12-12 11:41:47 +11:00
Peter Barker b2a12f406f AP_OSD: add and use AP_RSSI_ENABLED 2023-12-12 11:37:57 +11:00
Andrew Tridgell 604559a844 AP_OSD: added new serial manager protocol 2023-11-30 07:05:02 +11:00
Henry Wurzburg 3811de3e25 AP_OSD:correct xy limits for panels 2023-11-12 07:08:28 +11:00
Peter Barker 6c80b28685 AP_OSD: allow for compilation without AP_RTC_ENABLED 2023-10-11 19:17:27 +11:00
Michelle Rossouw e59b7a5215 AP_OSD: Make per-cell voltage be shown to two decimal places again 2023-10-04 18:09:17 +11:00
Henry Wurzburg 4508f23893 AP_OSD:Update/correct DisplayPort BF MSP symbols 2023-09-19 11:13:54 +10:00
Peter Barker 1d4a77d33a AP_OSD: correct compilation when OSD compiled out 2023-09-19 08:22:16 +09:00
Henry Wurzburg 63136e9060 AP_OSD:add Aviation style AH option 2023-09-13 08:29:00 +10:00
yaapuandHWurzburg(hurzburg@yahoo.com) 4f69f9cc23 AP_OSD: added OSD_TYPE2 param to enable dual OSDs backend support
Co-authored-by:HWurzburg(hurzburg@yahoo.com)

up to 2 OSD instances can run at the same time sharing a single OSD thread

)
2023-07-13 12:39:19 +10:00
Andy Piper e06952bf0f AP_OSD: use message with static assert 2023-07-13 11:02:40 +10:00