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

8679 commits

Author SHA1 Message Date
Konstantin Sharlaimov
5ba4e5b674
Merge pull request #4681 from iNavFlight/de_yg_accel_weight_scaling
Ignore acceleration in estimated position when clipping or high vibration
2019-05-08 16:36:31 +02:00
Konstantin Sharlaimov (DigitalEntity)
0428b705ee [NAV] Add accelerometer weight scale to DEBUG_VIBE 2019-05-06 17:18:34 +02:00
Konstantin Sharlaimov (DigitalEntity)
7598f222e7 [INAV] Initial cut on ignoring acceleromer in estimation when clipping 2019-05-06 17:18:34 +02:00
Alberto García Hierro
43630a0230
Merge pull request #4683 from iNavFlight/agh_printf_variants
Printf: Implement size checked and va_list variants
2019-05-05 13:26:46 +01:00
Konstantin Sharlaimov
83f7335553
Merge pull request #4680 from iNavFlight/de_fix_debug_typo
[FLOW] Fix incorrect axis order in DEBUG_FLOW
2019-05-05 09:59:25 +02:00
stronnag
1c22dcea84
Merge pull request #4679 from iNavFlight/jh-gcc9-warning-fixes
gcc9 warning fix
2019-05-05 07:52:50 +01:00
Alberto García Hierro
3dda0cbf7c All: Fix warnings reported by -Wformat
Since the tfp_printf() functions now have format attributes, the
format of the string has to match the arguments.
2019-05-05 00:32:43 +01:00
Alberto García Hierro
af0b33d11f Printf: Implement size checked and va_list variants
tfp_snprintf(), tfp_vsprintf() and tfp_vsnprintf

Mark all the functions as accepting a format string.

