Commit Graph

235 Commits

Author SHA1 Message Date
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
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
Peter Barker 6fc7209c69 AP_OSD: add required include
Was getting APM_BUILD_COPTER_OR_HELI  transitively
2022-08-16 09:45:51 +10:00
Iampete1 28007bfc1e AP_OSD: params always use set method 2022-08-03 13:43:48 +01: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 d926aa2e11 AP_OSD: correct includes for AP_Arming change
This file was getting the copter-or-heli define from AP_Arming, which was getting it from AP_InertialSensor.  This broke when AP_Arming stopped getting AP_InertialSensor, so add the include.

Also takes the opportunity to stop including GCS.h
2022-07-19 12:27:26 +10:00
Peter Barker 55fb6c2c51 AP_OSD: include GCS_MAVLink for OSD_PARAM_NONE 2022-07-13 18:32:35 +10:00
Andy Piper 1899962175 AP_OSD: update parameter menu flightmodes for plane and copter. 2022-05-30 11:16:39 +09: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 97ccf77941 AP_OSD: tidy includes 2022-05-03 09:14:58 +10:00
murata e977f85647 AP_OSD: Change from division to multiplication 2022-03-16 18:41:52 +11:00
Henry Wurzburg 73006d9a7c AP_OSD: make OSD rssi scale match link quality (0-100) 2022-03-15 10:18:09 +11:00
Peter Barker 26c4b65d4e AP_OSD: rename AP_AHRS::get_position to get_location 2022-01-25 10:47:22 +11:00
Joshua Henderson 3ff13733ea AP_OSD: add define AP_AIRSPEED_ENABLED 2022-01-19 18:21:32 +11: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
Andy Piper 97b57519bf AP_OSD: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI 2021-10-26 11:42:12 +11:00
Sebastian Quilter c8434fe1ed AP_OSD: make rangefinder ranges m rather than cm 2021-10-21 21:28:53 +11:00
Michel Pastor c590e1f1c5 OP_OSD_Screen: make the rangefinder distance element fixed length 2021-10-05 12:15:08 +11:00
Gone4Dirt e5488e1869 AP_OSD: Add APM_BUILD_Heli 2021-09-29 19:55:48 +10: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 9a58ccb3cd AP_OSD: sidebar support for remaining 4 fonts 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 6a459af624 AP_OSD: decrease blink frequency from 2Hz to 1Hz on MSP DisplayPort
Allows to actually see the blinking on hardware with a slow screen refresh rate
2021-09-22 18:06:12 +10:00
yaapu 9acfdaaa19 AP_OSD: added packed decimal support to MSP DisplayPort
This allows to take advantage of ArduPilot's compact decimal fonts
2021-09-22 18:06:12 +10:00
yaapu 94aba33d10 AP_OSD: added multi screen and stats support to DJI FPV OSD 2021-09-16 09:54:25 +10:00
Willian Galvani f7fa4b7c19 AP_OSD: update to use capacity_remaining_pct() as a bool 2021-09-08 17:17:41 +10:00
Andrew Tridgell 8366a1622c AP_OSD: hide disabled parameters in OSD var_info2 2021-09-07 10:36:16 +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
Pierre Kancir bff899e8f2 AP_OSD: check for nullptr before using it 2021-08-12 13:56:53 +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
Hwurzburg e680611324 AP_OSD: Add Link Quality icon 2021-08-06 10:16:24 +10:00
Hwurzburg b2a100f41b AP_OSD: correct OSD horizon for VTOL modes and TRIM_PITCH_CD in FW modes 2021-08-03 10:09:28 +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
Michel Pastor 61073de909 AP_MSP: fix DJI FPV temperature and RPM 2021-07-06 12:18:21 +10:00
giacomo892 6df65e694d AP_OSD_Screen: Blink the OSD VTX Power element indicating configuration in progress 2021-06-16 18:49:13 +10:00
Dr.-Ing. Amilcar do Carmo Lucas 2d5ac0009a AP_OSD: Fix compilation when HAL_WITH_ESC_TELEM == 0 2021-06-09 21:42:51 +10:00
Peter Barker ff048990d9 AP_OSD: correct format string issues
AP_OSD: remove spurious % in fmt string

AP_OSD: cast to (signed) to fix fmt string issue

AP_OSD: cast to (unsigned) to fix fmt string issues
2021-06-08 17:08:43 +10:00
Peter Barker e06f937486 AP_OSD: add FMT_PRINT to write(...) call 2021-06-08 17:08:43 +10:00
Michel Pastor 30029f59db AP_OSD_Screen: make BLH RPM fixed length 2021-06-08 10:40:44 +10:00