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
NightHawk32
05770f8f6b
Merge remote-tracking branch 'upstream/master'
2015-11-15 11:20:55 -05: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
DreamNik
f7d503ee3d
fix for LED strip initialization invalid memory write
2015-11-14 15:14:55 +04: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
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
Petr Ledvina
1979962029
Change I2C output type to OD
...
I2C OType should be set to OpenDrain (lib/main/STM32F30x_StdPeriph_Driver/src/stm32f30x_i2c.c#L31)
2015-11-06 11:38:57 +01: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
4712
9be5abf0d3
Fix 1wire pass through for F3 + target config changes
2015-11-04 14:30:25 +01:00
Pierre-A
8ecbd77578
Fix bug on Hott GPS speed
2015-11-02 09:47:30 +01:00
Dominic Clifton
f18936a472
Merge pull request #1431 from Echelon9/fix/issue-1430
...
Correct use of sizeof(data_element) rather than sizeof(pointer)
2015-11-01 10:19:32 +00:00
Moto Moto
bc69e827b5
Enabled SPEKTRUM_BIND for MOTOLAB
2015-10-31 15:00:14 -05:00
Dominic Clifton
d64ab08a96
Merge branch 'motolab-integration' of
...
https://github.com/MotoLab/cleanflight into MotoLab-motolab-integration
Conflicts:
src/main/target/MOTOLAB/target.h
2015-10-30 02:09:26 +00:00
Larry (TBS)
4eb366676a
- add defaults settings for COLIBRI RACE targets
2015-10-30 01:07:31 +00:00
Dominic Clifton
626f90808e
Disable GTune on CJMCU (flash size problems)
2015-10-30 00:49:10 +00:00
Dominic Clifton
c4a670b56a
Merge branch 'serial1wire-blheli-multiesc' of https://github.com/nathantsoi/cleanflight into nathantsoi-serial1wire-blheli-multiesc
...
Conflicts:
src/main/target/CC3D/target.h
2015-10-30 00:44:23 +00:00
Dominic Clifton
df5d805859
Keep rudder on the same servo output.
2015-10-30 00:37:43 +00:00
Konstantin Sharlaimov (DigitalEntity)
93300caeb8
Removed SERVO_FLAPS (not used anywhere through the code). Fixes broken servo mixer on CC3D/NAZE.
...
Re-added SERVO_FLAPS but moved to Out8
Unit-tests update
2015-10-29 23:44:43 +00:00
Dominic Clifton
165adfa755
Merge branch 'cc3d-tricopter-servo-fix' of https://github.com/fhorinek/cleanflight into fhorinek-cc3d-tricopter-servo-fix
...
Conflicts:
src/main/drivers/pwm_mapping.c
2015-10-29 23:41:53 +00:00
Dominic Clifton
46f6ff403e
Merge pull request #1436 from ProDrone/fix_waiting_for_data_problem
...
Fix for Waiting for data (in configurator) problem on F1 targets
2015-10-29 21:44:11 +00:00
Dominic Clifton
46ad479886
Merge pull request #1416 from lichtl/sparky-compass-fix
...
SPARKY - Correcting default compass alignment
2015-10-29 21:36:06 +00:00
Dominic Clifton
3a84885509
Merge pull request #1374 from ProDrone/improved_rx_failsafe_detection
...
RX - Improved RX failsafe detection & handling
2015-10-29 21:34:35 +00:00
Dominic Clifton
d252a796e5
Merge pull request #1419 from Pierre-A/fix_HottTelemetry_timing
...
Fix Hott telemetry timing issue
2015-10-29 21:31:37 +00:00
Read Error
4eb6581b76
Allow USART1 to be used for SERIAL_RX
2015-10-29 21:22:08 +00:00
Read Error
628bd6fb44
F3 ADC fix.
2015-10-29 21:22:06 +00:00
ProDrone
c40db74e61
Working - except when exiting from bootloader
...
Fixes the `Waiting for Data` problem in configurator when:
- Clicking on `Save and Reboot` button
- Clicking on `Flash Firmware` button
When the system reboots after programming the new firmware it still
needs a connect/disconnect cycle to work normal. This cannot be solved
since the bootloader is a fixed program in ROM.
Fix is for F1 targets and only tested on naze boards.
2015-10-27 20:09:59 +01:00
Echelon9
ec3a6b1cb6
Correct use of sizeof(data_element) rather than sizeof(pointer). Reported by cppcheck.
2015-10-25 10:45:11 +11:00
Pierre-A
5376dc4ce3
Fix Hott telemetry timing issue
2015-10-22 17:02:44 +02:00