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

57 commits

Author SHA1 Message Date
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