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

84 commits

Author SHA1 Message Date
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
YGlamazdin
6369b94149 Position estimation refactoring. Opflow position estimation. Rebase. Squash. 2018-06-10 20:12:56 +02:00
Alberto García Hierro
a40cfb9d00 Initial USB MSC support from Betaflight
Code by @conkerh, @jflyper and @mikeller

Only F4 and F7 are supported, since this feature takes ~9K of flash
and F3 only has ~15K free right now.

Use the new 'msc' CLI command to enable MSC mode. The FC will reboot
as a USB mass storage device. To exit the mode, just power cycle.
2018-06-06 21:23:30 +01:00
Alberto García Hierro
24f1327da8 Move wind estimator to flight/, call it only on GPS updates
- Move navigation_wind_estimator.{c,h} to flight/wind_estimator.{c,h}
- Rename gpsThread() to gpsUpdate(), make it return a bool which is
true iff new GPS data was received.
- When the GPS returns new data, call into the wind estimator to
update itself.
- Make sure wind estimator can be disabled at compile time via
the USE_WIND_ESTIMATOR #ifdef
- Disable OSD wind indicators when wind estimator support is not
compiled in.
- Don't check for both GPS and USE_WIND_ESTIMATOR in ifdefs, instead
fail compilation with an error in USE_WIND_ESTIMATOR is defined
without defining GPS.
2018-05-27 21:11:19 +01:00
Alberto García Hierro
9a45a0cdce Move wind estimator to navigation
- Move est_wind_airspeed to navigation_wind_estimator
- Make a few stylistical changes in all the file to use
INAV conventions and constants for better readability.
- Add function for retrieving wind estimates in body frame.
- Mark with missing stuff with TODO
2018-05-27 21:11:19 +01:00
Konstantin Sharlaimov
81dd2f3c0e
MSP opflow and rangefinder drivers (#3164)
* Add MSP optic flow and MSP rangefinder sensors
* Relax condition to lock on flow
* Opflow alignment support
2018-05-07 21:49:41 +10:00
Konstantin Sharlaimov
108b619a34
Cleanup build system and unused source files (#3047)
* Initial cut on cleaning up makefile and libraries.
* F3, F4, F7 support
* Add 'make release' to build targets for release
* Introduce BUILD_SUFFIX options; Comment fix
* Fix USB core
* Fix F7 warnings
* Clean up STM32F1 code
* More cleanups of unused files
2018-04-25 10:01:00 +10:00