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
Konstantin Sharlaimov (DigitalEntity)
552f313448
NAV: More generic code. FW: Rework pitch/roll/throttle correction processing code. Pitch compensation for roll now possible
2015-12-22 14:55:43 +10:00
Konstantin Sharlaimov (DigitalEntity)
309342931a
NAV: Instantly switch to emergency landing if RTH state entered without home fix (Failsafe RTH)
2015-12-22 10:58:21 +10:00
Konstantin Sharlaimov (DigitalEntity)
e321526a3f
NAV: Configurable position sensor timeout. Ability to disable emergency landing
2015-12-21 23:24:48 +10:00
Konstantin Sharlaimov (DigitalEntity)
c8b7e8ae74
NAV: Prevent switching to IDLE state on GPS loss - keep activated flight mode and give chance for EMERG controller to kick in. Emergency GPS timeout set to 5 seconds.
2015-12-21 19:46:50 +10:00
Konstantin Sharlaimov (DigitalEntity)
d26c8b0e01
WP: Per-waypoint speed setting
2015-12-21 15:03:08 +10:00
Konstantin Sharlaimov (DigitalEntity)
dad6c57463
FW: Make RTH override passthru mode
2015-12-21 12:29:34 +10:00
Konstantin Sharlaimov (DigitalEntity)
b049c85084
MC: Position controller expo (controlled by Pos D). Compiled out LEDSTRIP
2015-12-20 23:00:43 +10:00
Konstantin Sharlaimov (DigitalEntity)
7fa49462f1
FW: remove pitch/roll compensation - malfunctions, need to figure out how to make it work correctly
2015-12-20 21:22:01 +10:00
borisbstyle
10a96b0dfc
Gyro Sync feature (Loop synced to Gyro)
...
Remove double MPU_RA_PWR_MGMT_1
Looptime to Gyro refresh rate
disable 2khz when acc used for F3
Gyro sync code improvement
doc change
MPU6500 INT_STATUS support // MPU3500 dummy handling
Enable full 1khz sampling on F1 boards (no acc mode)
Add MPU3050 INT_STATUS
F1 target decreased max refresh
Configurable optione (sync_gyro_to_loop)
correction watchdog
correct filter
Coding style and cleanup code
Cli.md
Bump EEPROM version
MPU6050 MPU DATA READY Pin instead of i2c
Add more targets and corrections
correction to CC3D
ident
MPU6500 correction
INT_ENABLE MPU6500
add interrupt mpu6500
MPU6500 corrections from rebase
MPU6500 correct
Final fix to compile // ready for testing and review
MPU6000 / MPU3050 Corrections
Add CC3D extiConfig
add mpu6500
Fix intStatus position
fix returns
Add COLIBRI_RACE MPU INT
Change CLI name to gyro_sync
This is shorter typing and speaks for itself
Fix MotoLab After rebase
Add motolab
Full gyro Sync rework
Idents etc
Doc update
more corrections
Fix serial_cli
refactor // ident
GPL
single line
runloop refactor
2015-12-18 15:11:35 +01:00
NightHawk32
c1407a7bcb
MSP support for sensor alignment
2015-12-18 12:58:10 +01:00
Dominic Clifton
534b79236f
Replace MSP_SET_RC_CONTROLS with MSP_SET_RC_DEADBAND. The former was
...
too generic.
2015-12-18 12:57:59 +01:00
NightHawk32
25f7511e6b
added new MSP command for deadband, yaw deadband, .... content of rcControlsConfig_s
2015-12-18 12:57:49 +01:00
Dominic Clifton
cd609c5019
Merge branch 'TronskiFPV-patch-3'
2015-12-18 10:43:51 +01:00
TronskiFPV
e9e05773af
Update Controls.md
2015-12-18 10:43:39 +01:00
Martin Budden
dfe8b5640b
Fixed code so that it builds whether or not USE_SERVOS is defined.
2015-12-18 10:39:50 +01:00
Dominic Clifton
55e986e338
Merge pull request #1595 from digitalentity/quaternion-imu
...
IMU - fix uninitialized rawYawError on targets without GPS and in some other cases
2015-12-18 10:39:43 +01:00
Konstantin Sharlaimov (DigitalEntity)
9e1a69e230
Fix uninitialized rawYawError on targets without GPS and in some other cases
2015-12-18 19:15:45 +10:00
Dominic Clifton
6926c2057f
Merge pull request #1592 from digitalentity/flysky-ibus-receiver
...
FlySky i-Bus receiver CLI bug fixed
2015-12-18 10:09:08 +01:00
Dominic Clifton
98458b623d
Merge branch '4712-1wire_pass_through_optimize'
2015-12-18 10:08:11 +01:00
Dominic Clifton
14ade88ca9
Merge branch '1wire_pass_through_optimize' of https://github.com/4712/cleanflight into 4712-1wire_pass_through_optimize
2015-12-18 09:51:12 +01:00
Konstantin Sharlaimov (DigitalEntity)
e7a180816b
FlySky i-Bus receiver CLI bug fixed
2015-12-18 09:00:17 +10:00
Dominic Clifton
b380bb79be
Merge pull request #1500 from borisbstyle/gyro_filter_rework
...
Gyro Soft LPF Rework // Filter rework
2015-12-17 18:34:46 +01:00
Dominic Clifton
56102f52c4
Bump config version for changes in
...
1e6dfc925f7cc663b89f790bab97c9c239f699fd
2015-12-17 18:19:58 +01:00
Dominic Clifton
81a90dcb42
Merge pull request #1590 from ProDrone/safe_save_for_rxfail_values
...
MSP_SET_RXFAIL_CONFIG changed to allow more future RX channels
2015-12-17 18:12:25 +01:00
ProDrone
38686133c9
MSP_SET_RXFAIL_CONFIG changed to allows more future RX channels
2015-12-17 00:35:10 +01:00