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

170 commits

Author SHA1 Message Date
Konstantin Sharlaimov (DigitalEntity)
7e4e2ae6e5 Update release targets 2018-08-22 18:38:20 +02:00
Konstantin Sharlaimov (DigitalEntity)
2794b80f49 Add SPEEDYBEEF4 to release targets 2018-08-07 21:42:35 +02:00
Konstantin Sharlaimov (DigitalEntity)
c0a92465e7 Add MATEKF411 to 'make release' targets 2018-08-06 21:03:46 +02:00
Alberto García Hierro
f0539b2b51 Refactor the inverter driver
Split INVERTER_PIN_UART<n> into INVERTER_PIN_UART<n>_RX and
INVERTER_PIN_UART<n>_TX. This allows us to invert just one line
of the port in F4 based controllers, like we can do on F3.

Fixes #3466
2018-07-01 12:46:31 +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
9e6e2b3f65
Timer driver refactoring (#3120)
* Initial cut on timer cleanup and refactoring
* Remove unused code
* Dynamic timer state allocation
* Remove USABLE_TIMER_CHANNEL_COUNT and USED_TIMERS definitions
2018-05-23 16:44:30 +10:00
Konstantin Sharlaimov
143fb2f2d7
Merge pull request #3089 from ted-rcnet/development
Fix motor and beeper for YUPI FC V1
2018-05-21 12:47:13 +10: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
root
7c95d1797b Add Target YUPIF4R2 YUPIF4MINI YUPIF7 2018-04-29 14:27:04 +02:00
Konstantin Sharlaimov (DigitalEntity)
0d02112d2a Fix USBFS driver directories 2018-04-26 14:58:30 +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