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

3661 commits

Author SHA1 Message Date
Dominic Clifton
ce77e76ca5 Disallow gyro sync denominator < 2 when gyro sync and gps are enabled on
F1 targets. Also disallow looptime < 2000 when GPS enabled.

Note: Too much CPU loads prevents arming, this reduces CPU load.
2016-03-15 21:47:48 +10:00
Dominic Clifton
ae2919f652 only run git log once per build. Closes #1909 2016-03-15 21:43:29 +10:00
Dominic Clifton
41b7e8a1ca Update makefile help to show 'bin' alias. See #1857 2016-03-15 21:43:21 +10:00
Dominic Clifton
397a864d3d Support out of order ISR events for PPM. Rename previousTime to
currentCapture to better indicate it's use.

Add some PPM event debugging code (disabled by default).
2016-03-15 21:43:13 +10:00
Echelon9
b148e016ae Don't promote two equivalent user facing options in 'make help'. The two alternative commands continue to exist for scripts etc. 2016-03-15 21:39:05 +10:00
Echelon9
b884f7d29f Correct typo in 'make help' description string 2016-03-15 21:38:54 +10:00
Echelon9
51d8192d1f Clean up stray 'make help' strings that do not apply to valid options 2016-03-15 21:33:58 +10:00
Read Error
455a358591 Lux Commit 2016-03-15 21:33:39 +10:00
Petr Ledvina
d73313fe98 Add support for target as makefile goal
Recursively invoke make with TARGET set correctly.
It is possible to specify multiple targets on make command line.
Special goal `all_targets` will make all known TARGETs.
TARGET-specific goals are passed correctly.

```
make SPARKY NAZE
make all_targets binary test
make all_targets clean
```
2016-03-15 21:29:28 +10:00
Konstantin Sharlaimov (DigitalEntity)
235ebf667a NAV: Further improve handling of magless machines 2016-03-12 22:46:12 +10:00
Konstantin Sharlaimov (DigitalEntity)
526609b575 FW: Fix issue with home set on a magless airplane. Prevent navigation from doing corrections when speed is low 2016-03-12 20:26:44 +10:00
Konstantin (DigitalEntity) Sharlaimov
8f25007144 MAG: Support for Freescale MAG3110 compass chip 2016-03-09 21:21:59 +02:00
Konstantin (DigitalEntity) Sharlaimov
d424879b87 NAV: New PH defaults 2016-03-09 20:56:23 +02:00
Konstantin (DigitalEntity) Sharlaimov
d3f2df499d FW: Increase default banking angle to 30 deg, add 'nav_fw_loiter_radius' parameter (cm) to control the radius of a circle in PH/RTH modes 2016-03-08 20:36:19 +02:00
Konstantin (DigitalEntity) Sharlaimov
fbeff0a1be NAV: Allow position control from EzGUI (follow me etc) only if new 'GCS NAV' mode is enabled 2016-03-08 19:35:20 +02:00
Konstantin (DigitalEntity) Sharlaimov
2cd83a3110 POSHOLD/WP: Support P1 as heading for Follow-Me (waypoint=255) 2016-03-08 08:16:01 +02:00
borisbstyle
694980f1c0 Disable error interrupt USB // Fixes CPU overload and arming issues on some boards. Thanks to moto moto 2016-03-08 07:38:30 +02:00
Konstantin (DigitalEntity) Sharlaimov
621c8e3bfd NAV: Change D-term scaling for NAV PIDs. Closes #94 2016-03-06 17:51:56 +02:00
Konstantin (DigitalEntity) Sharlaimov
cd4e90cee5 ALTHOLD: Surface tracking improvements 2016-03-06 08:57:03 +02:00
Konstantin (DigitalEntity) Sharlaimov
ed5730fc63 NAV: New mode 'HOME RESET' to reset home position to current drone position 2016-03-06 07:31:49 +02:00
Konstantin (DigitalEntity) Sharlaimov
a8cc9a6be8 ALTHOLD: Remove use_midrc_for_althold. Now throttle center is always assumed as 'hover' 2016-03-05 21:00:29 +02:00
Konstantin (DigitalEntity) Sharlaimov
47b7816564 NAV: Don't allow position estimation if no valid heading. Fixes #88 2016-03-05 18:04:35 +02:00
Konstantin (DigitalEntity) Sharlaimov
60dc42360a MSP: Fix MSP_STATUS_EX size 2016-03-02 08:35:29 +02:00
3djc
ad8d88d156 Remove unecessary code
Recent OpenTX version do signal when telemetry data is updated with a blinking *, so there is no need anymore to have that misleading changing number when nothing is actually changing.

