Commit Graph

28 Commits

Author SHA1 Message Date
Beat Küng 3198610f85 src/platforms: move all headers to platforms/common/include/px4_platform_common
and remove the px4_ prefix, except for px4_config.h.

command to update includes:
for k in app.h atomic.h cli.h console_buffer.h defines.h getopt.h i2c.h init.h log.h micro_hal.h module.h module_params.h param.h param_macros.h posix.h sem.h sem.hpp shmem.h shutdown.h tasks.h time.h workqueue.h; do for i in $(grep -rl 'include <px4_'$k src platforms boards); do sed -i 's/#include <px4_'$k'/#include <px4_platform_common\/'$k/ $i; done; done
for in $(grep -rl 'include <px4_config.h' src platforms boards); do sed -i 's/#include <px4_config.h/#include <px4_platform_common\/px4_config.h'/ $i; done

Transitional headers for submodules are added (px4_{defines,log,time}.h)
2019-10-30 11:48:47 +01:00
Daniel Agar 184aa2861a PX4_ISFINITE use builtin everywhere 2019-02-21 14:56:08 -05:00
mcsauder 9d67bbc328 Standardized/updated copyright file headers in the src/systemcmds/tests/ directory. 2019-01-30 14:25:18 -05:00
Daniel Agar 222a91c6be mathlib delete Matrix, Quaternion, Vector 2018-05-23 17:27:09 -04:00
Daniel Agar a02caff1bc unit_test inline implementation and remove module build 2017-08-23 08:06:55 +02:00
Daniel Agar 6f05fec335 clang-tidy performance-unnecessary-copy-initialization 2017-02-01 22:15:50 -05:00
Daniel Agar 6631e72d6f clang-tidy modernize-redundant-void-arg 2017-02-01 22:15:50 -05: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 6ab9dc0acf Testing cleanup from Daniel Agar 2016-07-29 13:49:14 +02:00
Stefan 8701e0ba78 Update test_mathlib.cpp
spelling mistakes
2016-01-11 08:37:43 +01: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
Mark Charlebois 1e46f44123 POSIX: ported systemcmds/tests
Most of the systemcmds tests run in the posix build. The UART tests
fail for me as I do not have a UART connected.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 07:51:24 -07:00
Anton Babushkin 3b89a2533f test_mathlib fixed 2015-04-12 17:13:30 +02:00
Lorenz Meier 32e790110e Tests: Fix code style on system tests 2015-03-28 19:51:15 +01:00
Roman Bapst af56e58540 added quaternion rotation method test 2015-03-06 15:56:54 +01:00
Lorenz Meier 6e07c8c9e4 mathlib tests: Fix typo 2015-02-23 23:56:22 +01:00
Lorenz Meier 9d8651c10c mathlib test: Print all test types which are actually performed 2015-02-23 23:27:51 +01:00
Lorenz Meier 71a5351deb mathlib test: Code style fixes 2015-02-23 23:24:38 +01:00
tumbili 41377709e6 added test for quaternion methods 2015-02-23 22:18:51 +01:00
Daniel Agar a62baf2cb2 add simple nonsymmetric Matrix testing to test_mathlib 2015-01-03 18:55:55 -05:00
Don Gagne 680ebf29c3 Fix compiler warnings 2014-07-07 15:11:46 -07:00
Don Gagne 2a79689224 Fix unused variable warnings 2014-07-06 16:51:06 -07:00
Don Gagne 92adbe9216 Fix compiler warnings 2014-06-29 17:47:24 -07:00
Anton Babushkin 8ed193d115 mathlib: Matrix and Quaternion cleanup and bugfixes. Copyright updated. 2013-12-25 13:03:36 +04:00
Anton Babushkin 9dfe366e90 mathlib: Vector class major cleanup 2013-12-24 23:56:28 +04:00
Anton Babushkin ba612c3ee8 mathlib fixes 2013-12-19 14:10:25 +04:00
Anton Babushkin e3a5a384d7 mathlib: fixes and improvements, WIP 2013-12-18 23:01:02 +04:00
Anton Babushkin a83e3cd222 New mathlib, WIP 2013-12-18 19:33:47 +04:00