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

78 commits

Author SHA1 Message Date
Pawel Spychalski (DzikuVx)
d85693cd98 PCF8574 Basic Driver 2020-07-20 18:05:38 +02:00
Pawel Spychalski (DzikuVx)
47cd8f317d Refactor LC, GF and GVAR to use single scheduler task 2020-07-08 15:18:52 +02:00
Paweł Spychalski
706da4aef2
Gyro Kalman filter from EmuFlight (#5519)
* Direct copy from EmuFlight, compiles, does not wrk

* Fix Kalman computation

* Catchup on Emu implementation

* Make Q, W and Sharpness configurable

* Settings for Kalman Q, W and Sharpness

* Make it possible to enable/disable Kalman filter

* Change scaling to make initial values simpler

* Change Kalman constrains

* Compute real variance

* Drop unused function parameter

* Improve EKF processing for gyro
2020-06-11 13:46:04 +02:00
Konstantin Sharlaimov
58e4d46af6
Merge pull request #5651 from iNavFlight/de_sbus_output
Output servos as SBUS stream
2020-05-07 10:57:38 +02:00
Michel Pastor
aa928bdfff
Add IR-Lock optical positioning system support (#5677) 2020-05-06 13:38:06 +02:00
Konstantin (DigitalEntity) Sharlaimov
041f2c9851 [SERVO] Option to output servos via SBUS stream 2020-05-01 11:24:01 +02:00
Michel Pastor
badc6c78ac
Fix CRC algo for FrSky S.Port and F.Port (#5641) 2020-04-28 18:15:30 +02:00
Michel Pastor
86c4e87659
Merge pull request #5475 from shellixyz/features/persistent_storage
Add persistent data storage support
2020-04-27 23:42:57 +02:00
Alberto García Hierro
9a55d7dbf8 [DRIVERS] Split time related functions from system.c to time.c
This allows pulling in time.c instead of system.c for the time
tests, which has less platform specific code. We alredy had the
time functions declared in drivers/time.h, so introducing a
drivers/time.c seems like the cleanest solution.
2020-04-27 16:18:00 +02:00
Michel Pastor
90e127c696 Add persistent data storage support 2020-04-27 16:15:53 +02:00
Michel Pastor
0551f8743a
Add flash partitioning support (#5474) 2020-04-27 13:23:13 +02:00
Pawel Spychalski (DzikuVx)
f933381d18 Simplified 2D navigation routenes 2020-04-13 14:24:49 +02:00
Pawel Spychalski (DzikuVx)
3f54ba2313 Merge branch 'development' into dzikuvx-global-variables 2020-04-10 19:17:23 +02:00
Pawel Spychalski (DzikuVx)
0da14f5ad5 Allow for different optimization profiles depending on file and target in Makefile 2020-03-10 20:06:26 +01:00
Pawel Spychalski (DzikuVx)
6753c410c6 support 3 optimization profiles in Makefile 2020-03-10 19:38:52 +01:00
Pawel Spychalski (DzikuVx)
4a5d924a7e Allow file and function optimization compiler directives 2020-03-10 13:27:47 +01:00
Pawel Spychalski (DzikuVx)
8f963b240e Allow some files to be compiled with -O2 instead of -Os 2020-03-09 21:09:00 +01:00
Konstantin Sharlaimov
01c5e668f3
Merge pull request #5461 from iNavFlight/de_vtx_refactor
VTX/CMS unification
2020-03-02 16:33:58 +01:00
Konstantin (DigitalEntity) Sharlaimov
35af0bdbc1 [CMS] Initial cut on unified VTX CMS 2020-02-29 19:28:54 +01:00
Pawel Spychalski (DzikuVx)
6c7fd8ad36 First run on Global Variables 2020-02-06 14:43:19 +01:00
Pawel Spychalski (DzikuVx)
3babeea68c Separate gyroanalyse from dynamic gyro notches 2020-02-04 16:27:42 +01:00
Konstantin (DigitalEntity) Sharlaimov
e4680a4b3c [DJI] Initial cut on DJI HD goggles special MSP flavour 2019-12-31 19:06:16 +01:00
Jonathan Hudson
c51d44a93a merge agh_msc and development 2019-12-17 19:59:56 +00:00
Paweł Spychalski
e5567da9e3
RPM filters (#5188)
* Empty framework to apply RPM filter

* Init gyro RPM filter

* Entry point for Dterm filter

* RPM filter implementation

* Bugfixes

* Fix Dterm fileter bank

* Save RPM filter configuration in blackbox header

* Debug RPM frequency

* Disable PWM servo driver on all F3 boards

* Move RPM filter to ITCM_RAM

* Disable target COLIBRI_RACE as it's out of RAM

* Drop FEATURE in favor of just settings
2019-12-04 18:55:48 +01:00
Alberto García Hierro
a4187a58d4 [OSD] Remove FrSky OSD dependency on MAX7456
Move local character grid buffer to drivers/osd.c and use it
from both the FrSky OSD and the MAX7456 drivers.
2019-10-26 15:42:45 +01:00
Alberto García Hierro
416e9e04b3 [OSD] Split code for grid/canvas implementations into different files
This helps organizing the code and breaks up the giant osd.c file
a bit. Elements are now in osd_common.c, grid implementations in
osd_grid.c and canvas in osd_canvas.c. osd.c calls into osd_common.c
which, if needed, does ome intermediate and common processing and
then calls into either the grid or the canvas implementation.
2019-10-17 12:22:43 +01:00
Alberto García Hierro
4fabc6f8b5 [COMMON] Add functions for uvarint encoding/decoding 2019-10-17 12:22:43 +01:00
Alberto García Hierro
84318329e3 [OSD] Add Display canvas infrastructure 2019-10-17 12:22:43 +01:00
Alberto García Hierro
b950f2abb6 Rename functions and constants
AGH -> FRSKY, agh -> frsky
2019-10-17 12:22:34 +01:00
Alberto García Hierro
4474f123c2 Storing some work 2019-10-17 09:35:25 +01:00
Konstantin (DigitalEntity) Sharlaimov
2ad61d4e1f [ESC] Initial cut on ESC sensor telemetry. Work in progress 2019-10-07 13:59:04 +02:00
Paweł Spychalski
06f14325f2
Dynamic filters (#5078)
* Init dynamic notches

* use gyro analyse

* Fix all compilation errors

* Disable dynamic filters on unit tests

* hopefully fix unit tests

* fix hanging FC when dynamic gyro used

* Make dynamic filters configurable as a feature
2019-09-28 15:59:55 +02:00
Paweł Spychalski
97f3144bd0
Global Functions (#4474)
* First cut on data structure

* fix source.mk

* Dummy task to process global functions

* Early stage of arming safety override

* CLI interface for global functions

* MSP layer for global functions

* arming safety override with a global function

* Integrate throttle limit into global functions

* Fix Omnibus RAM overflow
2019-09-16 11:49:49 +02:00
Paweł Spychalski
132ece6eac
Merge pull request #4642 from iNavFlight/dzikuvx-general-settings
Allow storing of applied defaults id to be used in configurator
2019-08-13 09:52:54 +02:00
Konstantin (DigitalEntity) Sharlaimov
d3b2ae2eac [SDIO] Add support for SDIO to F7 2019-07-16 17:19:56 +02:00
Pawel Spychalski (DzikuVx)
c2e93906ae Allow storing of applied defaults id to be used in configurator 2019-06-20 09:12:07 +02:00
Scavanger
7541e803ad Edit mixer and servo settings via CMS (OSD/OLED/Telemetry) (#4724) 2019-05-26 16:48:42 +02:00
potater1
b207ba55de Add GSM telemetry (#4388) 2019-05-25 17:21:56 +02:00
Olivier C
468a040801 OSD Hud + LoRa radar (nearby aircrafts) (#4558) 2019-05-24 15:37:54 +02:00
hali9
0eb9378bab Virtual pitot (#4712) 2019-05-22 16:00:39 +02:00
Michel Pastor
9e51b387fe
MSP override feature (#4704) 2019-05-22 16:00:14 +02:00
Konstantin Sharlaimov
e4391d5b46
Refactor pwm motor/servo output to be mixer-driven (#4705)
* [PWM] Refactor pwm motor/servo output to be mixer-driven. Don't initialise more motor/servo outputs than necessary
* [PWM] Add logging and arming blocking flag (ci skip)
* [PWM] Remove bootlog; Create a warning message in CLI when PWM out has problems
* [PWM] Refactor servo driver and init code; Fix OSD message
2019-05-18 15:10:54 +02:00
Konstantin Sharlaimov
2a8cf49d8f
Merge pull request #4646 from iNavFlight/de_serialshot
Add Matek Serialshot protocol
2019-05-11 21:23:57 +02:00
Alberto García Hierro
bc3d857693 Remove duplicate entries from source.mk
Introduced accidentaly while rebasing
2019-04-26 16:38:03 +01:00
Andi Kanzler
09fb7c5834 CMS for Hott-Textmode
Code embellishment

source.mk sorted correctly ;)

Last changes
2019-04-26 16:38:03 +01:00
Konstantin Sharlaimov (DigitalEntity)
cac528337c [SERIALSHOT] Initial cut on Matek Serialshot implementation 2019-04-25 21:50:06 +02:00
Jonathan Hudson
590f2e9afb Merge branch 'development' into agh_msc_2.1 2019-03-31 12:01:43 +01:00
Alberto García Hierro
45553a06ba Replace DEBUG_TRACE with LOG
LOG system has multiple levels, selectable both at compile and run
times. FEATURE_TRACE has been removed, since we now rely just on
the log level/topic and the defined outputs for the log messages.
2019-03-18 19:33:43 +00:00
Pawel Spychalski (DzikuVx)
ab131ea2f2 Fix source.mk for logic conditions 2019-03-10 22:28:09 +01:00
Paweł Spychalski
c13a13b172
Logic Conditions framework (#4144)
* CLI for servo mix conditions

* RC channel greater than on servo mixer

* RC channel value based conditions

* MSP2 frames

* Docs update

* mixer condition changed to logic condition and generalized

* basic logic framwork extarcted to separate file'

* minor fixes

* Processing refactoring

* Flight values added to conditions

* Use logic conditions only on > F3

* Make logic conditions a separate entity and link from servo mixer to logic condition

* empty task to periadically compute logic conditions

* Compute logic conditions as task

* Add flags

* CLI logic to configure logic conditions

* MSP frames to get and set logic conditions

* Disabled condition always yelds false

* fixes for F3

* Review changes

* final fix in MSP2_INAV_SERVO_MIXER
2019-03-05 22:31:28 +01:00