vierfuffzig
c4a644100d
AP_OSD: refactor current panel and add 2nd instance
4 years ago
Andrew Tridgell
1bef41b42e
AP_OSD: fixed param metadata for several OSD settings
...
only found now we build OSD for SITL
4 years ago
Michel Pastor
eb88e6a37c
AP_OSD: Fix vertical speed varying length
4 years ago
vierfuffzig
e830494f0f
AP_OSD_Screen: move vspeed decimal switch to 10 m/s
4 years ago
Andrew Tridgell
a2d86eac6d
AP_OSD: allow for loading fonts from sdcard
...
user can put fontN.bin on their sdcard and it will replace the font in
romfs. This makes for easy font development, and allows for multiple
languages
This replaces #15668
4 years ago
Andrew Tridgell
8c59575646
AP_OSD: support callsign display on OSD
...
use a file "callsign.txt" on the sdcard for callsign
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
Iampete1
c591e45e59
AP_OSD: get wind speed from wind vane on rover
4 years ago
vierfuffzig
60b37f395e
AP_OSD_Screen.cpp: add decimal precision to vspd
4 years ago
Michel Pastor
8465588467
AP_OLC: clean namespace and use constexpr instead of init method
4 years ago
giacomo892
4eeccb61cd
WAF: Add AP_OLC to build
4 years ago
giacomo892
b00d3e00bc
AP_OSD: Add OLC (pluscode) element
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
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
4 years ago
vierfuffzig
a547af97c6
AP_OSD_Screen.cpp: fix aviation unit vspd sym
...
in aviaition units it's ft / min actually, not ft / s. stumbled across this thanks to increased attention to the vspeed panel using @samuelctabor awesome soaring addons ;)
4 years ago
Andrew Tridgell
8ca9af72e0
AP_OSD: prevent startup segfault
5 years ago
yaapu
b8b285b359
AP_OSD: added support for an MSP based OSD
5 years ago
Iampete1
3a0329822a
AP_OSD: apply aspect ratio correction to horizon
5 years ago
Peter Barker
8867457c4f
AP_OSD: fix pointless multiple/divide
...
This is scaling code; OSD wants 0 to 99 vs 0 to 255 the uint8_t
function gives. Use the unerlying 0-1 function in the OSD code in
preference to unscaling it from 255 then scaling to 99
5 years ago
Peter Hall
e2c4d453e1
AP_OSD: move to airspeed_estimate with pointer
5 years ago
Peter Barker
9410d40b2f
AP_OSD: reduce scope of WITH_SEMAPHORE
...
The backend write() calls don't look nasty ATM - but we should get in,
get out data and get out again ASAP.
5 years ago
vierfuffzig
1f9b2f712e
AP_OSD: add clock panel
5 years ago
Henry Wurzburg
cf3bd2487b
AP_OSD: add current averaging filter to reduce jitter (~5 sample timeconstant)
5 years ago
Henry Wurzburg
59ce3f1007
AP_OSD: scale xtrack, add precision for distances <10 units
5 years ago
Henry Wurzburg
f592806184
AP_OSD: formatting fixes
5 years ago
Henry Wurzburg
57dc253be8
AP_OSD: Add autoranging to current and speed displays
5 years ago
vierfuffzig
6b1046f0ac
AP_OSD: add primary airspeed item
...
and fix param description
6 years ago
vierfuffzig
d1f80a841f
AP_OSD_Screen: fix param descriptions
6 years ago
Henry Wurzburg
ee079a50dc
OSD: fixes missing param def for SATS_EN and typos
6 years ago
Henry Wurzburg
deb3d6d8c3
OSD: Add panel parameter descriptions
6 years ago
Michael du Breuil
10410b696c
AP_OSD: Refactor battery current interface
6 years ago
Michael du Breuil
631b4380e1
AP_OSD: Include needed AP_Baro.h
6 years ago
Michael du Breuil
2ab8a2318e
AP_OSD: Fix AP_GPS.h include
6 years ago
Michael du Breuil
ba4c589ff2
AP_OSD: Fix depending upon AP_Logger for AP_BattMonitor header
6 years ago
Andrew Tridgell
48ac028cd0
AP_OSD: take ahrs and baro semaphores
...
this ensures OSD data is self-consistent within each item
6 years ago
Pierre Kancir
492c7532eb
AP_OSD: move get_bearing_cd to Location and rename to get_bearing_to
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
Alexander Malishev
15db7a6b97
AP_OSD: normalize whitespace symbols
...
This fixes garbage on the screen (\n and \r symbols are not mapped
inside used fonts).
Thanks to @atshort for reporting the issue.
6 years ago
vierfuffzig
64915c69b6
AP_OSD: check for airspeed object
6 years ago
vierfuffzig
5a262a7f6a
AP_OSD: add secondary airspeed item
6 years ago
Andrew Tridgell
42b89e7427
AP_OSD: flash GPS if no lock
6 years ago
vierfuffzig
83f4f5c347
AP_BLHeli: add motor pole parameter
6 years ago
vierfuffzig
5b955333ce
AP_OSD: fix BLHAMPS current divisor
6 years ago
Randy Mackay
8d3b093bbf
AP_OSD: resolve compiler warning
6 years ago
Andrew Tridgell
1e0ca409d1
AP_OSD: check we have an airspeed object
7 years ago
vierfuffzig
2936f24814
AP_OSD: battery support improvements
...
adds airpseed temperatur item
adds secondary batt instance items
switches used capacities to Ah above 9999 mAh
volt / amp / distance symbols reworked and realigned to specific font styles
7 years ago
vierfuffzig
395820096a
AP_OSD add external baro temperature item
7 years ago
Randy Mackay
305d927dd8
AP_OSD: resolve compiler warnings
7 years ago
Hwurzburg
53a28cdf18
AP_OSD: Adding efficiency and climb efficiency
...
and new font characters
7 years ago