Commit Graph

75 Commits

Author SHA1 Message Date
Peter Barker 1aa6ad5bc3 AP_OSD: correct compilation when RC_Channels library not available 2023-12-12 14:35:12 +11:00
Peter Barker b2a12f406f AP_OSD: add and use AP_RSSI_ENABLED 2023-12-12 11:37:57 +11: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
yaapu 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
Henry Wurzburg 08b3609fa9 AP_OSD:add option to convert home,wind,waypoint and gndspd arrows for BF font set 2023-04-08 07:30:33 +10:00
Henry Wurzburg 4d79c6b9d6 AP_OSD:Add avg resting cell and refactor
Co-authored-by: MichelleRos
2023-02-14 11:06:26 +11:00
Iampete1 5c013552ed AP_OSD: align param info structures to save flash 2023-01-11 18:41:34 +11:00
Peter Barker aea39a1d18 AP_OSD: remove GCS.h from library header files 2022-11-16 18:29:07 +11:00
yaapu 28f2adf1b2 AP_OSD: added missing parameter meta information for OSD_TYPE=5 2022-09-15 10:17:52 +10:00
yaapu ca588b2eed AP_OSD: Fixed UART thread ownership for the MSP DisplayPort OSD Backend 2022-09-14 18:47:01 +10:00
Iampete1 28007bfc1e AP_OSD: params always use set method 2022-08-03 13:43:48 +01:00
Peter Barker 016c9d8239 AP_OSD: correct compilation without OSD_ENABLED
The max7456 header file is guarded by his macro
2022-05-17 10:26:50 +10:00
murata cd9b4b48ae AP_OSD: Console output can be disabled 2022-05-17 09:53:06 +10:00
Peter Barker 26c4b65d4e AP_OSD: rename AP_AHRS::get_position to get_location 2022-01-25 10:47:22 +11:00
Shiv Tyagi 4b7b5a4d90 AP_OSD: fix code causing errors when OSD is compiled out
This fixes the code causing problem in compiling out OSD
2021-12-21 10:06:01 +11:00
Peter Barker 6ce79785b5 AP_OSD: move from HAL_NO_GCS to HAL_GCS_ENABLED 2021-09-22 21:37:00 +10:00
yaapu 94aba33d10 AP_OSD: added multi screen and stats support to DJI FPV OSD 2021-09-16 09:54:25 +10:00
yaapu 7e3395eebd AP_OSD: added a new backend for msp displayport aka canvas mode support 2021-08-25 17:12:15 +10:00
Hwurzburg 0d3b1d90b0 AP_OSD: fixes bug introduced by #16477 2021-08-14 10:17:42 +10:00
giacomo892 8da8b34b49 AP_OSD: Add option to disable Crosshair on horizon element 2021-08-11 18:42:11 +10:00
Hwurzburg 2939efe2c6 AP_OSD: add option to convert to miless at 5280ft vs 10000ft 2021-08-09 16:33:01 +10:00
Andrew Tridgell 2bd04c14fd AP_OSD: move OSD_LINK_Q_* to a new param table
this gives us room for up to 63 more entries
2021-07-16 13:27:38 +10:00
Hwurzburg defc81443c AP_OSD: fix disable value for terrain alt warning 2021-05-04 10:13:56 +10:00
giacomo892 b5ebf9022c [AP_OSD] Fix wrong comment in OSD_W_TERR param 2021-04-28 18:14:52 +10:00
Hwurzburg c1f56c4b22 AP_OSD: Add cell voltage and resting voltage displays
Co-authored-by:shellixyz
2021-03-23 10:24:12 +11:00
Hwurzburg fd9c497232 AP_OSD: Add height above terrain panel and warning 2021-03-11 11:54:47 +11:00
Andrew Tridgell cfe63f8657 AP_OSD: changed OSD screen switching logic
this prevents us constantly changing screens when a PWM is given that
matches multiple screens. Instead the first matching screen is used
2021-02-03 10:09:41 +11:00
Andy Piper 8cd9af5ddd AP_OSD: refactor to enable a TX-only set of parameter screens
add accessor for getting parameter names
add camel-case conversion for parameters names
enable OSD parameters unless HAL_MINIMIZE_FEATURES
correct OSD parameter documentation
don't default to TXONLY
2020-11-11 18:13:11 +11:00
Andy Piper 46d4d9a97e AP_OSD: use cleaner conditional compilation for the various OSD options
provide suitable defaults for parameter screens on different vehicles
build fixes
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2020-09-16 18:11:54 +10:00
Hwurzburg f78a09ba2a AP_OSD: fix white space error preventing emit to Wiki 2020-09-13 12:16:57 +10:00
Andy Piper 04b3b1f4c2 AP_OSD: re-enable OSD parameters on 1Mb boards since it wasn't doing anything
Make sure OSD parameters can be disabled in hwdef.dat
2020-09-10 18:10:32 +10:00
Andy Piper c483c04d4b AP_OSD: separate parameter screen
display parameter names and types and allow modification via stick gestures
add support for updating selected parameters
support symbolic names for cetain options with add vehicle specific labels
add support for OSD parameter access and modification over mavlink
save OSD parameter when setting
add missing serial protocols
set defaults on settings correctly
re-organise defaults for NTSC screens and add 9th parameter
allow parameter control to be disabled
add plane aux options (from vierfuffzig)
only enable osd param on bitmap enabled backends
make sure draw() is elided on non-bitmap backends
2020-09-09 20:36:42 +10:00
Andrew Tridgell c7b03dc936 AP_OSD: added missing OSD types to param docs 2020-09-09 06:35:50 +10:00
Andrew Tridgell 0e55a63be2 AP_OSD: skip backend drawing for boards without font backends
this saves a lot of flash space on boards that want the MSP OSD system
but not the MAX7456 backend
2020-09-02 05:56:46 +10:00
Andrew Tridgell 25746ef27e AP_OSD: avoid building MAX7456 driver without an SPI device for it 2020-09-02 05:56:46 +10:00
yaapu b8b285b359 AP_OSD: added support for an MSP based OSD 2020-09-02 05:56:46 +10:00
Andrew Tridgell 6360c67858 AP_OSD: avoid build when OSD disabled 2020-03-28 15:28:03 +11:00
Andy Piper a09c18386e AP_OSD: allow osd to be disabled 2019-12-30 13:02:04 +11:00
Henry Wurzburg 11c633be32 AP_OSD: distance total fix for slow vehicles 2019-09-27 07:19:55 +10:00
Henry Wurzburg f592806184 AP_OSD: formatting fixes 2019-09-25 15:01:59 +09:00
Michael du Breuil 10410b696c AP_OSD: Refactor battery current interface 2019-07-14 00:28:00 -07:00
Michael du Breuil ba4c589ff2 AP_OSD: Fix depending upon AP_Logger for AP_BattMonitor header 2019-06-18 10:02:05 +10:00
SergeyBokhantsev cd166ec911 AP_OSD: Switch screens basing on FS state
AP_OSD: Switch screens basing on ARM state
2019-04-23 20:41:07 +10:00
Dr.-Ing. Amilcar do Carmo Lucas 12a6e9ad69 AP_OSD: replace location_offset() and get_distance() function calls with Location object member function calls
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Tom Pittenger 1648a6544b AP_OSD: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
vierfuffzig 47463e8159 AP_OSD: set default type for boards with onboard OSD 2018-11-09 08:12:51 +11:00
Andrew Tridgell 83f293305f AP_OSD: raise thread stack size to 1024
based on testing in SITL
2018-08-20 13:49:14 +10:00
Hwurzburg 5f72c9040e AP_OSD: Adding flight distance and summary panels for OSD 2018-08-16 12:00:50 +10:00
Alexander Malishev eec34fc47d AP_OSD: add waypoint and xtrack_error items 2018-08-16 10:26:34 +10:00