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

62 commits

Author SHA1 Message Date
Pawel Spychalski (DzikuVx)
06fed7bec2 First cut on Smith Compensator on PID measurement 2021-04-27 16:44:39 +02:00
Alexander van Saase
d0e604a7ca altitude estimation debug mode 2021-04-06 17:19:48 +02:00
Pawel Spychalski (DzikuVx)
2b13c855ef Merge branch 'master' into dzikuvx-bno055-secondary-imu 2021-04-01 19:09:04 +02:00
Alexander van Saase
4f789a66db debug mode 2021-03-05 11:52:52 +01:00
Pawel Spychalski (DzikuVx)
4c40823dbe Merge branch 'master' into dzikuvx-bno055-secondary-imu 2021-02-26 20:36:38 +01:00
Pawel Spychalski (DzikuVx)
1405fd3fc1 Refactor 2020-12-25 16:15:56 +01:00
Konstantin (DigitalEntity) Sharlaimov
e72e70209e [H7] Add preliminary support for H7 CPUs 2020-11-07 14:28:14 +01:00
Pawel Spychalski (DzikuVx)
f812d5c6ac Drop gyro method of ITerm relax 2020-08-01 15:29:33 +02:00
Pawel Spychalski (DzikuVx)
fbb7dc3a5d Merge branch 'master' into dzikuvx-gyro-ekf-refactor 2020-07-30 09:53:55 +02:00
Pawel Spychalski (DzikuVx)
1547aff0aa Merge remote-tracking branch 'origin' into dzikuvx-pcf8574-expander 2020-07-20 22:12:40 +02:00
Michel Pastor
707133c4db
Add Smartport Master (#5724) 2020-07-20 21:13:35 +02:00
Pawel Spychalski (DzikuVx)
d85693cd98 PCF8574 Basic Driver 2020-07-20 18:05:38 +02:00
Pawel Spychalski (DzikuVx)
eebb5f644f Allow separate debug of PID measurement 2020-07-08 22:27:17 +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
Paweł Spychalski
839a877397
Add setpoint derivative feed forward term to PID controller (#5642)
* Add setpoint derivative feed forward term to PID controller

* Drop Dterm setpoint weight, FIR filter and dterm notch

* Fix FALCORE build

* Rename Multirotor FeedForward to Control Derivative

* Apply Control Derivative results

* Free CCM on F3

* Rename CLI name

* Remove Omnibus F3 support

* Update CLI.md and rename setting
2020-06-09 13:37:49 +02:00
Michel Pastor
aa928bdfff
Add IR-Lock optical positioning system support (#5677) 2020-05-06 13:38:06 +02:00
Pawel Spychalski (DzikuVx)
63cda19034 fix wrong merge 2020-03-04 13:43:47 +01:00
Pawel Spychalski (DzikuVx)
b5c87169b3 Merge branch 'development' into dzikuvx-nav-yaw-adjustments 2020-03-04 13:37:35 +01:00
Pawel Spychalski (DzikuVx)
b939c26a7e Merge branch 'development' into dzikuvx-bno055-secondary-imu 2020-03-03 20:50:53 +01:00
Pawel Spychalski (DzikuVx)
1e06e7fd1c Add a debug for new dynamic filters 2020-02-04 19:38:06 +01:00
Pawel Spychalski (DzikuVx)
746d7423e8 Make yaw controller configurable 2019-12-26 11:10:53 +01:00
Pawel Spychalski (DzikuVx)
ce8f5c7327 Merge remote-tracking branch 'origin/development' into dzikuvx-bno055-secondary-imu 2019-12-09 17:30:12 +01: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
Pawel Spychalski (DzikuVx)
c538e2eb58 Cleanup debugs and USE_ defines that are always on 2019-10-31 21:04:05 +01:00
Pawel Spychalski (DzikuVx)
85da1894d6 Debug motor eRPM 2019-10-25 14:31:22 +02:00
Pawel Spychalski (DzikuVx)
9f2e80029c dzukuvx-bno055-secondary-imu 2019-09-28 20:26:58 +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
Pawel Spychalski (DzikuVx)
9566d53452 Antigravity debug 2019-08-13 14:23:48 +02:00
Pawel Spychalski (DzikuVx)
b62f5748ed Merge remote-tracking branch 'origin/development' into dzikuvx-d-boost 2019-05-17 09:49:23 +02:00
hali9
5cb835e7e7 Remove wind debug (#4708) 2019-05-15 20:53:13 +02:00
Pawel Spychalski (DzikuVx)
5de29a3f17 Initial cut on dBoost 2019-05-08 21:14:50 +02:00
Pawel Spychalski (DzikuVx)
f9b8617e03 Direct port of BF Iterm relax 2019-04-22 23:06:47 +02: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
Konstantin Sharlaimov (DigitalEntity)
b21b4436d1 Fix logging of total PID output to BB log; Add a lot of debug logging via a GENERIC logging type 2019-02-09 18:00:52 +01:00
Michel Pastor
4ee617771c Make the debug array cells int32 and increase cell count to 8 2018-12-03 14:52:48 +01:00
giacomo892
80e7094457 add raw accelerometer debug_mode 2018-11-29 15:03:22 +01: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
giacomo892
46ef27db85 Implement CRUISE MODE for Fixed Wing (#3311)
* Nav cruise mode (2D/3D)
* CRUISE FLM on LTM telemetry
2018-06-16 18:27:22 +02:00
Konstantin Sharlaimov (DigitalEntity)
c74905cbfd Debug vibration 2018-06-15 22:30:41 +02:00
YGlamazdin
6369b94149 Position estimation refactoring. Opflow position estimation. Rebase. Squash. 2018-06-10 20:12:56 +02:00
Michel Pastor
284f8447c8 Sag compensated battery voltage and voltage based throttle compensation 2018-06-04 17:35:54 +02:00
Alberto García Hierro
04e5ced855 Fix value of DEBUG_WIND_ESTIMATOR
After latest rebase, it should be placed after DEBUG_STAGE2
2018-05-27 21:11:19 +01:00
Alberto García Hierro
eb0fd005c1 Add WIND_ESTIMATOR debug mode
Uses debug[0-2] to log estimated wind in earth frame X, Y, Z.
2018-05-27 21:11:19 +01:00
Pawel Spychalski (DzikuVx)
78396808aa debug for stage2 filter 2018-05-10 22:03:12 +02:00
Pawel Spychalski (DzikuVx)
d83fbc27d9 Debug cleanup for not used/not needed data 2018-05-03 13:51:57 +02:00
Alberto García Hierro
a9c91b6e07 Add FPort support
FPort code is mostly imported from Betaflight. To make future RX
updates easier, a few more changes have been done to make the
RX/Telemetry code in BF and INAV a bit closer.

- Imported RSSI handling code from BF with some changes
- frsky_vfas_cell_voltage setting renamed to report_cell_voltage
- Added telemetry_halfduplex setting
- sbus_inversion renamed to serialrx_inverted, should apply to all
protocols eventually
- New MSP cmds MSP_TX_INFO/MSP_SET_TX_INFO now allow setting the RSSI
via MSP, thus RX_MSP doesn't need to use an extra channel anymore.
2018-03-16 12:50:23 +00:00
giacomo892
b64053b1d0 DEBUG_ALWAYS 2018-02-22 10:03:14 +01:00
Alberto García Hierro
bcfc8e7189 Add DEBUG_TRACE_BUFFER_HEX[_SYNC] macros
They implement support for printing an arbitrarily sized buffer
in hexadecimal via DEBUG_TRACE.
2018-02-13 12:27:53 +00:00
Konstantin Sharlaimov (DigitalEntity)
2f677f007d Initial cut on debug trace facilities 2018-02-08 19:46:04 +10:00