Andreas Antener
9a219da9c2
Refactored cross sphere line tracking and added a unittest to verify correct operation
2016-10-10 23:05:44 +02:00
Julian Oes
8ff237c69f
Remove size optimization for individual modules
...
It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
2016-09-30 08:11:51 +02:00
Lorenz Meier
cf671b5134
Fix tests and re-introduce tests into build
...
Code style fix
2016-09-27 11:56:49 +02:00
Lorenz Meier
f511d49cc2
Improvements to SITL to make paths more flexible. ( #5181 ) ( #5255 )
...
* Path cleanup for SITL.
* Restructured sitl scripts dir.
* Set integration tests to use ekf2 for vtol.
* Fix sitl paths for mac.
2016-08-25 21:47:45 +02:00
Lorenz Meier
7579ebf4e8
Fix failing mac test
2016-08-19 22:19:05 +02:00
James Goppert
818840b576
Path cleanup, low impact changes ( #5340 )
...
* Low impact changes from path_cleanup branch.
This is a step towards minimizing the diff with path_cleanup branch.
* Update ecl.
* Revert matrix update.
* Revert ecl and matrix.
* Update sitl gazebo.
* Revert sitl_gazebo and matrix changes.
2016-08-18 15:37:23 -04:00
Lorenz Meier
a52d0ca00a
Remove hysteresis tests on Mac OS
2016-08-12 13:53:02 +02:00
Daniel Agar
12a5ce7a0a
temporarily disable uorb test on OSX ( #5280 )
2016-08-08 20:59:24 -04:00
Lorenz Meier
e24d18f810
Hysteresis test: Relax time for all tests for OS X CI system
2016-08-07 14:05:03 +02:00
Lorenz Meier
ead8e31de4
Hysteresis test: Fix for Mac OS CI
2016-08-07 14:05:03 +02:00
Lorenz Meier
7b5917567a
Fix Mixer test for OS X
2016-08-07 14:05:03 +02:00
Lorenz Meier
102f5b54d7
Revert "Improvements to SITL to make paths more flexible. ( #5181 )"
...
This reverts commit 699b6a2cb3 .
2016-08-05 21:29:49 +02:00
James Goppert
699b6a2cb3
Improvements to SITL to make paths more flexible. ( #5181 )
2016-08-05 06:23:59 -04:00
Julian Oes
0d80a77e46
unit_tests: move hysteresis test to new framework
2016-07-30 12:26:56 +02:00
Lorenz Meier
6ab9dc0acf
Testing cleanup from Daniel Agar
2016-07-29 13:49:14 +02:00
Lucas De Marchi
18330f7ab7
Move __STDC_FORMAT_MACROS to build system
...
__STDC_FORMAT_MACROS changes the behavior of inttypes.h to allow
defining format macros for printf-like functions. It needs to be defined
before any include is done, otherwise due to include chains and header
guards it may not take effect.
Instead of having to define it everywhere it is used, move the define to the
build system. Also update ecl and DriverFramework submodules to deal with the
changed definitions.
2016-07-10 16:31:36 +02:00
Lorenz Meier
7398164fcc
Updated PX4 use / API of low level GPIO and other hardware-centric system facilities
2016-05-28 14:56:17 +02:00
Daniel Agar
7cf8b3ea1b
sync posix_sitl_default and posix_sitl_test
2016-05-19 21:49:34 +02:00
Daniel Agar
2487dbfc92
remove Wpacked and cleanup unused warning flags
2016-05-19 21:49:34 +02:00
Beat Küng
cf667dedb8
tests: increase stack size from 8000 to 9000
...
clang failed with:
../src/systemcmds/tests/test_mathlib.cpp:56:5: fatal error: stack frame
size of 7400 bytes in function 'test_mathlib' [-Wframe-larger-than=]
int test_mathlib(int argc, char *argv[])
2016-05-14 11:27:07 +02:00
Daniel Agar
008354f935
testing cleanup
2016-05-13 13:01:41 +02:00
Daniel Agar
39d388051a
WIP posix_sitl_test
2016-05-13 13:01:41 +02:00
Daniel Agar
2bc74fd5d9
restore px4fmu-v2_test
2016-05-13 13:01:41 +02:00
Lorenz Meier
20a59b8886
Fix mixer testing setup
2016-04-17 18:53:50 +02:00
James Goppert
967e4dd127
Modified cmake to use STACK_MAX and STACK_MAIN
2016-04-14 13:36:36 -04:00
Daniel Agar
5843acecc4
fix mixer_test
2016-04-13 22:16:16 -04:00
Daniel Agar
ca4dfb5643
mixer_test change count to 4
2016-03-14 09:15:02 +01:00
Daniel Agar
20ec9965ea
mixer_test be less verbose so we can see the failure
2016-03-14 09:15:02 +01:00
Lorenz Meier
e11fff3011
Fix tests stack space
2016-01-26 12:58:17 +01:00
Stefan
8701e0ba78
Update test_mathlib.cpp
...
spelling mistakes
2016-01-11 08:37:43 +01:00
Stefan
b274a3f6d1
Update test_eigen.cpp
...
spelling mistakes
2016-01-11 08:37:43 +01:00
Lorenz Meier
a3b1605782
Fix usage of PWM defines in test command
2015-12-16 16:38:41 +00:00
Lorenz Meier
73e26804da
Fix HRT tests
2015-12-04 23:20:31 +01:00
Lorenz Meier
bb2d3a36b7
Remove old build system artifact
2015-11-28 09:13:15 +01:00
Lorenz Meier
05840535f1
Fix math tests
2015-11-28 09:13:15 +01:00
Mark Charlebois
bc2ea895ea
renamed test_param.c test_params.c
...
Changed name to match search pattern *params.h
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-10-10 01:22:35 -07:00
James Goppert
2a60ffd554
Added stdc_format_macros for all inttypes.h includes.
2015-09-24 17:44:27 -04:00
Lorenz Meier
3599b577df
Tests: Move to semaphore abstraction
2015-09-20 00:29:38 +02:00
James Goppert
676a3d230c
Work on px4io firmware building.
2015-09-13 23:20:00 -04:00
James Goppert
1d6b31d196
Switch to cmake build system.
2015-09-07 20:37:45 -04:00
Daniel Agar
2fdbdd15ec
format src/systemcmds/tests
2015-09-05 12:21:12 -04:00
TSC21
2afa499c66
test_eigen: correct some issues regarding type casts on POSIX build
2015-08-17 00:57:57 +02:00
TSC21
c5dfff1e6f
test_eigen: reformulate and enhance eigen math tests on firmware
2015-08-17 00:57:57 +02:00
Lorenz Meier
90ecc942ce
WIP: Debugging of the Eigen quaternion tests. A bunch of the issues were incomplete porting, but the assertion is real.
2015-08-17 00:57:57 +02:00
Lorenz Meier
1d3a5ec350
System cmds: Include cmath before eigen to make std::isfinite available. This needs further inspection
2015-08-14 18:37:00 +01:00
Lorenz Meier
2a8402edb1
Merged beta into master
2015-07-09 15:55:31 +02:00
Lorenz Meier
eecddbcab9
Tests: Reset mixer inputs
2015-07-06 12:08:31 +02:00
Lorenz Meier
c9fe205db1
Mixer test: Add routine to test pre-arming
2015-07-06 12:08:31 +02:00
Mark Charlebois
2ea82548a4
Change fabsf() to abs for int arg
...
Clang complains that fabsf() is being used for an int arg. Use abs() instead.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-07-02 01:06:26 -07:00
Lorenz Meier
86d70a1e9e
Merge pull request #2512 from mcharleb/tests-posix-clang-fix-2
...
POSIX: do not error on stack size warning
2015-07-02 09:14:25 +02:00