Konstantin Sharlaimov (DigitalEntity)
03bfb70a15
Remove unused filterWithBuffer code. Not useful anymore as inertial filter alone calculate velocity with sufficient accuracy
2015-11-25 22:56:57 +10:00
Konstantin Sharlaimov (DigitalEntity)
4dbd985046
GPS glitch detection fixes. Keep glitch detection disabled for the moment
2015-11-25 21:50:35 +10:00
Konstantin Sharlaimov (DigitalEntity)
6afd3741b2
Surface sensor (SONAR) assisted landing detection
2015-11-25 16:50:11 +10:00
Konstantin Sharlaimov (DigitalEntity)
6850fe324f
RTH on failsafe can now be set via CLI. Disabled RC input when executing failsafe RTH.
2015-11-25 16:28:43 +10:00
Konstantin Sharlaimov (DigitalEntity)
ed0f85c41b
Fix CLI parameter declaration for baro and PIDs
2015-11-25 15:03:54 +10:00
Konstantin Sharlaimov (DigitalEntity)
68abea6a04
Allow I2C GPS to be selected in CLI
2015-11-25 15:00:26 +10:00
Konstantin Sharlaimov (DigitalEntity)
ccf318003e
Fixed a bug with NAV_FSM_EVENT_TIMEOUT event never being executed by FSM
2015-11-24 17:34:42 +10:00
Konstantin Sharlaimov (DigitalEntity)
e33dda884d
Fix a bug in RTH altitude calculation. Bug is observed as RTH never finishing the CLIMB stage
2015-11-24 14:58:21 +10:00
Konstantin Sharlaimov (DigitalEntity)
5e2a537d8c
Disable GPS glitch detection. Reason: doesn't work as expected. Needs debugging
2015-11-23 10:24:08 +10:00
Konstantin Sharlaimov (DigitalEntity)
0fa3a4d18f
Setting magzero_* variables from CLI now sets the MAG_CALIBRATION_DONE persistent flag
2015-11-21 23:10:25 +10:00
Konstantin Sharlaimov (DigitalEntity)
c7e252aa8e
Fix for NAV AH not functional without GPS
2015-11-21 10:46:16 +10:00
Konstantin Sharlaimov (DigitalEntity)
8fb4107d12
Fixes for bugs introduced during merge with vanilla
2015-11-19 10:26:11 +10:00
Konstantin Sharlaimov (DigitalEntity)
0f417d5246
Kalman filter for sonar readings. Provides surface rate velocity (currently unused)
2015-11-18 16:58:20 +10:00
Konstantin Sharlaimov (DigitalEntity)
fb5c13fefa
Disabled baro climb rate calculation. Saves some code space. Need to investigate if this gives more variance in AH mode
2015-11-18 16:58:13 +10:00
Konstantin Sharlaimov (DigitalEntity)
0fbb691656
Disabled BMA280 and MMA8452 (code size issues)
2015-11-18 16:58:04 +10:00
Konstantin Sharlaimov (DigitalEntity)
b376eca7b4
LTM compatibility with NAV-REWRITE and DCM IMU
2015-11-18 16:57:41 +10:00
Jonathan Hudson
83a497ab05
Squashed commit for LTM telemetry implementation by @stronnag
2015-11-18 16:57:22 +10:00
digitalentity
34046169c7
An implenentaion of nav-rewrite (squashed commit, November 17th).
...
Automatic magnetic declination from GPS coordinates (approximate to 1-2 degrees) (disabled)
Accelerometer bias compensation
Quaternion-based Mahony's DCM IMU (implementation by S. Madgwick)
Ability to lock heading to GPS cource for airplanes
Faster acquisition by initial attitude by using higher DCM kP gain on powerup
Changes to mag calibration algorithm (@HaukeRa's code). Compass calibration now independent from align_mag.
Changed acc calibration to proper 3-axis offset calculation code (same code as for mag). Changed board alignment angles to decidegrees (configurator incompatibility). Removed accelerometer trims (values passed thru MSP are ignored). Accel trim stick combo now adjusts board alignment directly (real-time, without reboot). Removed inflight acc calibration.
FIR filter implementation for different looptimes. Option gyro_cut_hz replaced with gyro_fir_enable (default gyro_soft_filter=3 preset - a very pessimistic filter with fairly large delay but low cutoff frequency for large or very noisy copters)
iNav-related PIDs renamed in CLI to avoid re-usage of old values when restoring config dumps.
PID with back-calculation and I-term anti-windup. Smarter max acceleration and jerk limiting
Initial support for airplane navigation. ALTHOLD, POSHOLD (circular loiter around the waypoint) and RTH should work. UNTESTED! RTH altitude probably needs some work. Autolanding will NOT function at the moment - the AUTOLAND phase will never complete. Absolutely no throttle control at the moment (fully manual control).
Increase delay for bmp085 baro detection. Resolves an issue with bmp085 not being detected sometimes on powerup
Fixed the missing checks for MIXER_CUSTOM_AIRPLANE
Lots of small fixes
2015-11-17 15:19:46 +10:00
digitalentity
1a8657c7b7
An implementation of i2c gps support. i2c-nav driver ported from multiwii code.
...
Features I2C-GPS autodetection. No need to set gps_provider. If no serial port selected for GPS, feature GPS enabled and I2C GPS connected and detected, gps_provider will automatically be set to '2'
2015-11-17 14:16:45 +10:00
Dominic Clifton
f632a5048d
Enable GTune by default on CJMCU again (due to other code size reductions).
2015-11-16 21:51:12 +00:00
Dominic Clifton
cbbc0aca67
Merge pull request #1483 from NightHawk32/master
...
Added 3D configuration parameters to the MSP, so they can be changed …
2015-11-16 21:42:55 +00:00
NightHawk32
05770f8f6b
Merge remote-tracking branch 'upstream/master'
2015-11-15 11:20:55 -05:00
Dominic Clifton
80da784006
Merge branch 'borisbstyle-filter_extend'
2015-11-14 22:31:47 +00:00
Dominic Clifton
e7a87c466b
Merge branch 'filter_extend' of
...
https://github.com/borisbstyle/betaflight into borisbstyle-filter_extend
Conflicts:
src/main/flight/pid.c
src/main/io/serial_cli.c
src/main/mw.c
2015-11-14 22:31:29 +00:00
Dominic Clifton
df7d4be263
Ignore leading whitespace when setting values by name,
...
Previously this didn't work:
`set blackbox_device = SPIFLASH`
Users had to type in:
`set blackbox_device =SPIFLASH`
2015-11-14 16:35:42 +00:00
Dominic Clifton
2d73a74802
Enable Blackbox on CC3D by default since all CC3D's have a flash chip.
2015-11-14 16:15:40 +00:00
Dominic Clifton
f67cb01e65
Configure blackbox device via named valie (SERIAL
/ SPIFLASH
)
2015-11-14 16:15:39 +00:00
Dominic Clifton
fc2f44c029
Merge pull request #1079 from borisbstyle/mag_hold_dead
...
Decreased MAG_HOLD deadband to 15
2015-11-14 13:38:55 +00:00
Dominic Clifton
4dfad9d2c8
Further documentation cleanups.
2015-11-14 02:56:51 +00:00
Dominic Clifton
3c57c3c778
Update CLI docs.
2015-11-14 02:54:04 +00:00
Dominic Clifton
9e99e531f6
Update pin controller documentation - remove numeric references.
2015-11-14 02:52:07 +00:00
Dominic Clifton
f66094ed51
Restore yaw_p_limit which was removed in error in
...
e347e7d4bf
2015-11-14 02:51:34 +00:00
Dominic Clifton
bf8daea1b9
Cleanup names of pid controllers.
2015-11-14 00:30:41 +00:00
Dominic Clifton
fd62dc53fb
Bump API version.
2015-11-14 00:30:37 +00:00
Dominic Clifton
ecbc0cd915
Merge branch 'cli-named-values'
...
Conflicts:
src/main/io/serial_cli.c
2015-11-13 23:54:32 +00:00
Dominic Clifton
e58595fcb8
Remove configuration of pid controller via name.
...
Makes merging of #1488 easier.
2015-11-13 23:44:25 +00:00
Dominic Clifton
fb85e7f08a
Merge pull request #1012 from borisbstyle/pidCleanup
...
PID controllers cleanup (less pid controllers)
2015-11-13 23:30:40 +00:00
Dominic Clifton
238b3c3cea
Support get/set configuration values by name.
...
e.g. ON/OFF instead of 1/0.
2015-11-13 22:30:37 +00:00
Dominic Clifton
9a15aa14f7
Merge pull request #1487 from borisbstyle/lux_defaults
...
Luxfloat defaults
2015-11-13 22:08:16 +00:00
borisbstyle
a1c72967ec
Luxfloat defaults
2015-11-13 21:33:38 +01:00
borisbstyle
e347e7d4bf
PID Controller Cleanup
...
Documentation Draft
add cli names
Cli name adaption
cli set numeric and string
correct names
change
Only PID1 and PID2
Add PID3
2015-11-13 21:31:18 +01:00
Dominic Clifton
48f8fc3912
Merge pull request #1158 from borisbstyle/tpa_iterm_pid1
...
Remove TPA from Iterm PID1
2015-11-13 19:09:23 +00:00
Dominic Clifton
a8b91b8fc1
Merge branch 'borisbstyle-i2c_overclock'
2015-11-13 19:02:14 +00:00
NightHawk32
ddca6b81cc
Added 3D configuration parameters to the MSP, so they can be changed in the configuration tab of the chrome app
2015-11-11 15:20:01 -05:00
borisbstyle
9da66d5005
I2C Overclock Feature
...
This speeds up IMU speed significantly.
F1 Targets like NAZE Looptime of ~900 is possible
F3 Targets like SPRACINGF3 looptime of 370 is posible
2015-11-10 01:02:32 +01:00
borisbstyle
bc0a30780f
Remove TPA from Iterm PID1
2015-11-09 23:31:05 +01:00
Dominic Clifton
83109dbf17
Merge pull request #1399 from JamesHarrison/gpspassthrough-power-docs
...
Add mention of power requirements for gpassthrough
2015-11-04 20:19:02 +00:00
Dominic Clifton
b63c5a648c
Merge pull request #1463 from Pierre-A/fix_Hott_GPSspeed
...
Fix bug on Hott GPS speed
2015-11-04 19:59:08 +00:00
Dominic Clifton
ba6644f784
Merge pull request #1465 from 4712/master
...
Fix 1wire pass through for F3 + target config changes
2015-11-04 19:57:10 +00:00
4712
9be5abf0d3
Fix 1wire pass through for F3 + target config changes
2015-11-04 14:30:25 +01:00