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

8896 commits

Author SHA1 Message Date
Pawel Spychalski (DzikuVx)
7d8f311877 Enable Feature Airmode by default 2019-01-07 14:41:14 +01:00
Alberto García Hierro
d9cb55e16a Override the OSD layout for 10 seconds when configuring an item
When configuring the OSD via MSP (e.g. from the configurator), the
layout that was just altered is shown in the OSD for 10 seconds,
regardless of the selected OSD layout via modes.

This allows configuring the layouts when looking at them in the
goggles while the radio is powered off.
2019-01-07 13:37:47 +00:00
Konstantin Sharlaimov
4aa331ca91
Merge pull request #4147 from iNavFlight/de_ffpv_24g_vtx
Implement support for FFPV 2.4GHz VTX protocol
2019-01-07 14:13:37 +01:00
Konstantin Sharlaimov
ff0746d5e5 [VTX] Remove FFPV VTX control from SPRACINGF3 NEO 2019-01-07 12:55:19 +01:00
Konstantin Sharlaimov (DigitalEntity)
cfaf6b56a5 [VTX/CMS] Missing files 2019-01-07 10:36:27 +01:00
Konstantin Sharlaimov (DigitalEntity)
78ece51bdf [VTX/CMS] Add FFPV 2.4G VTX to CMS menu 2019-01-07 10:36:27 +01:00
Konstantin Sharlaimov (DigitalEntity)
5d303a0e00 [VTX] Fix FFPV receiving code. Verified to work 2019-01-07 10:36:27 +01:00
Konstantin Sharlaimov (DigitalEntity)
6ca5103919 [VTX] Initial cut on FFPV protocol 2019-01-07 10:36:27 +01:00
Konstantin Sharlaimov (DigitalEntity)
9f7bc59337 [VTX] Remove VTX_COMMON which is always defined 2019-01-07 10:36:27 +01:00
Konstantin Sharlaimov
255d08d37d
Merge pull request #4157 from iNavFlight/de_disable_f3_features
[F3] Remove some features; Reduce heap size
2019-01-07 10:36:06 +01:00
Konstantin Sharlaimov
7170f7c800
Merge pull request #4110 from iNavFlight/de_foxeer_fcs
Add support for FOXEER F405 and F722 boards
2019-01-07 09:27:52 +01:00
Konstantin Sharlaimov
54a3874a12
Merge branch 'development' into de_disable_f3_features 2019-01-07 09:27:03 +01:00
Konstantin Sharlaimov
f298e246f1
Merge pull request #4155 from shellixyz/enable_pitot_on_all_targets_but_F3
Enable pitot and LM75 temperature sensor on all targets >= F4
2019-01-07 09:26:13 +01:00
Michel Pastor
ce0a31c03f fix 3 2019-01-07 00:50:55 +01:00
Alberto García Hierro
9903617e9d Add OSD_PLUS_CODE
Displays the +code of the current coordinates, saving a lot of
screen space, while providing enough information to locate the
vehicle.
2019-01-06 23:36:19 +00:00
Michel Pastor
28fcf61e2f Fix compilation warnings 2019-01-06 23:20:23 +01:00
Michel Pastor
fb92723f7a fix 2 2019-01-06 23:17:48 +01:00
Alberto García Hierro
3cf574f043
Merge pull request #4116 from iNavFlight/agh_calculate_path_to_destination
Add navCalculatePathToDestination() function
2019-01-06 22:08:38 +00:00
Alberto García Hierro
338c3e567b Add support for encoding coordinates with OLC
Just encoding support and a few tests
2019-01-06 22:00:46 +00:00
Alberto García Hierro
bcc897e60d
Merge pull request #4120 from OlivierC-FR/oc_altitude_msl
Adding altitude / sea (from GPS MSL)
2019-01-06 21:58:46 +00:00
Konstantin Sharlaimov (DigitalEntity)
ecd7b2a6fd Re-enable SPRACINGF3NEO for automated builds 2019-01-06 21:39:44 +01:00
Konstantin Sharlaimov
1efd8f8c91
Merge pull request #4156 from iNavFlight/de_enable_adc_avg_f7
Implement ADC averaging on F7, enable ADC averaging on all targets
2019-01-06 21:21:18 +01:00
Konstantin Sharlaimov (DigitalEntity)
75c1676728 [F3] Remove some features; Reduce heap size 2019-01-06 21:18:16 +01:00
Michel Pastor
2d2c201fb1 fix 2019-01-06 20:31:40 +01:00
Michel Pastor
eef4c3b8df Enable LM75 temperature sensors on all targets >= F4 2019-01-06 20:27:15 +01:00
Konstantin Sharlaimov (DigitalEntity)
07b831bed4 [ADC] Implement ADC averaging on F7, enable ADC averaging on all targets 2019-01-06 20:24:17 +01:00
Michel Pastor
8245db1bcd Enable pitot and LM75 temperature sensor on all targets >= F4 2019-01-06 20:10:33 +01:00
Konstantin Sharlaimov
ecf1007384
Merge pull request #4139 from shellixyz/lm75_i2c_temp_sensor_support
LM75 I²C temperature sensor preliminary support
2019-01-06 19:10:58 +01:00
Konstantin Sharlaimov
8847ce56e3
Merge pull request #4072 from StewLG/LaunchModeMessages
Display "Autolaunch" as system message when Auto Launch mode is active
2019-01-06 12:13:11 +01:00
Konstantin Sharlaimov
2cd7ddea0a
Merge pull request #4142 from iNavFlight/agh_max7456_extra_chars
Add support for 512 character fonts on MAX7456, add boot logo
2019-01-06 12:12:44 +01:00
Konstantin Sharlaimov
d449a5646c
Merge pull request #4154 from shellixyz/fix_fly_time_bug
Fix fly time bug
2019-01-06 09:27:38 +01:00
Michel Pastor
2ea3f50e5e Fix fly time bug
Closes #4141
2019-01-06 00:15:30 +01:00
Konstantin Sharlaimov
7f3c69e2c2
Merge pull request #3427 from flounderscore/fgh_python_scan_target_headers
Add script to scan target header files for #define's.
2019-01-05 10:29:04 +01:00
Konstantin Sharlaimov
0e5fa60dfe
Merge pull request #4127 from iNavFlight/de_gps_fixes
[GPS] Improve handling of SBAS and GALILEO supportability; Increase GPS failure timeout
2019-01-05 10:15:02 +01:00
Pawel Spychalski (DzikuVx)
072f40ad73 New mixer inputs for stabilized axises 2019-01-03 21:11:54 +01:00
Paweł Spychalski
7a906e8d5c
Merge pull request #4143 from iNavFlight/dzikuvx-braking-on-omnibus
Enable MR Braking on Omnibus target
2019-01-03 21:03:13 +01:00
Alberto García Hierro
89c2189592
Merge pull request #4146 from iNavFlight/agh_center_osd_flymode
Align OSD_FLYMODE to 13th column by default
2019-01-03 19:56:39 +00:00
Pawel Spychalski (DzikuVx)
27f0ed7bf3 Enable MR Braking on Omnibus target 2019-01-03 20:08:29 +01:00
Paweł Spychalski
f183c556b1
Merge pull request #4145 from iNavFlight/dzikuvx-smix-reverse-removal
smix reverse removed
2019-01-03 20:00:34 +01:00
Alberto García Hierro
6c9725bebd Align OSD_FLYMODE to 13th column by default
Since OSD_FLYMODE is 4 characters and the display is 30 characters,
to center it we should place it on the 13th instead of the 12th.
2019-01-02 23:02:04 +00:00
Pawel Spychalski (DzikuVx)
9fab108bbb smix reverse removed as obsolete 2019-01-02 21:51:17 +01:00
Alberto García Hierro
ebe2fc059a
Merge pull request #4090 from iNavFlight/agh_reduce_setting_name_storage
Use 5 bits to encode setting words
2019-01-02 19:35:13 +00:00
Alberto García Hierro
34ef222dd3 Rename fontMetadata in display driver's vTable to getFontMetadata 2019-01-02 19:15:35 +00:00
Alberto García Hierro
66f38ded64 Add comment explaining the shift by 2 bits when writing to DMDI 2019-01-02 19:13:06 +00:00
Alberto García Hierro
ac3f9984b6 Rename displayFontMetadata() to displayGetFontMetadata() 2019-01-02 19:09:00 +00:00
Alberto García Hierro
3c95544566 Refactor the rest of the MAX7456 driver
- Cleanup init sequence to perform as much initialization as
possible in max7456Init().
- Initialize the OSD as soon as video sync is detected. If no
video sync is detected at 1.5s, start as PAL but then continue
probing until we find a valid video signal.
- Wait for the software reset to finish during initialization.
- Remove extern variable for maxScreenSize, replace it with
max7456GetScreenSize().
- Make sure that when disabling the OSD for reading/writing to
NVM we only enable it again if it was enabled before.
- Rewrite prototypes in the header file to use the same style and
formatting as the rest of the code.
- Delay call to millis() in max7456StallCheck() to avoid calling
it when it's not strictly needed.
2019-01-02 19:00:17 +00:00
Alberto García Hierro
8b9312c408 Ensure the MAX7456 detects a valid signal before accepting it
Code was not checking for the Loss-of-Sync bit, causing it to
detect PAL too early in some cases.
2019-01-02 15:13:52 +00:00
Alberto García Hierro
04358bd3d6 Call max7456Init() before displayInit()
Otherwise the display initialization might call methods on the
max7456 driver on an uninitialized device
2019-01-02 15:13:03 +00:00
Alberto García Hierro
8949efa24b Add support for font metadata, use it for detecting extended fonts
Also, add boot logo on OSD when the font supports it. If the font
is invalid or out of date, show an "INVALID FONT" message.
2019-01-02 13:50:33 +00:00
Alberto García Hierro
e35d343508 Add support for OSD characters > 255, refactor MAX7456
Change display(Read|Write)Char* functions to use an uint16_t
character. This lets callers which need characters > 255 use these
functions, while keeping most strings in ASCII to save memory (
the string based functions still take a cosnt char *).

Change display drivers to support 16 bit characters when writing
a single character. Note that some drivers might silently truncate
the character, it's the responsability of the caller to check
wether the display supports characters > 255 (API will follow in
the next commit).

Refactor and cleanup the MAX7456 driver:

- Move global state to a struct, for better encapsulation
- Make max7456DrawScreenPartial() static, expose instead the new
function max7456Update(), which calls max7456StallCheck() and
max7456DrawScreenPartial() instead of doing all the work on
a single function.
- Rewrite max7456RefreshAll() to use HW based screen clearing, then
leverage max7456DrawScreenPartial() to redraw only non-blank
characters. This should make full screen redraws faster while
reducing complexity and flash usage (we no longer have 2 paths
for drawing).
- Support writing characters > 255, switching to 8bit mode on
demand.
2019-01-02 13:44:04 +00:00