Dominic Clifton
0456444cfb
Fix compilation of HoTT telemetry unit test.
2015-04-07 20:33:34 +01:00
Dominic Clifton
7d9fc2699a
Merge branch 'PA_update1' of git://github.com/Pierre-A/cleanflight into Pierre-A-PA_update1
...
Conflicts:
src/main/config/config.c
src/main/io/serial_cli.c
src/main/telemetry/hott.c
src/main/telemetry/telemetry.h
2015-04-07 20:33:03 +01:00
E Thomas
f02d7403af
Port of refactored beeper code 181_1
...
This the "Port of refactored beeper code #669 " modification applied to
version 1.8.1 (4/4/2015) of the code.
2015-04-04 17:54:44 -04:00
Dominic Clifton
b0b1eaf9c7
Add first unit test for some code in serial.c. Fix compiler warnings in
...
other tests.
2015-04-01 14:12:24 +01:00
Dominic Clifton
80a6507649
Merge branch 'VCM_motor_stop_fix' of git://github.com/pinkywafer/cleanflight into pinkywafer-VCM_motor_stop_fix
2015-03-30 19:29:40 +01:00
Dominic Clifton
507a022e90
Merge branch 'master' into serial-port-options
2015-03-26 01:32:06 +00:00
Dominic Clifton
4154afcb63
Adding a unit test for quad X motor mixers.
2015-03-21 11:30:03 +01:00
Nicholas Sherlock
159f57f583
Add new serial port options field (inversion, stop bits, etc)
2015-03-19 12:56:11 +13:00
Dominic Clifton
84c7c985ab
First unit test for tricoper servo mixer.
2015-03-19 00:23:57 +01:00
Dominic Clifton
03b1adb042
Add the more unit tests for the mixer.
...
Closes #16
2015-03-17 23:56:59 +01:00
Dominic Clifton
8e6570754c
Add the first unit test for the mixer.
...
See #16
2015-03-16 22:56:14 +01:00
Jenny
1ff8c177ce
Update battery_unittest.cc
...
additions for feature and calculateThrottleStatus
2015-03-16 15:03:46 +00:00
Dominic Clifton
d82fc6b9be
Merge pull request #477 from projectkk2glider/projectkk2glider/issue_316_frsky_voltages
...
Fixes #316 : better arithmetics for FrSky CELL voltages, VFAS battery vol...
2015-03-13 23:40:24 +01:00
Petr Ledvina
f1a0972002
Fix incorrect merge in battery_unittest
...
batteryConfig initialization was merged twice, removing one version
2015-03-10 08:32:36 +01:00
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