Shiv Tyagi
4b7b5a4d90
AP_OSD: fix code causing errors when OSD is compiled out
...
This fixes the code causing problem in compiling out OSD
3 years ago
Peter Barker
6ce79785b5
AP_OSD: move from HAL_NO_GCS to HAL_GCS_ENABLED
3 years ago
yaapu
94aba33d10
AP_OSD: added multi screen and stats support to DJI FPV OSD
3 years ago
yaapu
7e3395eebd
AP_OSD: added a new backend for msp displayport aka canvas mode support
4 years ago
Hwurzburg
0d3b1d90b0
AP_OSD: fixes bug introduced by #16477
4 years ago
giacomo892
8da8b34b49
AP_OSD: Add option to disable Crosshair on horizon element
4 years ago
Hwurzburg
2939efe2c6
AP_OSD: add option to convert to miless at 5280ft vs 10000ft
4 years ago
Andrew Tridgell
2bd04c14fd
AP_OSD: move OSD_LINK_Q_* to a new param table
...
this gives us room for up to 63 more entries
4 years ago
Hwurzburg
defc81443c
AP_OSD: fix disable value for terrain alt warning
4 years ago
giacomo892
b5ebf9022c
[AP_OSD] Fix wrong comment in OSD_W_TERR param
4 years ago
Hwurzburg
c1f56c4b22
AP_OSD: Add cell voltage and resting voltage displays
...
Co-authored-by:shellixyz
4 years ago
Hwurzburg
fd9c497232
AP_OSD: Add height above terrain panel and warning
4 years ago
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
4 years ago
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
4 years ago
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>
4 years ago
Hwurzburg
f78a09ba2a
AP_OSD: fix white space error preventing emit to Wiki
4 years ago
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
4 years ago
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
5 years ago
Andrew Tridgell
c7b03dc936
AP_OSD: added missing OSD types to param docs
5 years ago
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
5 years ago
Andrew Tridgell
25746ef27e
AP_OSD: avoid building MAX7456 driver without an SPI device for it
5 years ago
yaapu
b8b285b359
AP_OSD: added support for an MSP based OSD
5 years ago
Andrew Tridgell
6360c67858
AP_OSD: avoid build when OSD disabled
5 years ago
Andy Piper
a09c18386e
AP_OSD: allow osd to be disabled
5 years ago
Henry Wurzburg
11c633be32
AP_OSD: distance total fix for slow vehicles
5 years ago
Henry Wurzburg
f592806184
AP_OSD: formatting fixes
5 years ago
Michael du Breuil
10410b696c
AP_OSD: Refactor battery current interface
6 years ago
Michael du Breuil
ba4c589ff2
AP_OSD: Fix depending upon AP_Logger for AP_BattMonitor header
6 years ago
SergeyBokhantsev
cd166ec911
AP_OSD: Switch screens basing on FS state
...
AP_OSD: Switch screens basing on ARM state
6 years ago
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
6 years ago
Tom Pittenger
1648a6544b
AP_OSD: unify singleton naming to _singleton and get_singleton()
6 years ago
vierfuffzig
47463e8159
AP_OSD: set default type for boards with onboard OSD
6 years ago
Andrew Tridgell
83f293305f
AP_OSD: raise thread stack size to 1024
...
based on testing in SITL
7 years ago
Hwurzburg
5f72c9040e
AP_OSD: Adding flight distance and summary panels for OSD
7 years ago
Alexander Malishev
eec34fc47d
AP_OSD: add waypoint and xtrack_error items
7 years ago
vierfuffzig
78386ed080
AP_OSD: added OSD_MSG_TIME parameter
7 years ago
Alexander Malishev
785cf293cd
AP_OSD: use software blink
...
This should fix blink issue with some hardware
7 years ago
Andrew Tridgell
33653b6734
AP_OSD: added SI and Aviation units
7 years ago
Andrew Tridgell
a085b33729
AP_OSD: make units tables a bit easier to read
...
and add OSD_UNITS parameter
7 years ago
Alexander Malishev
ac71a181d6
AP_OSD: refactoring based on review suggestions
7 years ago
Alexander Malishev
e364a815f8
AP_OSD: add warning levels for vbat, rssi and nsat
7 years ago
Alexander Malishev
731ae44ffa
AP_OSD: add imperial units option
7 years ago
Alexander Malishev
eaac477131
AP_OSD: add inverted roll AH and inverted wind direction
7 years ago
Alexander Malishev
7873aff0b8
AP_OSD: allow to fine tune osd position
7 years ago
Andrew Tridgell
6347de2b89
AP_OSD: added OSD_FONT parameter
...
allow for user selection of font
7 years ago
Andrew Tridgell
b98d941526
AP_OSD: use thread_create API
...
this prevents a freeze in the FAT filesystem from affecting the OSD
7 years ago
Andrew Tridgell
dbe096e2f3
AP_OSD: default OSD_TYPE to SITL when enabled with --osd
7 years ago
Andrew Tridgell
84d2b1cd93
AP_OSD: make packed decimal the default
...
and fix SITL char spacing
7 years ago
Andrew Tridgell
af46388d6c
AP_OSD: added option to pack decimal numbers
7 years ago
Alexander Malishev
11131d34e3
AP_OSD: give credits to the original authors
7 years ago