1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 00:05:28 +03:00
Commit graph

56 commits

Author SHA1 Message Date
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
Michel Pastor
f9295dd696 Add driver for the DS18B20 1-Wire temperature sensors 2019-02-07 23:45:37 +01:00
Michel Pastor
f28befe411 Add 1-Wire support through the DS2482 IF chip 2019-02-07 23:45:37 +01:00
Jonathan Hudson
db725229a6 update for 2.1 dev 2019-02-01 15:02:37 +00:00
Konstantin Sharlaimov (DigitalEntity)
f8017b9d35 [CALIBRATION] Separate library for zero calibration with variance calculation (time based, with retry); Migrate GYRO and ACC to new calibration; Implement movement threshold for acc calibration to discard shaky measurements 2019-01-27 13:10:47 +01:00
Konstantin Sharlaimov (DigitalEntity)
8918a1281e Experimental biquad RC fitler instead of RC interpolation 2019-01-08 08:27:22 +01:00
Alberto García Hierro
d6c2536415
Merge pull request #4158 from iNavFlight/agh_olc
Add support for displaying +code of the current vehicle location on OSD
2019-01-07 19:03:04 +00: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)
6ca5103919 [VTX] Initial cut on FFPV protocol 2019-01-07 10:36:27 +01:00
Michel Pastor
ce0a31c03f fix 3 2019-01-07 00:50:55 +01:00
Michel Pastor
fb92723f7a fix 2 2019-01-06 23:17:48 +01: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
Konstantin Sharlaimov (DigitalEntity)
884c0dbdb3 Initial cut on PINIO mode 2018-11-12 22:46:07 +01:00
Konstantin Sharlaimov
035bbd6114
Merge pull request #3984 from iNavFlight/de_sdcard_fixes
SPI/SDCARD refactoring
2018-11-04 21:30:58 +01:00
Konstantin Sharlaimov (DigitalEntity)
645dbd6f46 Initial support for Benewake TF-Mini lidar 2018-11-04 16:24:08 +01:00
Konstantin Sharlaimov (DigitalEntity)
3b2f87b7b5 Refactor SDCARD; Separate generic code from SPI-specific code 2018-11-03 23:26:04 +01:00
Konstantin Sharlaimov (DigitalEntity)
cd618f4de5 Remove I2C_GPS driver; Refactor GPS core code; Refactor UBLOX driver to be protothread-driven 2018-10-31 17:10:59 +01:00
Alberto García Hierro
c0c27727ad
Merge pull request #3116 from alexeystn/frsky_d8_telemetry_lua_script
Modify FrSky D-series telemetry for compatibility with Lua script
2018-06-22 09:26:57 +01:00
Alexey Stankevich
e7faf25917 Add frsky_d.c to source.mk 2018-06-21 23:52:16 +03:00
Alberto García Hierro
7b223eb215 Port new VTX API and settings from Betaflight
- VTX with support for FC control are now totally managed from the
FC. The FC will store the VTX configuration and override any changes
made manually (e.g. with a button). Users can disable VTX control
to manage channels manually.
- OSD VTX item now shows the power level too.
- Added new parameters for VTX configuration: vtx_band, vtx_channel,
vtx_freq, vtx_halfduplex, vtx_low_power_disarm, vtx_pit_mode_freq
and vtx_power.
- Added support for automatically switching the VTX power when
arming (fixes #3112).

Note that there are a several changes from the BF code. We do support
an additional setting for the low power during disarm option and
the MSP messages contain more data to allow users to configure the
VTX channel/power from the configurator. Our MSP messages also work
when the VTX is offline (the settings are stored in the FC and applied
later once the VTX is powered up).

Thanks to Matek (http://www.mateksys.com) for providing an FCHUB-VTX
to test the Tramp protocol.

Thanks to AKK (https://www.akktek.com) for providing an X2-ultimate
to test SmartAudio.
2018-06-20 17:30:54 +01:00
Michel Pastor
83148a04d2 Add remaining flight time/distance calculations and OSD items 2018-06-17 23:10:21 +02:00
Konstantin Sharlaimov
ee73372cf6
Merge pull request #3350 from iNavFlight/yg_de_posest_and_opflow
Refactor position estimation code.
Add support for optic flow for position estimation (not recommended to be used at the moment, barely tested)
2018-06-15 20:23:45 +02:00
Michel Pastor
ce8621ee8f Add battery profiles feature 2018-06-13 15:58:38 +02:00