Commit Graph

94 Commits

Author SHA1 Message Date
Peter Barker 6620640916 AP_OSD: move OSD minimised features to minimize_features.inc 2023-02-28 10:40:27 +11: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 82dabd1872 AP_OSD: use new param defualting method 2023-01-24 10:16:56 +11:00
Iampete1 e2535d1197 AP_OSD: rework param defualting 2023-01-10 10:42:52 +11:00
Peter Barker aea39a1d18 AP_OSD: remove GCS.h from library header files 2022-11-16 18:29:07 +11:00
Peter Barker 40c420e2dc AP_OSD: guard constructor requiring MAVLink with HAL_GCS_ENABLED
OSD_PARAM_NONE comes from mavlink headers
2022-11-16 18:29:07 +11:00
Peter Barker ad32805213 AP_OSD: tidy includes 2022-11-08 09:49:19 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
yaapu 25e0edc54b AP_OSD: New per screen PARAMs for OSD overlay resolution and font
This adds
 OSDn_TXT_RES to select SD/HD overlay resoloution
 OSDn_FONT_INDEX for font index selection

Right now support is limited to MSP Displayport OSD devices
2022-09-21 17:16:20 +10:00
Iampete1 94004db13f AP_OSD: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1 520fc01739 AP_OSD: fix complation without fence 2022-07-27 19:04:56 +10:00
Peter Barker 55fb6c2c51 AP_OSD: include GCS_MAVLink for OSD_PARAM_NONE 2022-07-13 18:32:35 +10:00
Peter Barker 97ccf77941 AP_OSD: tidy includes 2022-05-03 09:14:58 +10:00
Jaaaky da3b064a31 AP_OSD: Fix multi #include's 2021-12-21 10:38:46 +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
Tatsuya Yamaguchi 0b06d4072e AP_OSD: remove OSDn_BTEMP_* params when BARO_MAX_INSTANCES=1 2021-09-29 10:51:14 +10:00
Sebastian Quilter 69120fa1c7 AP_OSD: #if sidebars 2021-09-28 09:04:45 +10:00
Sebastian Quilter 2379036e9a AP_OSD: Add sidebars for MAX7456 2021-09-28 09:04:45 +10:00
Peter Barker 6ce79785b5 AP_OSD: move from HAL_NO_GCS to HAL_GCS_ENABLED 2021-09-22 21:37:00 +10:00
Peter Barker 4aa6c212d2 AP_MSP: 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
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 ca92d73f25 AP_OSD: Add RX Link Quality Panel 2021-07-16 13:27:38 +10:00
Michel Pastor 765b71adb6 AP_OSD: rename BLH elements to ESC 2021-07-06 12:18:21 +10:00
vierfuffzig bed7d5f125 AP_OSD: add rangefinder panel 2021-06-01 11:33:05 +10:00
Michel Pastor 468838ff7f AP_OSD: do not show hgt_abvterr and fence elements by default 2021-05-26 19:01:56 +10:00
Andy Piper 45e1b56f17 AP_OSD: generalise ESC telemetry to allow data from other ESCs 2021-05-12 17:01:11 +10:00
Hwurzburg fda07e7dc8 AP_OSD: Add fence indicator panel 2021-05-11 09:36:15 +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
Sebastian Quilter bea8bf3afb AP_OSD: Add draw_vtx_power() 2021-02-23 15:22:22 +11:00
Patrick José Pereira a902c1d54b AP_OSD: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
vierfuffzig c4a644100d AP_OSD: refactor current panel and add 2nd instance 2020-12-02 06:27:59 +11:00
Andrew Tridgell 42b1d2135a AP_OSD: fixed enable of OSD on boards with no built-in OSD
this fixes MSP enable
2020-12-01 18:34:37 +11:00
Andrew Tridgell 8c59575646 AP_OSD: support callsign display on OSD
use a file "callsign.txt" on the sdcard for callsign
2020-11-12 14:22:44 -08: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
Iampete1 c591e45e59 AP_OSD: get wind speed from wind vane on rover 2020-10-13 11:39:43 +11:00
Michel Pastor 8465588467 AP_OLC: clean namespace and use constexpr instead of init method 2020-10-01 09:40:45 +10:00
giacomo892 4eeccb61cd WAF: Add AP_OLC to build 2020-10-01 09:40:45 +10:00
giacomo892 b00d3e00bc AP_OSD: Add OLC (pluscode) element 2020-10-01 09:40:45 +10: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
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 eab127ffa3 AP_OSD: disable OSD parameter support on 1Mb boards 2020-09-09 20:36:42 +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
yaapu b8b285b359 AP_OSD: added support for an MSP based OSD 2020-09-02 05:56:46 +10:00
Andy Piper a09c18386e AP_OSD: allow osd to be disabled 2019-12-30 13:02:04 +11:00
vierfuffzig 1f9b2f712e AP_OSD: add clock panel 2019-10-07 19:55:42 +11:00