Commit Graph

1947 Commits

Author SHA1 Message Date
Dominic Clifton 104a263533 Cleanup code style in Harakiri PID controller merge. 2015-01-29 17:02:10 +01:00
Dominic Clifton 2c2ef14fa9 Merge pull request #432 from MJ666/Harakiri_PID
Harakiri PID controller
2015-01-29 16:51:34 +01:00
Dominic Clifton 50428f2dcc Change MSP_SONAR_ALTITUDE to be in the range used for cleanflight
original commands.

See
https://code.google.com/p/multiwii/source/browse/trunk/MultiWii_shared/Protocol.cpp#18
2015-01-29 15:23:38 +01:00
Krzysztof Rosinski 34cd8f466e MSP command for sonar altitude 2015-01-29 15:17:15 +01:00
Dominic Clifton be8c6a23d9 Merge pull request #441 from ledvinap/feature-negative-current-meter
Send current meter reading as signed value
2015-01-29 15:12:26 +01:00
Dominic Clifton 718f4322d5 Merge pull request #421 from Philippe-France/issue-318
Detect failsafe for receivers that output a logic HIGH on signal loss.
2015-01-29 15:11:08 +01:00
Petr Ledvina bf1bc864ae Send current meter reading as signed value
Use signed value normally, truncate to 0-0xffff when multiwiiCurrentMeterOutput is active
2015-01-28 17:28:32 +01:00
Michael Jakob 25676e944a Update PID controller documentation 2015-01-28 15:21:24 +01:00
Michael Jakob 56176abe66 Fix potential overflow. 2015-01-28 13:26:53 +01:00
Michael Jakob 124ae1f590 Finalize Blackbox yaw output for Harakiri PID controller
Minor code updates and cleanup
Documentation update
2015-01-28 13:26:53 +01:00
Michael Jakob db8d539cbb Another documentation upddate for the Harakiri PID controller 2015-01-28 13:26:52 +01:00
Michael Jakob a5c3c26686 Fix problem for non GPS targets and add code for autotuning 2015-01-28 13:26:52 +01:00
Michael Jakob ef749e822a Harakiri PID controller code cleanup and documentation 2015-01-28 13:26:51 +01:00
Michael Jakob b4803697d2 Initial port of Harakiri PID controller
some of the settings are hardcoded
2015-01-28 13:26:51 +01:00
Dominic Clifton db1c5d8ac4 Updating PID controller documentation 2015-01-28 13:21:22 +01:00
Nicholas Sherlock e134574c81 Fix bug in logging of currentMeter header 2015-01-28 20:43:25 +13:00
Nicholas Sherlock 0624eb5067 Refactor blackbox IO routines out into separate file 2015-01-28 20:42:51 +13:00
Dominic Clifton b8b248827c Bump config version for new servoCenterPulse setting. 2015-01-27 23:32:45 +01:00
Dominic Clifton bcedbd77fb Adding a FIXME regarding changing serialrx_provider at runtime. 2015-01-27 23:18:05 +01:00
Dominic Clifton a2b232e805 Detach midrc (input) from servo center (output).
This fixes incorrect servo center position when midrc was not 1500.
Most likely only experienced by futaba plane or servo/tilt users.
2015-01-27 23:04:41 +01:00
Dominic Clifton f4ec9a2c65 CC3D - Updating docs with reference to VCP support. 2015-01-27 22:20:28 +01:00
Dominic Clifton 90b012bc06 Merge pull request #424 from avoid3d/test-inclination-angle
Test inclination angle
2015-01-27 01:09:05 +01:00
Dominic Clifton 5f0762c62d Merge pull request #430 from MJ666/MultiWII_PID_documentation
PID contoller documentation update (MultiWii23 and MultiWiiHybrid)
2015-01-27 00:57:07 +01:00
Nicholas Sherlock 8824f708e0 Fix blackbox logging of PIDs in new PID controllers 2015-01-27 11:27:08 +13:00
Michael Jakob cc65a44624 Minor documentation fix 2015-01-26 19:37:00 +01:00
Michael Jakob 704a431070 PID contoller documentation update (MultiWii23 and MultiWiiHybrid) 2015-01-26 19:26:44 +01:00
Michael Jakob 396731a428 Intitial support for ALIENWIIF3 target 2015-01-26 18:33:47 +01:00
Dominic Clifton 153f6483e2 Merge pull request #429 from MJ666/MultiWii_PID_32
MultiWi 2.3 PID controller port
2015-01-26 18:14:16 +01:00
Michael Jakob cf8338d95b Fix Blackbox recording of alternative PID controllers 2015-01-26 18:00:07 +01:00
Dominic Clifton 7bd98e557a Add current_meter_type into the new MSP command. 2015-01-26 15:34:34 +01:00
Dominic Clifton cd9dcd9ac7 Set executable flag on .travis.sh 2015-01-26 15:27:11 +01:00
Dominic Clifton f513016cc9 Fix battery unit test compilation. 2015-01-26 15:26:23 +01:00
Dominic Clifton 9ffe8779d7 Merge branch 'virtualcurrent' of https://github.com/tracernz/cleanflight into tracernz-virtualcurrent 2015-01-26 15:21:42 +01:00
Dominic Clifton 5d1fdaed6e Merge pull request #425 from frog32/change-current-meter
Change current meter msp command
2015-01-26 15:17:36 +01:00
Dominic Clifton 4f531296a2 Merge pull request #413 from frog32/feature-negative-currentsensors
Add support for current sensors with a negative scale
2015-01-26 15:14:51 +01:00
Dominic Clifton 3555b6b79b Merge pull request #427 from sherlockflight/master
Fix bug that allowed arming craft before gyro calibration completed
2015-01-26 15:11:33 +01:00
Nicholas Sherlock 5bc4693b7d Merge remote-tracking branch 'origin/master' 2015-01-27 01:43:48 +13:00
Nicholas Sherlock 9708c00a2e Blackbox: make logging of autotune events more detailed 2015-01-27 01:43:13 +13:00
Dominic Clifton a810df4228 Fix stale comment in autotune. 2015-01-26 10:17:02 +01:00
Michael Jakob 4e0059ce4c Fix MIN, MAX and ABS in the PID controllers 2015-01-26 07:55:39 +01:00
Michael Jakob 029945fbba Fix motorCount issue for PID controllers 2015-01-26 07:55:39 +01:00
Michael Jakob 97b4b786d1 Remove yaw gyro scale for AlienWii 32 target, additional PID controllers
BLACKBOX support
2015-01-26 07:55:38 +01:00
Michael Jakob 190e4c328d Required updates after rebase 2015-01-26 07:55:38 +01:00
Michael Jakob c3cc92415d Fix gyroData[axis] scaling 2015-01-26 07:55:38 +01:00
Michael Jakob dda5c2ccb7 Cleanup code and implement Hybrid MultiWii PID controller
Roll and pitch is using 2.2 algorithm
Yaw is using 2.3 algorithm
2015-01-26 07:55:37 +01:00
Michael Jakob 48161a31ca MultiWii 2.3 PID controller
will be activated with set pid_controller = 3
2015-01-26 07:55:37 +01:00
Nicholas Sherlock ec3d85ae92 Fix bug that allowed arming craft before gyro calibration completed 2015-01-26 16:56:23 +13:00
Dominic Clifton febf80915f Remove duplicated logic in autotune overshot detection and blackblox
logging.  Also allowed comments to be deleted.
2015-01-26 00:26:40 +01:00
Dominic Clifton 0590a6e3af Fixing transposed variable names (acceleroto) 2015-01-26 00:23:01 +01:00
Pierre Hugo 8d4f47ff35 Added tests for inclination angle. 2015-01-25 14:26:59 -08:00