Konstantin Sharlaimov (DigitalEntity)
5c045ba898
Configurable descent speed for RTH landing and EMERG landing
2015-12-11 16:27:41 +10:00
Konstantin Sharlaimov (DigitalEntity)
1ff38c5dbe
Code cleanups
2015-12-11 14:38:33 +10:00
Konstantin Sharlaimov (DigitalEntity)
be041c3642
Don't apply extra arming safety if no GPS-assisted modes are configured and failsafe is not set for RTH
2015-12-11 09:35:12 +10:00
Konstantin Sharlaimov (DigitalEntity)
b440041a2e
Support for relative altitudes in geoConvertGeodeticToLocal(). Fixes waypoint altitude issue
2015-12-10 15:28:39 +10:00
Jeremy Waters
3df86bfa38
enable gtune on naze (AFNA) target
2015-12-09 20:33:18 -05:00
Konstantin Sharlaimov (DigitalEntity)
a7721bb864
Bugfix in waypoint upload code
2015-12-09 16:55:10 +10:00
Konstantin Sharlaimov (DigitalEntity)
b8ea813a6c
Fake baro, fake mag, fake GPS for debugging on the bench on acro board
2015-12-09 16:04:37 +10:00
Konstantin Sharlaimov (DigitalEntity)
77b53404c3
GPS glitch detection fix. Logging GPS glitch status to blackbox
2015-12-08 23:03:36 +10:00
Konstantin Sharlaimov (DigitalEntity)
fb647b181e
Retarded arm cleanup. New option inav_gps_min_sats to control the min sat count to consider valid
2015-12-08 15:50:21 +10:00
Konstantin Sharlaimov (DigitalEntity)
93b89c189b
Disable retarded arm (complete cleanup pending)
2015-12-07 21:50:12 +10:00
Konstantin Sharlaimov (DigitalEntity)
c7c73e00c7
Make MOTOR_STOP have priority over AIRMODE
2015-12-07 21:42:13 +10:00
Konstantin Sharlaimov (DigitalEntity)
1e7b5f6ad4
Changed IDLE_UP to AIR_MODE. Does not include advanced mixer logic yet
2015-12-07 20:58:46 +10:00
Konstantin Sharlaimov (DigitalEntity)
da64c61d5f
Waypoint state logging
2015-12-07 14:17:35 +10:00
Konstantin Sharlaimov (DigitalEntity)
d99cfd8a88
Additional precaution for activating WP mode
2015-12-07 10:10:04 +10:00
Konstantin Sharlaimov (DigitalEntity)
b85a726537
HIL GPS fixes
2015-12-07 00:09:13 +10:00
Konstantin Sharlaimov (DigitalEntity)
53a7b98dbc
Fixed wing AH mode throttle control fix
2015-12-06 23:13:56 +10:00
Konstantin Sharlaimov (DigitalEntity)
a6248a4075
More generic GPS processing. Fixed wing PH modes should now activate correctly
2015-12-06 23:06:40 +10:00
Konstantin Sharlaimov (DigitalEntity)
334475be52
PH will now report 0 (no error) in MSP_NAV_STATUS
2015-12-06 12:37:36 +10:00
Konstantin Sharlaimov (DigitalEntity)
9d023cabb0
Fixed soft filter CLI lookup table
2015-12-06 12:36:35 +10:00
borisbstyle
a2fbf56493
IDLE UP switch // Remove pid_at_min_throttle
2015-12-05 18:57:51 +10:00
Konstantin Sharlaimov (DigitalEntity)
dfc2fcc722
Soft filtering CLI varibale lookup table added
2015-12-05 18:52:56 +10:00
Konstantin Sharlaimov (DigitalEntity)
a110665af1
Renamed some CLI variables for consistency. New names: nav_pos_hold_deadband, nav_alt_hold_deadband, nav_mc_min_fly_thr
2015-12-05 11:17:24 +10:00
Konstantin Sharlaimov (DigitalEntity)
660b8ce181
Fixed bug with mc_min_fly_throttle actually setting hover throttle
2015-12-05 10:30:12 +10:00
Konstantin Sharlaimov (DigitalEntity)
465de2738b
Fixed wing magHold bug fixed (MAG mode might be fighting navigation if used with PH on a fixed wing)
2015-12-05 10:30:09 +10:00
Konstantin Sharlaimov (DigitalEntity)
bd31dfce14
HIL support. When HIL is active hardware GPS updates are disabled, IMU disabled, BARO disabled, motor control disabled. MSP_SET_HIL_STATE message will setting acceleration data for pos estimator to work properly
2015-12-04 21:41:23 +10:00
Konstantin Sharlaimov (DigitalEntity)
024f8b2076
Fix for instant disarm on signal recovery when in FAILSAFE/RTH
2015-12-04 13:13:13 +10:00
Konstantin Sharlaimov (DigitalEntity)
5052d5cd1c
Configurable maximum banking angle for MC poshold controller. Min flyable throttle parameter for landing detection
2015-12-03 12:50:09 +10:00
Konstantin Sharlaimov (DigitalEntity)
738c3bdd62
Fixed incorrect IMU heading lock to GPS CoG for a fixed wing without magnetometer
2015-12-02 23:27:01 +10:00
Konstantin Sharlaimov (DigitalEntity)
8130be4772
Fixes and optimisations to FSM. Smoother transition from PH to RTH. Option to execute RTH tail first
2015-12-02 23:21:15 +10:00
Konstantin Sharlaimov (DigitalEntity)
cf8cab53f4
Remove MultiWii23 PID controller. Better LEVEL defaults for MultiWiiRewrite
2015-12-02 23:21:14 +10:00
Konstantin Sharlaimov (DigitalEntity)
490472a45b
LTM N-frame with extended navigation status. MultiWii-compatible MSP_NAV_STATUS message
2015-12-02 23:21:09 +10:00
Konstantin Sharlaimov (DigitalEntity)
069994bd92
Quaternion-based Mahony's DCM IMU (implementation by S. Madgwick)
...
Mag declination correction. Some cleanups
DCM code changes from @MauroMombelli, allow gyro-only operation when neither ACC nor MAG can be used (i.e. no MAG and ACC is saturated.
Replaced 'inclination' and 'heading' with 'attitude', converted all angles to decidegrees
Prevent magnetometer readings from affecting roll/pitch angles. Compass now affects only yaw axis and magnetic interference won't mess up attitude calculations
Ability to lock heading to GPS cource for airplanes
Allow faster acquisition by initial attitude by using higher DCM kP gain on powerup
Optimize magnetometer correction per @ledvinap suggestion. Better speed and less memory usage
Prevent acceleration from affecting accSmooth if acceleration magnitude is too high
Fixed incorrect GPS heading lock
2015-12-02 23:06:03 +10:00
Konstantin Sharlaimov (DigitalEntity)
5ef05268de
Waypoint code rework. Upload/download mission works. Waypoint actions RTH and WAYPOINT are supported (untested)
2015-12-01 17:02:58 +10:00
Konstantin Sharlaimov (DigitalEntity)
ce18dc94eb
Waypoint storage reworked - store raw waypoint data (MWP-compliant), convert to local coordinates as required
2015-12-01 10:35:51 +10:00
4712
57efb91d59
Changed disable beeper method.
...
Fix indentation level to 4.
Removed CLI support for 1wire pass through
2015-11-30 15:36:23 +01:00
Konstantin Sharlaimov (DigitalEntity)
fd28138535
Added posDecelerationTime (controlled by Pos I) to control braking strength
2015-11-30 20:14:30 +10:00
Konstantin Sharlaimov (DigitalEntity)
b40df56f16
Added GPS failure handling during RTH. Wait for 2 sec for GPS to get online again, if this does not happen, switch to emergency landing
2015-11-30 14:37:47 +10:00
Konstantin Sharlaimov (DigitalEntity)
43de844aca
Fix last waypoint issue
2015-11-30 10:49:21 +10:00
Konstantin Sharlaimov (DigitalEntity)
936df953eb
Fixed incorrect pitch direction for fixed-wing altitude controller
2015-11-30 09:28:37 +10:00
Dominic Clifton
d489508e93
Merge pull request #1509 from gkvirkvia/patch-1
...
PWM mode *is* usable with enabled uart, make it clear in docs
2015-11-28 21:12:29 +00:00
Dominic Clifton
0c82a7b927
Fix invalid values in cli error messages. Use 0 based index for 1wire,
...
now it is consistent with mmix. Replace typo in 1wire error message
with standard cli parse error message.
2015-11-28 14:35:20 +00:00
Dominic Clifton
12157bd791
Merge branch 'ledvinap-fix-303-i2c'
2015-11-28 14:17:49 +00:00
Dominic Clifton
b658df3a2e
Merge branch 'fix-303-i2c' of https://github.com/ledvinap/cleanflight into ledvinap-fix-303-i2c
2015-11-28 14:11:26 +00:00
Dominic Clifton
9add024327
Fix whitespace. Remove commented out code.
2015-11-28 14:09:12 +00:00
Dominic Clifton
bd460d18f7
Cleanup whitespace and store the reference to the timer hardware for
...
servos too. Add some consistency to the ordering of the code.
2015-11-28 14:09:11 +00:00
Dominic Clifton
b5bcb63264
Add 1wire support to the PORT103R development target.
2015-11-28 14:09:10 +00:00
4712
a2218ca918
Runtime ESC count / gpio / pin detection
...
Runtime ESC gpio/pin detection
Runtime ESC count detection
2015-11-28 14:09:09 +00:00
Dominic Clifton
fb3f27b161
Merge pull request #1494 from DreamNik/fix_led_strip_1
...
fix for LED strip initialization invalid memory write
2015-11-28 13:32:55 +00:00
Pierre-A
4f2ed7ff0a
fix wrong declaration for baro parameters in CLI
2015-11-28 13:29:23 +00:00
Dominic Clifton
50f3be3d19
Merge pull request #1518 from martinbudden/sonarcleanup
...
Sonarcleanup - replaced Sonar magic numbers with #defines. First cut of sonar test code.
2015-11-28 13:23:06 +00:00