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

79 commits

Author SHA1 Message Date
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
Konstantin Sharlaimov (DigitalEntity)
f3422ce423 CXOF flow sensor (UART)
Enable opflow on sparky2
Optical flow MSP updates
2017-12-22 17:21:00 +10:00
Konstantin Sharlaimov (DigitalEntity)
5f8113e5aa Debug AGL. Enable VL53L0X for Sparky2 on EXT I2C 2017-11-15 14:00:04 +10:00
Pawel Spychalski (DzikuVx)
c12163930d Debug mode for pitot meter 2017-08-04 22:16:28 +02:00
Pawel Spychalski (DzikuVx)
48e84e608b attempt to determine max. useful rangefinder distance 2017-07-22 21:40:59 +02:00
Pawel Spychalski (DzikuVx)
0fa7a2a773 rangefinder debug mode 2017-07-07 13:35:47 +02:00
Pawel Spychalski (DzikuVx)
f0a95f3d22 fixed bug in updateClimbRateToAltitudeController and added logging 2017-05-22 11:44:46 +02:00
Martin Budden
6779c5e8e8 Renamed debug mode enum 2017-05-08 09:02:00 +01:00
Martin Budden
52f32d9381 Subsumed navDebug into debug 2017-05-08 09:02:00 +01:00
Konstantin Sharlaimov (DigitalEntity)
adaef0da5a More fixes to time types 2017-01-15 19:24:35 +10:00
Pawel Spychalski (DzikuVx)
97198e1a2b list of used debug modes reduced to those that are used 2017-01-12 16:53:12 +01:00
Pawel Spychalski (DzikuVx)
8ffc9a55e7 debug mode via config 2017-01-12 16:38:01 +01:00
Martin Budden
944adb06f8 Minor changes to directory structure to reflect changes in Cleanflight and betaflight 2016-08-09 08:19:15 +01:00
Renamed from src/main/debug.h (Browse further)