Also, drop the #define's for printf() and snprintf() and call
them explicitely, since #defining printf messes up with
__attribute__ ((format (printf, X, Y)))
2019-05-05 00:21:12 +01:00
giacomo892
44aeef501b
Merge pull request #4676 from giacomo892/acc_pt1_giacomo892
Implement PT1 filter option for accelerometer
2019-05-04 22:27:34 +02:00
Jonathan Hudson
478228e04b revert individual file GCC9 warning exceptions and instead add a global exception to platform.h 2019-05-04 20:32:10 +01:00
Konstantin Sharlaimov
ff7ca472ca
Merge pull request #4603 from iNavFlight/de_yg_surface_mode_experimental
Add accelerometer weight to position estimation
2019-05-04 21:26:14 +02:00
Konstantin Sharlaimov (DigitalEntity)
b4444589e4 [FLOW] Fix incorrect axis order in DEBUG_FLOW 2019-05-04 21:21:56 +02:00
Konstantin Sharlaimov
be621aff6a
Merge pull request #4677 from iNavFlight/jh-gcc-9-atomic-update
update atomic.h gcc version for gcc 9
2019-05-04 21:11:13 +02:00
Jonathan Hudson
8372958f46 address gcc9 warnings 2019-05-04 18:22:18 +01:00
Jonathan Hudson
52f942cafd update atomic.h gcc version for gcc 9 2019-05-04 17:04:04 +01:00
giacomo892
94420e3867 implement PT1 filter option for accelerometer 2019-05-04 15:33:42 +02:00
giacomo892
3cdeacbd54
Merge pull request #4671 from giacomo892/pt1_gyro_bugfix_giacomo892
gyro filters fixes
2019-05-03 22:02:16 +02:00
giacomo892
547b7a6177 code improvement and bugfix 2019-05-03 17:31:22 +02:00
Alberto García Hierro
af7e932c4e
Merge pull request #4648 from iNavFlight/agh_hott_textmode
CMS for HoTT textmode; CMS improvements according to BF
2019-05-02 20:12:06 +01:00
Konstantin Sharlaimov
16faa4399f
Merge pull request #3795 from iNavFlight/de_opflow_fixes
Optic flow & surface improvements
2019-05-02 13:13:31 +02:00
Konstantin Sharlaimov (DigitalEntity)
f800eb4a11 [OPFLOW] Fix compilation errors when USE_OPFLOW is not defined 2019-05-01 22:52:27 +02:00
Konstantin Sharlaimov (DigitalEntity)
1271e4d947 [OPFLOW] Refactor USE_* to make sure opflow is enabled for all targets; Implement opflow calibration 2019-05-01 21:43:48 +02:00
Michel Pastor
a260c77c93
Add SPRACINGF7DUAL to release list (#4662)
Fixes #4660
2019-05-01 00:11:13 +02:00
Konstantin Sharlaimov (DigitalEntity)
d2368ff17b Experimental opflow calibration; Add opflow calibration value to MSP [ci skip] 2019-04-30 21:40:12 +02:00
Konstantin Sharlaimov (DigitalEntity)
8fe96cfca4 Fix debug FLOW_RAW; Change default opflow scale for PWM3901 compatibility 2019-04-30 21:38:17 +02:00
Konstantin Sharlaimov
822a8f524d
Merge pull request #4649 from iNavFlight/de_mc_motor_stop
[FC] Add back MOTOR_STOP for multirotors
2019-04-30 15:40:41 +02:00
Paweł Spychalski
0a27fc90c2
Merge pull request #4657 from ted-rcnet/development
Update Target YUPIF7 Add Oled - Pitot
2019-04-29 22:25:14 +02:00
Paweł Spychalski
b643a83412
On MR allow airmode to be sticky and activated by throttle threshold (#4634)
* on MR allow airmode to be sticky and activated by throttle threshold

* fix bug

* make airmode activation threshold configurable

* Keep arimore activation flag as state

* Review changes
2019-04-29 22:23:29 +02:00
ted
5045266620 Update Target YUPIF7 Add Oled - Pitot 2019-04-29 13:41:51 +02:00
Alberto García Hierro
40b560b9d4 Properly align YES/NO and settings with value names 2019-04-26 22:00:50 +01:00
Alberto García Hierro
646206dc73
Merge pull request #4537 from shellixyz/ignore_set_get_spaces
CLI: ignore spaces between cmd and setting name for get/set
2019-04-26 21:53:35 +02:00
Alberto García Hierro
e70b14e336
Merge pull request #4647 from iNavFlight/agh_strict_prototypes
Enable -Wstrict-prototypes
2019-04-26 21:38:51 +02:00
Konstantin Sharlaimov (DigitalEntity)
14a06e55f0 [FC] Add back MOTOR_STOP for multirotors 2019-04-26 20:33:24 +02:00
Alberto García Hierro
d9c60d9305
Merge pull request #4623 from iNavFlight/agh_nav_extra_arming_safety_bypass
Add support for bypassing extra arming safety
2019-04-26 18:32:27 +02:00
Alberto García Hierro
abcf53b170 Fix prototypes for functions with no arguments 2019-04-26 16:38:03 +01:00
Alberto García Hierro
ce2f14e12b Add cmsDisplayPortGetCurrent()
Returns the current display port used by CMS without relying on
an extern variable.
2019-04-26 16:38:03 +01:00
Alberto García Hierro
bc3d857693 Remove duplicate entries from source.mk
Introduced accidentaly while rebasing
2019-04-26 16:38:03 +01:00
Alberto García Hierro
eb08d79fd9 Fix handling of readonly items, cmsMenuChange() and formatting 2019-04-26 16:38:03 +01:00
Andi Kanzler
09fb7c5834 CMS for Hott-Textmode
Code embellishment

source.mk sorted correctly ;)

Last changes
2019-04-26 16:38:03 +01:00
Alberto García Hierro
82784a9592
Merge pull request #4606 from iNavFlight/agh_cliserial
Add +n and -n syntax to serial CLI command
2019-04-26 17:33:00 +02:00
Alberto García Hierro
ae01b3453a Enable -Wstrict-prototypes
Also, fix all warnings shown when it's enabled
2019-04-26 15:57:49 +01:00
Konstantin Sharlaimov
90a592e974
Merge pull request #4621 from CapnBry/master
Port receiver-driven telemetry frame rate for F.PORT from betaflight
2019-04-25 21:18:28 +02:00
Konstantin Sharlaimov
572bef0057
Merge pull request #4644 from iNavFlight/de_fix_f7_dma
Fix timer DMA on F7
2019-04-25 21:11:58 +02:00
Konstantin Sharlaimov (DigitalEntity)
4427b8747a [TIM] Fix timer DMA on F7 2019-04-25 20:59:53 +02:00
Alberto García Hierro
20fac46ee0 Use an STATE() flag instead of an static variable in navigation.c
Also, make the check for setting the STATE() flag clearer. Previous
implementation was a bit confusing.
2019-04-25 13:59:20 +01:00
Alberto García Hierro
dc6d002bdc Add support for bypassing extra arming safety
In order to bypass the checks, users must set the new
nav_extra_arming_safety value ALLOW_BYPASS and arm with a switch
while holding yaw high. If this is used to arm the craft, the checks
are skipped until the next power cycle in order to allow rearming
quickly in case of an accidental mid air disarm.

Also, the "NAVIGATION IS UNSAFE" OSD message has been replaced
with more specific messages which tell the user the exact reason
why the navigation system is blocking arming.
2019-04-25 13:14:08 +01:00
Paweł Spychalski
8dbb7e7872
Merge pull request #4640 from iNavFlight/dzikuvx-remove-sticks-arming
Remove sticks arming
2019-04-25 00:14:30 +02:00
Pawel Spychalski (DzikuVx)
cf431d7d5c Remove unused variable 2019-04-24 21:08:12 +02:00
Pawel Spychalski (DzikuVx)
6ea467bd4c Remove sticks arming 2019-04-24 21:08:12 +02:00
Konstantin Sharlaimov
5754cf7d61
Merge pull request #4639 from iNavFlight/dzikuvx-remove-mc-motor-stop
MOTOR_STOP removed from Multirotors
2019-04-24 20:54:22 +02:00