1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-22 07:45:24 +03:00
Commit graph

9908 commits

Author SHA1 Message Date
Paweł Spychalski
75066b30dd
Merge pull request #5971 from iNavFlight/dzikuvx-logic-condition-global-function-unification
Unify Global Functions and Logic Conditions into single entity
2020-07-23 12:21:26 +02:00
Konstantin (DigitalEntity) Sharlaimov
17948896d7 [TARGET] Enable PINIO on FLYWOOF7DUAL target; Add FLYWOOF411 and F7DUAL to release targets 2020-07-23 12:16:46 +02:00
Konstantin (DigitalEntity) Sharlaimov
a0db810908 [TARGET] Initial cut on FLYWOOF7DUAL target 2020-07-23 11:07:38 +02:00
Konstantin (DigitalEntity) Sharlaimov
7caa8b28da [TARGET] FLYWOOF411 fixups 2020-07-23 11:07:38 +02:00
SeanTheITGuy
d225f67caf [TARGET] Initial cut on FLYWOO411 2020-07-23 11:07:38 +02:00
Alberto García Hierro
e8aac7d006 [OSD] Add osd_force_grid
Forces a pixel based OSD to be used in as if it was a grid based OSD.
This is intended for development, so the FrSkyOSD simulator can be
used for developing features for the MAX7456 based OSDs without
needing an analog video to USB adapter.
2020-07-23 09:49:51 +01:00
Alberto García Hierro
c9cc44920f [CANVAS] Fix drawn sidebar scroll values for speed
The values were not correctly converted the units expected by the
sidebar. Fixes https://github.com/FrSkyRC/PixelOSD/issues/3
2020-07-23 09:49:51 +01:00
Alberto García Hierro
59f160f21f [CANVAS] Fix leftover pixels when drawing the home direction arrow
Since the arrow is taller than the width of a grid slow, it overflows
the slot a bit when it's rotated by 90º. Also, simplify the algorithm
for drawing it a bit so it transmits a bit less data per redrawing.
2020-07-23 09:49:51 +01:00
Alberto García Hierro
4f3e7a3d5e [CMS] Wrap CMS updates in display transactions
Otherwise, a display device with transactions might not update the
on screen data immediately, since updates outside of transactions
might be buffered for performance reasons. This doesn't affect
devices that don't support transactions at all.
2020-07-23 09:49:51 +01:00
Alberto García Hierro
9bc355ccf3 [WIDGETS] Increase AHI redrawing frequency from 10hz to 20hz
Since widgets require so few data for each update, we can now afford
to double the update rate.
2020-07-23 09:49:51 +01:00
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