Signed-off-by: Konstantin Sharlaimov (DigitalEntity) <konstantin.sharlaimov@gmail.com>
2016-02-19 17:56:35 +10:00
borisbstyle
591c8870cd Fix sensors saturation by converting to int32_t 2016-02-19 14:09:57 +10:00
Konstantin Sharlaimov (DigitalEntity)
e78054bf60 Version bump 1.0.1, EEPROM bump 2016-02-17 22:57:24 +10:00
Konstantin Sharlaimov
7711fbbec6 Merge pull request #77 from iNavFlight/biquad-filter
Biquad filter (kudos @borisbstyle)
2016-02-17 22:40:19 +10:00
Konstantin Sharlaimov (DigitalEntity)
4ab11b6b3b SERVO: Fix servo lowpass filter initialisation 2016-02-17 22:39:08 +10:00
Konstantin Sharlaimov (DigitalEntity)
4ea49fc474 FILTER: Remove servo lowpass - replace by BiQuad; Remove battery lowpass - replace by PT1 2016-02-17 22:39:07 +10:00
Konstantin Sharlaimov (DigitalEntity)
11cc82cf41 FILTER: Replace FIR by BiQuad by @borisbstyle. First implementation. Kept PT1 filter as it's used in navigation
FILTER: BiQuad filter optimisations

FILTER: BiQuad filtering fix for REWRITE PID controller. Divide delta by dT before filtering to reduce delta noise caused by dT jitter and make things more correct from DSP point of view
2016-02-17 22:39:07 +10:00
Konstantin Sharlaimov (DigitalEntity)
852a452aca EMERG: Fix emergency landing in case when altitude sensor is unavailable 2016-02-17 17:00:44 +10:00
Konstantin Sharlaimov (DigitalEntity)
585c9ae26c GPS-UBLOX: Make sure each position frame is processed. Increase scheduling rate to reduce GPS jitter 2016-02-13 01:13:29 +10:00
Konstantin Sharlaimov (DigitalEntity)
d5df7a5f9d GPS: Fixed wrong units for EPV/EPH (were in mm, not are in cm). Remove debugging code 2016-02-01 22:40:07 +10:00
Konstantin Sharlaimov (DigitalEntity)
82905651c3 RMDO: Remove support for BMP085 and MS5611 (space issues) 2016-02-01 09:07:11 +10:00
Konstantin Sharlaimov (DigitalEntity)
754187bf8a BARO: Add support for all baros (BMP085, BMP280 and MS5611) to SPRACINGF3 and RMDO tarets 2016-01-31 21:12:07 +10:00
Konstantin Sharlaimov (DigitalEntity)
334a16ec74 MAG: Put back AK8975 for common targets 2016-01-31 20:49:13 +10:00
Konstantin Sharlaimov (DigitalEntity)
6e2bf4bbb3 LAND: Fixed the bug in sonar-assisted landing 2016-01-26 11:36:42 +10:00
Konstantin Sharlaimov (DigitalEntity)
63b7b401d4 GPS: Change defaults to LOW_G model; INAV: Disable usage of VELNED data by default 2016-01-24 21:45:21 +10:00
Konstantin Sharlaimov (DigitalEntity)
949340a0bf MSP: Box mode allowance bug fixed 2016-01-24 18:12:03 +10:00
Konstantin Sharlaimov (DigitalEntity)
15abca072a Version 1.0 bump 2016-01-23 11:37:52 +10:00
Konstantin Sharlaimov
57f0b4e5ee Merge pull request #67 from iNavFlight/inav-gps-rework
Protocol-independent GPS stack for iNav
2016-01-23 10:11:53 +09:00
Konstantin Sharlaimov (DigitalEntity)
388ab48fe9 GPS: Fix autobaud setting being ignored for Ublox GPS 2016-01-23 11:06:10 +10:00
Konstantin Sharlaimov (DigitalEntity)
555531ee29 GPS: Init delay, avoid feeding config data to GPS receiver too early 2016-01-23 00:25:44 +10:00
Konstantin Sharlaimov (DigitalEntity)
e70999b7f9 SPARKY: Fixed compilation bug 2016-01-22 23:24:55 +10:00
Konstantin Sharlaimov (DigitalEntity)
27c769888d INAV: Option to disable usage of GPS VelNED information; GPS: Disable GPS version detection - some NEO-7Ms seem to lack support of the PVT message 2016-01-22 23:24:54 +10:00
Konstantin Sharlaimov (DigitalEntity)
7c1680ff34 GPS: Configurable LOW_G (pedestrian) and HIGH_G (airborne>4g) GPS navigation model for Ublox. For NEO-6 this should do autoconfig in roughly the same way as original Cleanflight does 2016-01-22 23:24:54 +10:00
Konstantin Sharlaimov (DigitalEntity)
51f5f0a38e GPS: More NAV5 debug options for UBLOX 2016-01-22 23:24:53 +10:00
Konstantin Sharlaimov (DigitalEntity)
6ae2445cc7 GPS: NMEA No-fix issue solved 2016-01-22 23:24:53 +10:00
Konstantin Sharlaimov (DigitalEntity)
8b8060bae1 GPS: Switched from HDOP/VDOP to EPH/EPV values - absolute accuracy; Add logging of GPS EPH/EPV to blackbox; EPH/EPV values for NMEA and I2C-NAV boards are marked as invalid as they are not real accuracy values; GPS data processing code refactoring for simplicity 2016-01-22 23:24:52 +10:00
Konstantin Sharlaimov (DigitalEntity)
5f7cebb181 GPS: Code cleanups, small refactoring and stability fixes 2016-01-22 23:24:51 +10:00