Dominic Clifton
e40a3663d2
Remove failsafe vtable usage.
2015-03-09 23:19:21 +01:00
Dominic Clifton
60a95f1d22
Removing noise from unit tests.
2015-03-09 23:19:21 +01:00
Dominic Clifton
bce6c6722c
Merge branch 'port-changes' of https://github.com/ledvinap/cleanflight into ledvinap-port-changes
...
Conflicts:
src/main/blackbox/blackbox.c
src/main/io/serial.c
2015-03-09 22:23:04 +01:00
Damjan Adamic
517d38c94f
Re #316 : Battery voltage calculation converted to integer arithmetic, unit tests updated to account for proper rounding of voltage
...
Added frsky_hiprec_vfas configuration option that selects how VFAS is sent
Better arithmetics for FrSky CELL voltages, VFAS battery voltage send with other ID that allows 0.1V resolution
2015-03-09 20:43:04 +01:00
Dominic Clifton
9d0e464aaf
Updating unit tests to match roll/pid/yaw rate decoupling.
2015-03-08 00:51:29 +00:00
Dominic Clifton
a156d915f4
Only index into the configurable baud rate list when needed.
2015-03-03 17:30:35 +00:00
Dominic Clifton
dca984ff88
Merge branch 'master' into serial-cleanup
...
Conflicts:
src/main/telemetry/hott.c
2015-03-03 17:21:43 +00:00
Dominic Clifton
1a8500c768
Transition to new per-port & per-function baud rate configuration.
2015-02-27 01:05:37 +00:00
Dominic Clifton
b6509dd1eb
Merge branch 'master' into serial-cleanup
...
Conflicts:
src/main/blackbox/blackbox_io.c
src/main/config/config.c
2015-02-26 22:43:29 +00:00
Nicholas Sherlock
451d3d7ba2
Move zigzag encoding function to new common/encoding.c file, add tests
2015-02-26 13:27:09 +13:00
Petr Ledvina
737fbe02ed
Fix battery unittest
...
New code uses divition to get cell count, so nonzero vbatmaxcellvoltage is neccessary. Also added remaining fields to avoid future problems (and g++ doesn't support non-trivial initializers)
2015-02-23 09:18:51 +01:00
Pierre-A
39160a785a
to solve the unreference compiling issue
2015-02-22 17:49:01 +01:00
Dominic Clifton
9057d70410
Allow excluding of servo code at compilation time.
...
This is in preparation for backbox on CJMCU/64k.
Flight tested on CJMCU.
2015-02-22 16:21:03 +00:00
Dominic Clifton
5a15c3b271
Merge branch 'master' into fusterjj-lowpass
2015-02-22 15:24:11 +00:00
Dominic Clifton
774abcfab8
Update unit tests.
2015-02-22 14:56:15 +00:00
Dominic Clifton
a1b01807cf
Merge branch 'lowpass' of https://github.com/fusterjj/cleanflight into fusterjj-lowpass
...
Conflicts:
src/main/flight/mixer.c
2015-02-22 14:55:04 +00:00
Dominic Clifton
523980fc7b
Merge remote-tracking branch 'cleanflight/master' into serial-cleanup
2015-02-20 20:15:09 +00:00
Nicholas Sherlock
1bd091a031
Avoid reading uninitialised memory during battery unit tests
2015-02-17 22:50:10 +13:00
Dominic Clifton
6064a3d692
More serial port cleanup to get build passing.
2015-02-12 02:03:57 +00:00
Dominic Clifton
55cac2bdeb
Finally rename flight.c/.h to pid.c/.h. Cleanup some dependencies.
...
Relocate more code.
2015-02-01 00:39:38 +01:00
Joel Fuster
ec946ea7d5
Split filter into separate file for future reuse
2015-01-31 11:46:44 -05:00
Joel Fuster
4f0af41e79
Merge remote-tracking branch 'upstream/master' into lowpass
2015-01-31 10:47:39 -05:00
Dominic Clifton
d21a009d40
Change scale for I and D for inflight adjustments to PIDs of FP based
...
PID.
2015-01-30 22:09:36 +01:00
Dominic Clifton
2ac7282314
Use different scale for inflight adjustments to PIDs of FP based PID
...
controllers.
2015-01-30 21:46:23 +01:00
Dominic Clifton
f77a762b48
Allow inflight adjustments for floating-point based PID controllers.
2015-01-30 20:54:34 +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
f513016cc9
Fix battery unit test compilation.
2015-01-26 15:26:23 +01:00
Pierre Hugo
8d4f47ff35
Added tests for inclination angle.
2015-01-25 14:26:59 -08: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
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
Pierre Hugo
6a0d1b84f2
Add tests for the calculateHeading method of the IMU.
2015-01-23 23:31:43 -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
e58825288b
Make makefile return non zero exit code on test failure.
2015-01-23 21:50:29 -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
80b78fd808
Fixed flight_imu_test after including maths.
2015-01-21 19:29:45 -08:00
Dominic Clifton
30b928c0bc
Cleanup unit test compiler flags. Fix compiler warnings in unit test
...
and related code.
2015-01-14 15:09:29 +00:00
Dominic Clifton
bf88696847
Update unit tests to correctly use C/C++ where appropriate. Cleanup
...
makefile by using additional whitespace.
2015-01-14 14:24:34 +00:00
Joel Fuster
fd71e1ee93
Limit UT changes to those mixer-related
2015-01-04 22:32:11 -05:00
Joel Fuster
06ce23951b
Rename freq parameter; remove UT warnings
2015-01-04 22:15:09 -05:00
Joel Fuster
dc3271255c
More unit tests
2015-01-04 22:10:20 -05:00
Joel Fuster
de7fa3f31a
Fixed point passes initial unit test
2015-01-04 21:11:40 -05:00
Joel Fuster
11a9725605
Fixed point passes initial unit test
2015-01-04 21:11:28 -05:00
Joel Fuster
596da65a87
Interim dev checkin
2015-01-03 14:56:50 -05:00