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

3696 commits

Author SHA1 Message Date
Martin Budden
acdd0077a6 Added support for CC3D OPBL build 2016-05-19 23:05:03 +01:00
Martin Budden
e92b53aa46 Merge pull request #226 from martinbudden/inav_tidy_makefile
Makefile cleanup - improved handling  of different targets.
2016-05-19 22:53:16 +01:00
Martin Budden
91e0be8cfa Merge pull request #225 from martinbudden/inav_fix_warnings
Fixed compiler warnings.
2016-05-19 22:52:38 +01:00
Martin Budden
8495d73946 Further cleanup of sonar initialisation code. (#228) 2016-05-19 10:56:15 +10:00
Paweł Spychalski
2dcaa2e112 Merge pull request #227 from martinbudden/inav_fix_cjmcu_build
Fix CJMCU build
2016-05-18 21:38:58 +02:00
Martin Budden
06f297e301 Fixed CJMCU build 2016-05-18 19:23:31 +01:00
Martin Budden
1f655b4547 Makefile cleanup - improved handling of different targets. 2016-05-18 19:11:00 +01:00
Martin Budden
37fe46fdd3 Fixed compiler warnings. 2016-05-18 14:49:54 +01:00
Martin Budden
4c3c8a1b48 Moved sonar pinouts into target.h files. (#224) 2016-05-18 23:46:23 +10:00
Konstantin Sharlaimov
f6b37c3924 Merge pull request #148 from iNavFlight/servo-handling-refactoring-squashed
Servo mixer refactoring
2016-05-17 23:16:44 +10:00
Konstantin Sharlaimov
e66bba1f41 Merge pull request #149 from iNavFlight/martinbudden-inav_sonar
Support for multiple types of rangefinder to iNav
2016-05-17 23:12:45 +10:00
Konstantin Sharlaimov
2564924ba5 Merge pull request #203 from theArchLadder/helpful-cli
CLI: give help when trying to set invalid value
2016-05-16 08:49:02 +10:00
Konstantin Sharlaimov (DigitalEntity)
3e6204dc7f PID: Disable PID attenuation at zero throttle on airplanes 2016-05-16 08:47:24 +10:00
Konstantin Sharlaimov
9c9b79ee78 Merge pull request #211 from iNavFlight/gcc-6.1.1-tidyup
Clean up gcc 6.1.1 warnings, some minor tigying up
2016-05-16 08:46:30 +10:00
Paweł Spychalski
dd8a8aead5 MAG_HOLD diff limiting and MAG controller refactoring (#195)
* MAGHOLD constrained to 30 degrees
* mag_hold_heading_diff_limit CLI setting added to allow custom MAG_HOLD diff limit
* magHeading moved to pid.c and real interface created to inject data into it
* mag hold controller with current logic moved to pid.c
* 2Hz LPF filter added to magHold error to smoothen controller response
* variable name changed to clearly state its purpose
* LPF filter in MAG_HOLD controller moved after error limiting
* yaw_control_direction passed to pidController as argument, mag_hold_heading_diff_limit moved to pidProfile
* yaw_control_direction setting removed
* pidMagHold translates directly to rotation rate in dps
* pidMagHold refactored to the new principles and limiting
* name of filter changed to reflect its purpose
* HEADING_LOCK mode can be used only when MAG_HOLD is not enabled
* compiler warning supressed
* new MAG_HOLD defaults, RATE_LIMIT increased to 80dps, MAG_HOLD P to 60
* mag_rate_limit 90dps
2016-05-15 22:46:55 +10:00
Pawel Spychalski (DzikuVx)
3bfc145b22 Squashed commit of the following:
commit 394069a71fd5beb72e0033bfc3435b04734522bf
Merge: d53904d 0876f73
Author: Pawel Spychalski (DzikuVx) <pspychalski@gmail.com>
Date:   Thu Apr 7 17:43:32 2016 +0200

    Merge branch 'inav-master' into servo-handling-refactoring

commit d53904d1dbe84143f92079c2c7b900197dd8d72d
Author: Pawel Spychalski (DzikuVx) <pspychalski@gmail.com>
Date:   Thu Apr 7 11:41:45 2016 +0200

    Dualcopter and Bicopter presets removed since with new CUSTOM mixer they can be configured manually

commit 8e688bbf40a01cb28c7a25aca917c8e341031df1
Author: Pawel Spychalski (DzikuVx) <pspychalski@gmail.com>
Date:   Thu Apr 7 10:02:09 2016 +0200

    Singlecopter removed

commit b8a3c0c9c87697ea4cc7109ce4d1c0d4ef3aefd5
Author: Pawel Spychalski (DzikuVx) <pspychalski@gmail.com>
Date:   Thu Apr 7 09:37:18 2016 +0200

    MIXER_GIMBAL disabled, code removed as never really implemeneted

commit 834c0b2a66989ff8aead6b4d04f3cc54d86df95d
Author: Pawel Spychalski (DzikuVx) <pspychalski@gmail.com>
Date:   Tue Apr 5 22:22:03 2016 +0200

    servo constraining

commit aad34473e0b3e14c595fdefc3bb17ca423dac654
Author: Pawel Spychalski (DzikuVx) <pspychalski@gmail.com>
Date:   Tue Apr 5 22:15:29 2016 +0200

    further refactoring

commit b41b2019f1a45d802bc3aabb25fe3ff188259100
Author: Pawel Spychalski (DzikuVx) <pspychalski@gmail.com>
Date:   Tue Apr 5 21:41:48 2016 +0200

    unneeded variable removed

commit c68a0a55eda66ae937c290aa80234e21f69022a6
Author: Pawel Spychalski (DzikuVx) <pspychalski@gmail.com>
Date:   Tue Apr 5 21:14:15 2016 +0200

    MIXER_CUSTOM is now able of loading servo mixes as well

commit 6847354c2130e7459f2bf8e83ffee4690256cdb3
Author: Pawel Spychalski (DzikuVx) <pspychalski@gmail.com>
Date:   Mon Apr 4 21:02:51 2016 +0200

    logic simplification

commit b7a6630e387c4be66b48eb9bda19e69ae75a95ec
Author: Pawel Spychalski (DzikuVx) <pspychalski@gmail.com>
Date:   Mon Apr 4 20:34:38 2016 +0200

    unified way to write servos

commit 52eafa053c
Author: Pawel Spychalski (DzikuVx) <pspychalski@gmail.com>
Date:   Mon Apr 4 14:22:23 2016 +0200

    more uncommon mixer presets removed on F1 targets

commit 5dd3dee9cf
Author: Pawel Spychalski (DzikuVx) <pspychalski@gmail.com>
Date:   Sun Apr 3 15:39:10 2016 +0200

    exotic mixers disabled on F1 targets with fallback to QuadX
2016-05-15 13:16:30 +02:00
Konstantin Sharlaimov (DigitalEntity)
a09f07caf2 FILTER: PT1 with rate of change limiting 2016-05-15 20:10:29 +10:00
Konstantin Sharlaimov (DigitalEntity)
cd3b026e6f OLED: Disable ARMED_BITMAP on NAZE 2016-05-15 10:33:19 +10:00
Konstantin Sharlaimov
8ab6ae32f5 Merge pull request #170 from iNavFlight/wp-on-off-style-activation
Require "off-on" switch cycle to activate WP mission
2016-05-15 10:21:47 +10:00
stronnag
eb9cd8de23 clean up gcc 6.1.1 warnings 2016-05-13 20:24:06 +01:00
Konstantin Sharlaimov (DigitalEntity)
a8a9ba82c5 Revert to 1.0 gyro filtering default (42HZ) 2016-05-13 19:08:39 +10:00
Konstantin Sharlaimov
3cd1f758df Merge pull request #201 from iNavFlight/pid-loose-dterm-filtering
Improve PID LPF filtering - revert to IIR filter for D-term for lower phase shift, use LPF on Yaw axis.
2016-05-13 19:07:59 +10:00
theArchLadder
cf42943a11 CLI: improved zero length value check 2016-05-13 09:28:01 +02:00
Petr Ledvina
a5908c1343 Workaboung VCP problem with gcc 5.3 2016-05-13 09:50:43 +10:00
Konstantin Sharlaimov
8f49814985 Merge pull request #179 from iNavFlight/cleanup-4way
Cleanup 4way interface
2016-05-13 09:49:02 +10:00
theArchLadder
032b38d7f5 CLI: null values should give invalid value, not 0 2016-05-12 15:43:50 +02:00
theArchLadder
d93abe9475 CLI: non-digit values should give invalid value, not 0 2016-05-12 15:35:44 +02:00
Konstantin Sharlaimov
50d2ca58f1 Merge pull request #194 from iNavFlight/sbas-none
GPS: Add possibility to disable ground assistance. Closes #193
2016-05-12 21:00:36 +10:00
theArchLadder
f6a03a3c00 CLI: improved invalid value message 2016-05-12 01:17:03 +02:00
theArchLadder
ea34fa4366 CLI: give help when trying to set invalid value 2016-05-12 00:54:23 +02:00
Konstantin Sharlaimov (DigitalEntity)
f2aa40dac3 PID: P-term LPF on Yaw axis 2016-05-11 21:18:32 +10:00
Konstantin Sharlaimov (DigitalEntity)
40a9344dfb PID: Replace D-term BiQuad with PT1 for lower phase shift 2016-05-11 20:56:11 +10:00
Konstantin Sharlaimov (DigitalEntity)
744e2a857f Buffer size fix for float point values >= 100.00 in CLI 2016-05-11 20:04:34 +10:00
Konstantin Sharlaimov (DigitalEntity)
0592f9f8fc NAV: Disable manual altitude control in RTH mode. Closes #196 2016-05-11 11:33:35 +10:00
Konstantin Sharlaimov (DigitalEntity)
1f49891144 GPS: gps_nav_model replaced by gps_dyn_model with 3 settings - PEDESTRIAN, AIR_1G, AIR_4G with default of AIR_1G 2016-05-11 11:23:11 +10:00
Pawel Spychalski (DzikuVx)
929eee6166 fixed docs bug 2016-05-10 11:28:14 +02:00
Pawel Spychalski (DzikuVx)
75988216ab updated and cleaned docs for yaw_jump_prevention_limit CLI setting 2016-05-10 11:24:07 +02:00
Konstantin Sharlaimov (DigitalEntity)
6a4cde2c0b GPS: Default to SBAS_AUTO 2016-05-10 08:45:57 +10:00
Konstantin Sharlaimov (DigitalEntity)
a43d736201 Enable automatic mag declination on SPARKY target 2016-05-10 08:40:45 +10:00
Konstantin Sharlaimov (DigitalEntity)
4640391e09 GPS: Disable ublox setting for 'apply integrity information' for SBAS to prevent GLONASS sat dropouts 2016-05-10 08:36:56 +10:00
Konstantin Sharlaimov (DigitalEntity)
0037380fc0 GPS: Add possibility to disable ground assistance 2016-05-10 01:06:05 +10:00
Konstantin Sharlaimov (DigitalEntity)
33cc7bc45f Remove useless code in compass.c 2016-05-09 21:28:42 +10:00
Konstantin Sharlaimov (DigitalEntity)
43328c2fd2 PID: Fixed I-term low authority at low throttle. Fixes #157 2016-05-09 11:53:40 +10:00
Konstantin Sharlaimov (DigitalEntity)
cf46cf6098 ACC/GYRO: Cleanups. Thanks to @martinbudden for the idea and most of the code 2016-05-09 10:50:47 +10:00
Paweł Spychalski
1b1c446980 Ibus 10ch support (#189)
* Document FlySky IBUS support
* Expand IBUS channel parsing to parse channels 9 & 10
2016-05-08 14:27:05 +10:00
Konstantin Sharlaimov (DigitalEntity)
a2c791a811 GPS: Report proper fix type to MSP_RAW_GPS 2016-05-05 20:06:04 +10:00
Konstantin Sharlaimov (DigitalEntity)
bee5bfa9ce FILTER: Biquad filter precision update 2016-05-05 18:37:13 +10:00
Konstantin Sharlaimov (DigitalEntity)
0f404413e5 GPS: Change Ublox autoconfig settings to allow 2D fix and longer DGPS timeout 2016-05-05 18:28:34 +10:00
Konstantin Sharlaimov (DigitalEntity)
8eafdb63c0 Merge branch 'theArchLadder-smooth-rth-decend' 2016-05-04 20:02:41 +10:00
Konstantin Sharlaimov (DigitalEntity)
33a7b2db66 Refactor descent slow-down code; move sanity check to validateAndFixConfig(); EEPROM bump 2016-05-04 20:02:27 +10:00