Commit graph

2704 commits

Author SHA1 Message Date
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
Dominic Clifton
9fb1863d74 Update LED ring code to have the documented behavior.
The logic is greatly simplified compared to the code in the original
pull request.
2015-01-23 00:06:20 +01:00
Dominic Clifton
b50c5d9724 Simplify and cleanup led ring code.
This changes the behaviour, but since the effect is nice we'll mark it
with a commit.
2015-01-22 23:46:23 +01:00
Dominic Clifton
5a025b7164 Bump config version for LED color storage. 2015-01-22 22:58:08 +01:00
Dominic Clifton
8bdca1b38e Improve magic number use. 2015-01-22 22:57:34 +01:00
Dominic Clifton
ae752217c6 Avoid static use. Causes problems when the amount of LEDs in the ring
is odd.
2015-01-22 22:56:38 +01:00
Dominic Clifton
e7302a9e10 Update MSP to allow setting of LED colors. 2015-01-22 22:24:58 +01:00
St7ven
ddc7a39fa2 Add support for LED thrust ring. (St7ven)
This commit includes various fixed not included in the original pull request.
2015-01-22 22:20:00 +01:00
Dominic Clifton
d2536e3792 Ensure LED configuration is re-evaluated after changes to led
configuration are made via MSP.
2015-01-22 21:38:09 +01:00
Dominic Clifton
a2628c59d5 Cleanup whitespace. 2015-01-22 21:36:05 +01:00
Dominic Clifton
aadf6de5ae Merge branch 'ledOnOff' of https://github.com/chris-penny/cleanflight into chris-penny-ledOnOff 2015-01-22 20:10:21 +01:00
Dominic Clifton
e58f2948f3 STM32F3DISCOVERY - Updating L3GD20 alignment defaults. (MJ666) 2015-01-22 19:39:36 +01:00
Dominic Clifton
9eff8f1932 Adding CC3D OpenPilot bootloader build to travis. 2015-01-22 19:26:36 +01:00
Dominic Clifton
9e73dca591 CC3D - Use Flex port in I2C mode unless USART3 is used. Add I2C drivers
for compass, baro and display.
2015-01-22 19:19:43 +01:00
Dominic Clifton
ce0a93a5d8 Updating the git workflow notes (stronnag) 2015-01-22 18:06:09 +01:00
Dominic Clifton
71a61d2432 SPRACINGF3 - Use 128k flash. 2015-01-22 18:00:11 +01:00
Dominic Clifton
0a8d5c9390 Update CONTRIBUTING.md 2015-01-22 17:43:13 +01:00
Dominic Clifton
94fef71037 Merge pull request #396 from sherlockflight/master
Add PID and PID controller documentation
2015-01-22 09:45:19 +01:00
Dominic Clifton
2c6b55bf69 Merge pull request #406 from avoid3d/throttle-correction-comment
Throttle correction comment
2015-01-22 09:44:36 +01:00
Dominic Clifton
12a1cc5ffe Merge pull request #394 from ledvinap/feature-blackbox-amperage
blackbox - add amperageLatest logging
2015-01-22 09:44:12 +01:00
Pierre Hugo
616c40a827 Added clarifying comment and todo. 2015-01-21 19:44:01 -08:00
Pierre Hugo
29c5630957 Moved vectors, euler angles, rotation and normalization from imu to maths. 2015-01-21 19:42:06 -08:00
Pierre Hugo
919a8796e7 Switched configureIMU to consistant name. 2015-01-21 19:37:56 -08:00
Pierre Hugo
ab8b5efe2c Switched initIMU to consistant name. 2015-01-21 19:36:41 -08:00
Pierre Hugo
80b78fd808 Fixed flight_imu_test after including maths. 2015-01-21 19:29:45 -08:00