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

3724 commits

Author SHA1 Message Date
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
Konstantin Sharlaimov (DigitalEntity)
2b2b4f61c6 GPS: Ublox autobaud semantics changed to make initialisation faster (original CF semantics) 2016-01-22 23:24:51 +10:00
Konstantin Sharlaimov (DigitalEntity)
79c17d1e7b GPS: Disable NAVX5 message for Ublox configuration 2016-01-22 23:24:50 +10:00
Konstantin Sharlaimov (DigitalEntity)
64cdcceee6 GPS: Config change - default to gps_provider=UBLOX, gps_auto_baud=ON; I2C-NAV driver polling rate fix; NEO-6, NEO-8, I2C-NAV GPS modules verified to work 2016-01-22 23:24:50 +10:00
Konstantin Sharlaimov (DigitalEntity)
a16047c37e GPS: Re-added FAKE_GPS for debugging and testing 2016-01-22 23:24:49 +10:00
Konstantin Sharlaimov (DigitalEntity)
b6329e823b GPS: Fix for GPS MAG detection for NAZA GPS when no port configured for GPS 2016-01-22 23:24:49 +10:00
Konstantin Sharlaimov (DigitalEntity)
79157a2fc8 GPS: Cleaner GPS initialisation batching - uses actual available TX buffer size now. uBlox version detection 250ms timeout (compatibility with older NEO-6M modules 2016-01-22 23:24:48 +10:00
Jonathan Hudson
3c776b041a added write batching for new scheduler 2016-01-22 23:24:47 +10:00
Sami Korhonen
8d980b2a56 Fix outputted GPS altitude 2016-01-22 23:24:47 +10:00
Sami Korhonen
80380c6b59 Switch navigation model to Airborne <4g for minimal filtering in GPS unit 2016-01-22 23:24:46 +10:00
Konstantin Sharlaimov (DigitalEntity)
0639891c21 GPS: Remove VelNE emulation - unpredictable and sometimes unacceptable delay 2016-01-22 23:24:46 +10:00
Konstantin Sharlaimov (DigitalEntity)
9b6feb727e GPS: Fix GPS autoconfig setting being ignored 2016-01-22 23:24:45 +10:00
Sami Korhonen
3dec211fe0 Final fix for ground_course 2016-01-22 23:24:45 +10:00
Sami Korhonen
f49be6a928 Fix nazagps mag 2016-01-22 23:24:44 +10:00
Konstantin Sharlaimov (DigitalEntity)
28672eb0c6 GPS: UBLOX version auto-detection and PVT message support from @Sambas. Some code refactoring. NAZA GPS support. 2016-01-22 23:24:44 +10:00
Konstantin Sharlaimov (DigitalEntity)
e07248787a GPS: Preliminary NAZA GPS support. Thanks to @Sambas. 2016-01-22 23:24:43 +10:00
Konstantin Sharlaimov (DigitalEntity)
d86df35e68 Recover quicker from a badly received / incorrect UBLOX payload size. Fix for possible UBLOX buffer overflow if payload size was received with errors. Thanks to @hydra for the code. 2016-01-22 23:24:42 +10:00
Konstantin Sharlaimov (DigitalEntity)
69cfbb04d2 GPS: Protocol-independent stack. UBLOX binary driver implementation. Autoconfig works. Autobaud works.
GPS: Native MAG support (for future NAZA GPS support), bugfixes

GPS: Supported GPS protocols on a per-target basis
2016-01-22 23:24:42 +10:00
Konstantin Sharlaimov (DigitalEntity)
a5628cc4a8 NAV: Fixed logging of target position 2016-01-22 23:22:02 +10:00
Konstantin Sharlaimov (DigitalEntity)
f38ec40748 HIL: Unused parameter removal in imuHILUpdate(). Closes #71 2016-01-18 10:40:12 +10:00
Konstantin Sharlaimov (DigitalEntity)
01e83e231f SPARKY: Enable NAV for the target. Fix display.c compilation bug when NAV is not defined. Closes #72 2016-01-18 10:37:04 +10:00
Konstantin Sharlaimov (DigitalEntity)
491d71fe32 CLI: Fix nav PIDs max values 2016-01-13 12:23:37 +10:00
Konstantin Sharlaimov (DigitalEntity)
4b7a4d7e2b MATH: Optimize MIN(), MAX() and ABS() implementation to avoid multiple evaluation. Generates smaller code too. Thanks to @ledvinap for sharing the code. 2016-01-12 23:01:41 +10:00
Konstantin Sharlaimov (DigitalEntity)
8535eab8f4 RTH: Sonar guard for landing. If surface distance < 50cm descent slow and gently touchdown. 2016-01-12 17:46:45 +10:00
Konstantin Sharlaimov (DigitalEntity)
6dc0235236 Removed navigation.c (leftover from merge with vanilla) 2016-01-11 17:44:48 +10:00
Konstantin Sharlaimov (DigitalEntity)
a7fc22c36f FAILSAFE: Fix for failsafe RTH when no GPS lock is available 2016-01-11 15:30:58 +10:00
Konstantin Sharlaimov (DigitalEntity)
054a9e63d5 SYSTEM: Increase startup delay from 100ms to 500ms to let hardware settle down after powerup 2016-01-03 22:16:24 +10:00
Jonathan Hudson
0f2c90c789 updated atomic.h for gcc 5 2016-01-03 13:40:03 +10:00
Konstantin Sharlaimov
05c3616034 Merge pull request #68 from iNavFlight/inav-scheduler
Flight-tested, working.
2016-01-03 13:24:50 +10:00
Konstantin Sharlaimov (DigitalEntity)
4e57d3979d NAV: FIR filter fixes (DC gain fixed). Removed ACCEL task - accel is now sampled at the same rate as gyro to avoid aliasing issues 2016-01-01 00:59:33 +10:00
Konstantin Sharlaimov (DigitalEntity)
1824eae9ad Revert "Bump config size to 4k for 128k targets."
This reverts commit d8ba4b4aa0.
2015-12-30 23:22:08 +10:00
Konstantin Sharlaimov (DigitalEntity)
c81be6e687 Cooperative task scheduler
Improved scheduling. Calculation of average tasks waiting. MSP_STATUS_EX message

Disallow arming if system load > 100 (waiting task count > 1)

Dont show inactive tasks in CLI

Realtime priority task and guard interval implementation

Dynamic guard interval. Bugfix for realtime scheduling hickups

Compile out CLI command help and CLI tasks command for CJMCU

Gyro sync busy-waiting implementation. Kudos to @borisbstyle for initial implementation
2015-12-30 23:21:56 +10:00
Konstantin Sharlaimov (DigitalEntity)
cddc0edafc LAND: Modify landing controller to descend last 5 meters at a slower speed 2015-12-30 15:03:44 +10:00
Konstantin Sharlaimov (DigitalEntity)
91ddde69cf IMU: Fix for GPS course usage. Now mathematically correct 2015-12-25 00:32:37 +10:00
Konstantin Sharlaimov (DigitalEntity)
67ece28af8 NAV: Updated config defaults. Looptime is now defaulted to 2000, gyro sync setup to have 2000 looptime if enabled. PosHold Expo added at level 30% 2015-12-24 16:39:09 +10:00
Konstantin Sharlaimov (DigitalEntity)
f026603d8b NAV: Fixed an option to compile out navigation while still having GPS for telemetry and OSD (home position, distance and bearing is calculated correctly) 2015-12-23 20:06:47 +10:00
Konstantin Sharlaimov (DigitalEntity)
dc3e84ea5b Merge branch 'master' into inav-dev
Conflicts:
	Makefile
	src/main/common/filter.c
	src/main/common/filter.h
	src/main/config/config.c
	src/main/config/config_master.h
	src/main/config/config_profile.h
	src/main/drivers/sonar_hcsr04.c
	src/main/flight/altitudehold.c
	src/main/flight/failsafe.c
	src/main/flight/failsafe.h
	src/main/flight/imu.c
	src/main/flight/imu.h
	src/main/flight/navigation.c
	src/main/flight/pid.c
	src/main/flight/pid.h
	src/main/io/rc_controls.c
	src/main/io/serial.c
	src/main/io/serial.h
	src/main/io/serial_cli.c
	src/main/mw.c
	src/main/sensors/sonar.c
	src/main/sensors/sonar.h
	src/main/target/NAZE/target.h
	src/main/telemetry/ltm.c
	src/test/Makefile
	src/test/unit/flight_imu_unittest.cc
	src/test/unit/navigation_unittest.cc
2015-12-23 14:19:33 +10:00
Dominic Clifton
79144e9689 Merge pull request #1498 from borisbstyle/gyro_sync_rework
Gyro Sync feature (Loop synced to Gyro)
2015-12-22 09:40:09 +01:00