Commit Graph

2178 Commits

Author SHA1 Message Date
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
Marc Egli 99089b9e70 add new msp messages for voltage meter and enhance messages for current meter 2015-01-25 16:45:41 +01:00
Dominic Clifton 52f082fcd7 LedStrip - Add support for solid colors. Update default LED strip
configuration to include a ring.

Also includes documentation updates that were not updated when ring
support was added.
2015-01-25 16:21:38 +01:00
Marc Egli 0db1807fec fix the length of some msp messages 2015-01-25 16:17:35 +01:00
Dominic Clifton 6048a2ec57 Merge pull request #299 from GruffyPuffy/xbus_jr01
Suport for Align DMSS RJ01 remote receiver
2015-01-25 14:34:27 +01:00
Dominic Clifton 5760519a03 CC3D - Adding USB Virtual COM port suport.
You can now connect the configurator via the USB port.
2015-01-25 13:59:48 +01:00
Stefan Grufman 5c96d36442 Refactored the frame unpack to be used by both XBUS protocols. 2015-01-25 13:47:45 +01:00
Stefan Grufman 6376f9a8a8 Enabled the outer package CRC check. 2015-01-25 10:51:07 +01:00
tracernz 496d706097 Merge upstream
Conflict in src/main/sensors/battery.c from blackbox logging of
amperage. Merged changes in so that blackbox can log the current meter
ADC raw value.
2015-01-25 19:51:59 +13:00
tracernz 6868999d63 Set default current meter type
Current meter type added to resetBatteryConfig in config.c so it
defaults to ADC.
PWM mapping skips the current meter ADC pin only if used.
2015-01-25 19:35:18 +13:00
Pierre Hugo 363385c7cf Merge branch 'master' of github.com:cleanflight/cleanflight 2015-01-24 20:15:51 -08:00
Dominic Clifton 3916e5f2b5 Update ledstrip unit test to deal with recently added led color. 2015-01-25 01:36:30 +01:00
Dominic Clifton aaf308bbcd Fix compilation failure of altitude_hold_unittest 2015-01-25 01:35:57 +01:00
Dominic Clifton 6bf6ca4b29 Merge branch 'travis-test-two' of https://github.com/avoid3d/cleanflight into avoid3d-travis-test-two
Conflicts:
	src/test/Makefile
2015-01-25 01:35:39 +01:00
Dominic Clifton c93f0a71e1 Adding unit tests for constrain wih negative values since the constrain
method takes signed arguments.
2015-01-25 01:24:57 +01:00
Dominic Clifton 5f51f1a459 Merge branch 'math-test-clean' of https://github.com/avoid3d/cleanflight into avoid3d-math-test-clean 2015-01-25 01:08:51 +01:00
Dominic Clifton 9500fc2f33 Fix compiler error. 2015-01-25 01:07:38 +01:00
Dominic Clifton 22f80129f2 Update calculate heading comment (ledvinap). 2015-01-25 01:07:14 +01:00
Dominic Clifton 3fc7f32324 Merge branch 'imu-cleanup' of https://github.com/avoid3d/cleanflight into avoid3d-imu-cleanup 2015-01-25 01:00:14 +01:00
Dominic Clifton 1101c7f07d Merge pull request #414 from MJ666/Bootloader_fix
Fix bootloader mode for STM32F3 targets
2015-01-25 00:58:16 +01:00
Dominic Clifton 83748bac98 STM32F3 - Fix serial port constraints and functions when VCP is not
used.
2015-01-25 00:52:27 +01:00
Philippe-France ec7bcbe262 solution of issue 318 2015-01-24 15:08:51 +01:00
Stefan Grufman 12f45b4f04 Merge branch 'master' into xbus_jr01 2015-01-24 13:54:58 +01:00
Pierre Hugo 67a2d5cd75 Add test for calculate heading. 2015-01-23 23:31:43 -08:00
Pierre Hugo 6a0d1b84f2 Add tests for the calculateHeading method of the IMU. 2015-01-23 23:31:43 -08:00
Pierre Hugo f312636b9f Add comments suggesting moving throttle angle correction code into own module. 2015-01-23 23:31:43 -08:00
Pierre Hugo 8d994df457 Move code around to avoid forward declaration. 2015-01-23 23:31:43 -08:00
Pierre Hugo d691f72849 Moved configuring of IMU all into one function call. 2015-01-23 23:31:43 -08:00
Pierre Hugo 9b00f952cd Merge branch 'math-test-clean' of github.com:avoid3d/cleanflight into math-test-clean
Conflicts:
	src/test/Makefile
	src/test/unit/maths_unittest.cc
2015-01-23 22:46:28 -08:00
Pierre Hugo 33481c86d7 Fixed test dependencies. 2015-01-23 22:44:47 -08:00
Pierre Hugo 53c0a09b08 Implemented actual tests. 2015-01-23 22:40:14 -08:00
Pierre Hugo cfa4e19acd Added maths test.
Conflicts:
	src/test/Makefile
2015-01-23 22:40:14 -08:00
Pierre Hugo be03ed95fa Renamed min, max and abs macros to MIN MAX and ABS. 2015-01-23 22:40:00 -08:00
Pierre Hugo f8d0945ef1 Merge branch 'throttle-correction-comment' 2015-01-23 22:18:25 -08:00
Pierre Hugo 23243d6c3d Merge branch 'master' of github.com:avoid3d/cleanflight 2015-01-23 22:16:38 -08:00
Pierre Hugo 5f917f6b14 Added maths test.
Conflicts:
	src/test/Makefile
2015-01-23 22:08:45 -08:00
Pierre Hugo e58825288b Make makefile return non zero exit code on test failure. 2015-01-23 21:50:29 -08:00
Pierre Hugo 7fd6390252 Switched to running our new script in travis. 2015-01-23 16:53:40 -08:00
Pierre Hugo 3c4fcf918c Add an extra travis run which runs the tests. 2015-01-23 16:49:44 -08:00
Pierre Hugo 9a9cb0dbaa Make primative test runner script and skipped failing test for now. 2015-01-23 16:42:48 -08:00
Pierre Hugo 377f9dfc83 Introduced a 'run all tests' command to the makefile. 2015-01-23 16:37:42 -08:00
Pierre Hugo 861f5b6725 Switched to using cpp as the default language and specifying arm in the makefile. 2015-01-23 16:29:46 -08:00
Michael Jakob 6afa021d63 Fix bootloader mode for STM32F3 targets 2015-01-23 20:23:58 +01:00
Dominic Clifton 74e274c0a2 SPRACINGF3 - Fix linker script memory address. 2015-01-23 19:20:00 +01:00
Marc Egli bf86deed4c Add support for current sensors with a negative scale 2015-01-23 11:51:05 +01:00
Dominic Clifton 793f83c438 Remove commented out old code. 2015-01-23 02:13:36 +01:00
Dominic Clifton 839b8408ea Fix LED strip mask for LED ring function. 2015-01-23 01:18:32 +01:00