Alberto García Hierro
694eed63a1
[CANVAS] Draw the crosshair centered on the display
...
When we have direct pixel access, we can center it perfectly.
2020-07-23 09:49:51 +01:00
Alberto García Hierro
606ea81c28
[CANVAS] New vario implementation for canvas
...
- Respect the coordinates of the grid based indicator
- Reduce the traffic needed to the OSD for a redraw by 10x
2020-07-23 09:49:51 +01:00
Alberto García Hierro
038862af09
[CANVAS] Fix crash when retrieving the widgets for OSD without canvas
2020-07-23 09:49:51 +01:00
Alberto García Hierro
ef5f3ece49
[OSD] Change default counts per divisions in sidebars, make them configurable
...
Change the default stepping in sidebar divisions to more sensible
values depending on what's causing them to scroll. Also, introduce
a setting per sidebar so the user can a custom stepping per sidebar.
2020-07-23 09:49:51 +01:00
Alberto García Hierro
4d1f21c94f
[OSD] Allow moving sidebars left and right
...
Introduce a osd_sidebar_horizontal_offset parameter that uses
grid slots or pixels as units, depending on the OSD type. int8_t
is enough to move the sidebars to the corner of the screen even
with pixel OSD. Positive values move the bars closer to the screen
edges, while negative values bring them closer to the center.
2020-07-23 09:49:51 +01:00
Alberto García Hierro
4021ba09b0
[BUILD] Fix compilation for targets without OSD
2020-07-23 09:49:51 +01:00
Alberto García Hierro
2f8e86e7cd
[FRSKYOSD] Add support for increasing the default data rate
...
Since v1, FrSkyOSD allows changing the baudrate to higher values but
we were ignoring that. Now if the user has configured the respective
port to a higher baudrate, we will switch to it at runtime. This also
requires adding support to probe at different baud rates on startup
since the FC might have been rebooted without rebooting the OSD.
2020-07-23 09:49:51 +01:00
Alberto García Hierro
a25fcd5656
[MSP/CLI] Constrain receive baud rates indices to their valid values
...
MSP was not restricting anything an accepting any values, while
CLI had some seemingly arbitrary bounds. Now both interfaces accept
the full range of valid values.
2020-07-23 09:49:51 +01:00
Alberto García Hierro
144ba419bc
[OSD] Fix clearing of the local OSD buffer
...
osdCharacterGridBufferClear(), osdGridBufferClearGridRect() and
osdGridBufferClearPixelRect() where setting the whole buffer to
0 instead of SYM_BLANK, so when the map code read back the buffer
in order to determine if a slot was free it never found one
available.
Fixes #5522
2020-07-23 09:49:51 +01:00
Alberto García Hierro
6b8f2ba5f1
[OSD] Use sidebar widget for drawing sidebars when available
...
Otherwise fallback to the grid based implementatation
2020-07-23 09:49:51 +01:00
Alberto García Hierro
3ecd99bb88
[OSD] Add AHI settings for widget based AHI
...
osd_ahi_bordered: Wether to show a border in the corners
osd_ahi_width: Width in pixels
osd_ahi_height: Hight in pixels
osd_ahi_vertical_offset: Offset from vertical center of the screen
2020-07-23 09:49:51 +01:00
Alberto García Hierro
e786889c86
[OSD] Split OSD configuration into osdConfig_t and osdLayoutsConfig_t
...
osdLayoutsConfig_t stores the config for the layouts, with the visible
items and their positions. osdLayoutsConfig_t stores the rest.
2020-07-23 09:49:50 +01:00
Alberto García Hierro
f50329b44d
[OSD] Add support for using widgets for drawing
...
Widgets reduce the bandwidth needed to communicate with the OSD
dramatically, so for devices connected via UART they allow us to
draw way more frequently.
2020-07-23 09:49:15 +01:00
Alberto García Hierro
2ad51deecf
[FRSKYOSD] Use new comments for grid drawing
...
They save a few bytes per call. A test layout with 8 indicators
flashing now uses ~30% less bytes per second.
2020-07-23 09:49:15 +01:00
Pawel Spychalski (DzikuVx)
426d21a9fc
Cleanup
2020-07-23 10:47:43 +02:00
Pawel Spychalski (DzikuVx)
893e532f8b
Merge branch 'master' into dzikuvx-logic-condition-global-function-unification
2020-07-23 10:15:17 +02:00
Paweł Spychalski
f83b54beaa
Merge pull request #5959 from iNavFlight/dzikuvx-pcf8574-expander
...
I/O Expander Board Support
2020-07-22 22:38:50 +02:00
Paweł Spychalski
612367df01
Merge pull request #5956 from iNavFlight/dzikuvx-hglrcf722-target
...
First cut of HGLRC Zeus F722
2020-07-22 22:34:00 +02:00
Pawel Spychalski (DzikuVx)
410db23f34
Merge remote-tracking branch 'origin/master' into dzikuvx-pcf8574-expander
2020-07-22 21:57:03 +02:00
Pawel Spychalski (DzikuVx)
827ac04950
Unify Global Functions and Logic Conditions into single entity
2020-07-22 21:53:54 +02:00
craigmunday
21ef8fc2c2
Added craft name to the osd armed page
2020-07-22 21:21:09 +10:00
Paweł Spychalski
30d1323c31
Merge pull request #5338 from iNavFlight/dzikuvx-nav-cruise-improvements
...
Attenuate VEL_XY when UAV is traveling at high speed
2020-07-22 10:04:45 +02:00
Paweł Spychalski
b8d0a753ef
Merge pull request #5486 from iNavFlight/dzikuvx-task-aux
...
Precompute PID coefficients in a separate task
2020-07-21 16:22:27 +02:00
Ilya Guterman
760ae1d538
bulk erase if single sector
...
this is just a copy from betaflight the erase logic
2020-07-21 14:47:59 +03:00
Michel Pastor
6f76bd5ad9
Add bootloader and firmware update API ( #5728 )
...
* Add F765XG MCU support
* Add bootloader and update system
* Fix linker files
2020-07-20 22:46:15 +02:00
Pawel Spychalski (DzikuVx)
0ee5341b5f
Merge remote-tracking branch 'origin/master' into dzikuvx-task-aux
2020-07-20 22:34:16 +02:00
Pawel Spychalski (DzikuVx)
1547aff0aa
Merge remote-tracking branch 'origin' into dzikuvx-pcf8574-expander
2020-07-20 22:12:40 +02:00
Michel Pastor
707133c4db
Add Smartport Master ( #5724 )
2020-07-20 21:13:35 +02:00
Pawel Spychalski (DzikuVx)
37d35b505d
Docs update
2020-07-20 20:42:31 +02:00
Pawel Spychalski (DzikuVx)
2e3f67f635
Logic Conditions integration
2020-07-20 20:11:50 +02:00
Paweł Spychalski
127bec56b9
Merge pull request #5934 from kernel-machine/gf_change_osd_layout
...
Set OSD Layout with global functions
2020-07-20 18:51:38 +02:00
Pawel Spychalski (DzikuVx)
d85693cd98
PCF8574 Basic Driver
2020-07-20 18:05:38 +02:00
Konstantin Sharlaimov
4aaddbb890
Merge pull request #5950 from machadofelipe/machado_mavlink_update
...
[MAVLINK] Update flight modes map to match Arduplane/Arducopter
2020-07-19 21:03:52 +02:00
Pawel Spychalski (DzikuVx)
3fa9b893eb
First cut of HAKRC Zeus F722
2020-07-18 18:13:58 +02:00
Paweł Spychalski
da298c63c1
Merge pull request #5953 from fluffy/fixMdFormat
...
Fix md format
2020-07-17 11:42:21 +02:00
Cullen Jennings
edd0f358f7
fix formatting for MD to dsiplay correctly in github
2020-07-16 18:26:39 -07:00
Cullen Jennings
8dda60b6c1
fix formatting for MD to dsiplay correctly in github
2020-07-16 18:20:21 -07:00
Felipe Machado
cecaddd8ef
[MAVLINK] Update flight modes map to match Arduplane/Arducopter
2020-07-15 21:24:59 +01:00
Pawel Spychalski (DzikuVx)
b09eba7aab
Docs improvements
2020-07-13 13:22:18 +02:00
Pawel Spychalski (DzikuVx)
abafe9b258
Refactor attenuation factor computation
2020-07-12 22:37:54 +02:00
Pawel Spychalski (DzikuVx)
f63e38b53b
Merge remote-tracking branch 'origin/master' into dzikuvx-nav-cruise-improvements
2020-07-12 21:48:33 +02:00
kernel-machine
514f89dad9
gf_set_osd_layout
2020-07-10 11:59:55 +02:00
Paweł Spychalski
1f96042c65
Merge pull request #5929 from iNavFlight/jh_setting_yaml_additional
...
[DOC] add additional descriptions to settings.yaml
2020-07-10 10:34:54 +02:00
Paweł Spychalski
aa1aed146b
Merge pull request #5927 from iNavFlight/dzikuvx-programming-refactor
...
Refactor LC, GF and GVAR to use single scheduler task
2020-07-10 10:33:59 +02:00
Konstantin Sharlaimov
0bf0e4b43a
Merge pull request #5926 from iNavFlight/de_dps310_baro
...
[DPS310] Fix temperature readings
2020-07-09 11:08:00 +02:00
Jonathan Hudson
4673eb435e
[DOC] add vtx_max_power_override
description
2020-07-09 09:45:42 +01:00
Jonathan Hudson
206aef3197
[DOC] add additional descriptions to settings.yaml
2020-07-09 09:39:51 +01:00
Pawel Spychalski (DzikuVx)
eebb5f644f
Allow separate debug of PID measurement
2020-07-08 22:27:17 +02:00
Pawel Spychalski (DzikuVx)
70054d59b0
Move gyro EKF from gyro to PID
2020-07-08 22:19:28 +02:00
Pawel Spychalski (DzikuVx)
47cd8f317d
Refactor LC, GF and GVAR to use single scheduler task
2020-07-08 15:18:52 +02:00