Commit Graph

190 Commits

Author SHA1 Message Date
vierfuffzig
395820096a AP_OSD add external baro temperature item 2018-09-11 17:17:59 +10:00
cclauss
7291aa0d00 AP_OSD: Simplify with the code enumerate()
* Avoid hardcoding the path to the python executable on the shebang line
* Using __with open() as__ automates file close().
2018-09-08 20:24:42 +10:00
Randy Mackay
305d927dd8 AP_OSD: resolve compiler warnings 2018-08-30 20:23:00 +09:00
Andrew Tridgell
83f293305f AP_OSD: raise thread stack size to 1024
based on testing in SITL
2018-08-20 13:49:14 +10:00
Hwurzburg
53a28cdf18 AP_OSD: Adding efficiency and climb efficiency
and new font characters
2018-08-17 16:33:53 +10:00
Hwurzburg
7c79175309 AP_OSD: add flytime item 2018-08-16 12:00:50 +10:00
Hwurzburg
5f72c9040e AP_OSD: Adding flight distance and summary panels for OSD 2018-08-16 12:00:50 +10:00
Alexander Malishev
eec34fc47d AP_OSD: add waypoint and xtrack_error items 2018-08-16 10:26:34 +10:00
vierfuffzig
aae1054a94 AP_OSD: add hdop display 2018-08-16 09:39:02 +10:00
Randy Mackay
8bf6e8e0cf AP_OSD: fix compiler warnings 2018-07-26 10:25:56 -07:00
vierfuffzig
1c91bd3588 AP_OSD: added temperature item 2018-07-21 06:32:07 +10:00
Alexander Malishev
13b56d5870 AP_OSD: improve AHI for large roll angles 2018-07-14 18:08:36 +10:00
vierfuffzig
78386ed080 AP_OSD: added OSD_MSG_TIME parameter 2018-07-14 09:07:42 +10: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
6328a7233f AP_OSD: cope with no EKF for vspeed 2018-07-10 15:40:08 +10:00
vierfuffzig
bdede462e8 AP_OSD: updated fonts 2018-07-10 12:34:42 +10:00
vierfuffzig
02bc49f6b5 AP_OSD: added roll and pitch angle items 2018-07-10 12:34:42 +10:00
Andrew Tridgell
33653b6734 AP_OSD: added SI and Aviation units 2018-07-10 12:34:42 +10:00
Andrew Tridgell
a561aa2f6d AP_OSD: allow for runtime H and V offset change 2018-07-10 08:52:02 +10:00
Andrew Tridgell
a085b33729 AP_OSD: make units tables a bit easier to read
and add OSD_UNITS parameter
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
ac71a181d6 AP_OSD: refactoring based on review suggestions 2018-07-10 08:52:02 +10:00
Alexander Malishev
e364a815f8 AP_OSD: add warning levels for vbat, rssi and nsat 2018-07-10 08:52:02 +10:00
Alexander Malishev
731ae44ffa AP_OSD: add imperial units option 2018-07-10 08:52:02 +10:00
Alexander Malishev
eaac477131 AP_OSD: add inverted roll AH and inverted wind direction 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
Alexander Malishev
dc454881df AP_OSD: increased lat/lon field
Lattitude integer part could be 4 char wide like -171.123
2018-07-10 08:52:02 +10:00
Alexander Malishev
8dd4108f3c AP_OSD: create usable default osd layout 2018-07-10 08:52:02 +10:00
Andrew Tridgell
6eb00b92fd AP_OSD: don't panic on bad font num in SITL 2018-07-10 07:21:20 +10:00
Andrew Tridgell
52a8198311 AP_OSD: added font switching at runtime for SITL 2018-07-09 20:48:59 +10:00
Andrew Tridgell
64fae25882 AP_OSD: added runtime font switching 2018-07-09 19:48:09 +10:00
Andrew Tridgell
5682cef162 AP_OSD: created font binaries 2018-07-09 19:48:09 +10:00
vierfuffzig
4f1db0f979 AP_OSD: added fonts and styles 2018-07-09 19:48:09 +10:00
vierfuffzig
795947b405 AP_OSD: Addded README.md for fonts 2018-07-09 19:46:48 +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
822e20f830 AP_OSD: rename clarity.bin to font0.bin 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
Andrew Tridgell
b98d941526 AP_OSD: use thread_create API
this prevents a freeze in the FAT filesystem from affecting the OSD
2018-07-09 19:41:18 +10:00
Andrew Tridgell
dbe096e2f3 AP_OSD: default OSD_TYPE to SITL when enabled with --osd 2018-07-08 08:22:40 +10:00
Andrew Tridgell
ba1a611ea9 AP_OSD: fixed CPU usage in SITL thread 2018-07-07 13:09:52 +10:00
Andrew Tridgell
d280dbf119 AP_OSD: display --- when no airspeed available 2018-07-05 09:32:09 +10:00
Andrew Tridgell
f96c3c2c0f AP_OSD: added check for get_telem_data() 2018-07-05 09:16:50 +10:00
Andrew Tridgell
84d2b1cd93 AP_OSD: make packed decimal the default
and fix SITL char spacing
2018-07-05 08:06:04 +10:00
Alexander Malishev
3fb034e350 AP_OSD: fixed packed dot 2018-07-05 08:06:04 +10:00
Andrew Tridgell
9df4be7f49 AP_OSD: added blink for SITL backend 2018-07-04 20:53:25 +10:00
Andrew Tridgell
7d4a6795d8 AP_OSD: use a thread for SITL OSD
this allows for window scaling and should fix ubuntu 18 warning
2018-07-04 20:53:25 +10:00
Andrew Tridgell
7ce72fe571 AP_OSD: fixed sign of altitude 2018-07-04 18:47:14 +10:00
Andrew Tridgell
af46388d6c AP_OSD: added option to pack decimal numbers 2018-07-04 18:47:14 +10:00
Andrew Tridgell
5ef0c454e3 AP_OSD: fixed sign on GPS coords 2018-07-04 18:47:14 +10:00
Kelly-Foster
dcc272bd6f AP_OSD: widgets for BLHeli32 ESC amps, temp, rpm, and GPS lat/long 2018-07-04 18:47:14 +10:00
Andrew Tridgell
9702f4f822 AP_OSD: fixed vector orientation 2018-07-04 17:16:45 +10:00
Alexander Malishev
38c71bbfc7 AP_OSD: fixed up/down arrows 2018-07-04 17:16:45 +10:00
Alexander Malishev
64cfa3beef AP_OSD: fixed vertical speed item 2018-07-04 17:16:45 +10:00
Alexander Malishev
e2b431f69f AP_OSD: fixed speed vector calculation 2018-07-04 17:16:45 +10:00
Alexander Malishev
2ef82173b4 AP_OSD: fixed review issues 2018-07-04 17:16:45 +10:00
Alexander Malishev
e9600d9a08 AP_OSD: reduce width of the vspeed item 2018-07-04 17:16:45 +10:00
Alexander Malishev
f23a40d967 AP_OSD: fixed type in the script 2018-07-04 17:16:45 +10:00
Alexander Malishev
e59e7a3754 AP_OSD: added airspeed and climbrate 2018-07-04 17:16:45 +10:00
Alexander Malishev
982e1e45dc AP_OSD: add wind speed/direction item 2018-07-04 17:16:45 +10:00
Alexander Malishev
d73a7c051d AP_OSD: show direction of the groundspeed vector 2018-07-04 17:16:45 +10:00
Alexander Malishev
c05bae3ca2 AP_OSD: add compass item 2018-07-04 17:16:45 +10:00
vierfuffzig
41e84fa627 AP_OSD: implement throttle and heading 2018-07-03 07:29:43 +10:00
Alexander Malishev
802f6a4a1c AP_OSD: fixed horizon roll/pitch signs 2018-07-02 21:38:32 +10:00
Alexander Malishev
ec528b2c18 AP_OSD: fix home direction 2018-07-02 21:38:32 +10:00
Alexander Malishev
11131d34e3 AP_OSD: give credits to the original authors 2018-07-02 21:38:32 +10:00
Andrew Tridgell
0af83f9364 AP_OSD: use correct SFML header file 2018-07-02 10:43:48 +10:00
Andrew Tridgell
35192a6162 AP_OSD: added SITL OSD backend 2018-07-01 21:21:28 +10:00
Alexander Malishev
0169a9287d AP_OSD: fixed issues with horizont and home
Fixed roll direction.
Fixed home direction at small distances
2018-07-01 20:26:53 +10:00
Alexander Malishev
daf13cb9f4 AP_OSD: add home item 2018-07-01 20:26:53 +10:00
Alexander Malishev
d2e2a5b2ea AP_OSD: fixes in screen swithing methods
Do not switch to the next screen just after initialization.
Reduced auto switch interval to 1s.
Allow switch sreen in autoswitch mode just after transition.
2018-07-01 20:26:53 +10:00
Alexander Malishev
c0db1a3625 AP_OSD: fix warnings 2018-07-01 20:26:53 +10:00
Alexander Malishev
9b687e0e50 AP_OSD: use autoscroll in text messages, add artificial horizon 2018-07-01 20:26:53 +10:00
Alexander Malishev
1949166dde AP_OSD: add two new methods to switch osd screen 2018-07-01 20:26:53 +10:00
Alexander Malishev
d0571f55ed AP_OSD: use autoincrement mode to reduce spi traffic 2018-07-01 20:26:53 +10:00
Andrew Tridgell
ea3467348e AP_OSD: fixed typo 2018-06-27 14:55:00 +10:00
Andrew Tridgell
a86c4d27e1 AP_OSD: fixed CI build error 2018-06-27 14:55:00 +10:00
vierfuffzig
aeaf695d83 AP_OSD: add ground speed item 2018-06-27 14:55:00 +10:00
Alexander Malishev
fcd351b5c0 AP_OSD: fixed gps stat and messages items, reformat 2018-06-27 14:55:00 +10:00
Alexander Malishev
af96673004 AP_OSD: added screen switch by rc channel 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
Andrew Tridgell
5dc3515c83 AP_OSD: fixed X range 2018-06-27 14:55:00 +10:00
Andrew Tridgell
8f8107d13f AP_OSD: moved to new parameter system 2018-06-27 14:55:00 +10:00
Alexander Malishev
c1d82a43c5 AP_OSD: initial version 2018-06-27 14:55:00 +10:00