Commit Graph

25 Commits

Author SHA1 Message Date
Andrew Tridgell a5672b0105 AP_OSD: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +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
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
2020-11-18 09:11:36 +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
Iampete1 3a0329822a AP_OSD: apply aspect ratio correction to horizon 2020-07-21 20:08:03 +10:00
Andrew Tridgell c4d78a7d8c AP_OSD: fixes for modified AP_ROMFS API
need to use AP_ROMFS::free()
2019-10-24 22:03:43 +11:00
Alexander Malishev 785cf293cd AP_OSD: use software blink
This should fix blink issue with some hardware
2018-07-12 15:04:32 +10:00
Andrew Tridgell a561aa2f6d AP_OSD: allow for runtime H and V offset change 2018-07-10 08:52:02 +10:00
Alexander Malishev d2e05eb927 AP_OSD: ensure spi_buffer space 2018-07-10 08:52:02 +10:00
Alexander Malishev 7873aff0b8 AP_OSD: allow to fine tune osd position 2018-07-10 08:52:02 +10:00
Andrew Tridgell 64fae25882 AP_OSD: added runtime font switching 2018-07-09 19:48:09 +10:00
Andrew Tridgell 7454c9f8c5 AP_OSD: load font on startup
this reduces memory fragmemtation and maximises available memory
during update
2018-07-09 19:41:56 +10:00
Andrew Tridgell 6347de2b89 AP_OSD: added OSD_FONT parameter
allow for user selection of font
2018-07-09 19:41:56 +10:00
Andrew Tridgell 4055f28bc5 AP_OSD: use font*.bin as font name 2018-07-09 19:41:56 +10:00
Andrew Tridgell aa205d0537 AP_OSD: use compressed font file 2018-07-09 19:41:56 +10:00
Alexander Malishev 11131d34e3 AP_OSD: give credits to the original authors 2018-07-02 21:38:32 +10:00
Alexander Malishev d0571f55ed AP_OSD: use autoincrement mode to reduce spi traffic 2018-07-01 20:26:53 +10:00
Alexander Malishev fcd351b5c0 AP_OSD: fixed gps stat and messages items, reformat 2018-06-27 14:55:00 +10:00
Alexander Malishev e487f37fd7 HAL_ChibiOS: added font check on startup
Based on Andrew Tridgell suggestion
2018-06-27 14:55:00 +10:00
Andrew Tridgell 43d0a61da0 AP_OSD: fixed build 2018-06-27 14:55:00 +10:00
Andrew Tridgell 76fd0962e7 AP_OSD: fixes from review comments 2018-06-27 14:55:00 +10:00
Andrew Tridgell 06fdc50169 AP_OSD: switched to 2-d arrays
makes it a bit easier to read
2018-06-27 14:55:00 +10:00
Andrew Tridgell 2fb63828bb AP_OSD: use fixed array sizes
the allocation didn't win anything as the backend is already allocated
2018-06-27 14:55:00 +10:00
Andrew Tridgell 2c29d1c297 AP_OSD: tidy ups 2018-06-27 14:55:00 +10:00
Alexander Malishev c1d82a43c5 AP_OSD: initial version 2018-06-27 14:55:00 +10:00