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
Mark Charlebois
f659a3e8cc
POSIX: do not error on stack size warning
...
posix build fails on x86_64 with this check enabled.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-07-01 16:55:20 -07:00
Lorenz Meier
02850e0d16
Merge pull request #2510 from mcharleb/fabsf-fix
...
Chage use of fabsf for int to abs
2015-07-02 01:34:48 +02:00
Mark Charlebois
043bf9a4d7
Chage use of fabsf for int to abs
...
Use of fabsf() for int arg failed for clang. Changed to use abs().
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-07-01 16:13:49 -07:00
Lorenz Meier
234990fbe4
Merge branch 'release_v1.0.0' of github.com:PX4/Firmware
2015-07-02 01:00:06 +02:00
Mark Charlebois
28dd9759a6
POSIX: fixes for use of open vs px4_open, etc
...
Fixes for the posix build when virtual devices are used.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-07-01 23:51:12 +02:00
Mark Charlebois
e1de3c13c6
POSIX: added required header file for PRId64
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-07-01 08:04:51 -07:00
Mark Charlebois
63f7995b41
NuttX: fixes for printing size_t and int64_t
...
Added definition of PRId64 for C99 compatibility.
Used %zd for portable wat to print size_t.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-07-01 07:51:24 -07: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
Lorenz Meier
ece87a3fa2
Mixer test: Fixed compile warnings
2015-06-30 09:51:04 +02:00
Lorenz Meier
c28a69fba8
Mixer test: Ensure its not susceptible to timing jitter of the test harness
2015-06-30 09:51:04 +02:00
Mark Charlebois
872a26e6da
Fixed passed ot open() for O_CREAT
...
In nuttx the mode parameter to open is not required but in Linux,
and per the POSIX spec, mode is required if the O_CREAT flag is
passed.
The mode flags are different for NuttX and Linux so a new set of
PX4 defines was added:
PX4_O_MODE_777 - read, write, execute for user, group and other
PX4_O_MODE_666 - read, and write for user, group and other
PX4_O_MODE_600 - read, and write for user
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-14 11:26:40 +02:00
Lorenz Meier
4565f57468
Merged release_v1.0.0 into master
2015-05-27 15:28:41 -07:00
Lorenz Meier
30cd3e1d79
Mixer test: Support channel reversal
2015-05-25 16:42:46 +02:00
Daniel Agar
3bc10d037d
test_eigen minor fixes
...
-disable quaternion tests for now
2015-05-21 00:20:49 -04:00
Lorenz Meier
22cd71d5c3
Eigen3: Enable test
2015-05-20 23:40:41 -04:00
Mark Charlebois
35e6822d95
Added missing px4_ prefixes
...
NuttX build required missing px4_ prefix for systemreset and task_spawn_cmd
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-06 16:25:45 -07:00
Mark Charlebois
db52227409
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
Conflicts:
src/modules/commander/accelerometer_calibration.cpp
2015-05-06 15:51:39 -07:00
Mark Charlebois
eed2479dfc
Added px4_ prefix to task_spawn_cmd
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-06 14:20:08 -07:00
Lorenz Meier
6c859245e2
Merge pull request #2013 from PX4/attitude_estimator_q
...
attitude_estimator_q added
2015-05-05 20:29:51 +02:00
Mark Charlebois
9758112e31
Use px4_config.h instead of nuttx/config.h
...
Modified code to use OS independent header file for config settings.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:55:41 -07:00
Lorenz Meier
3ee9b441c6
Add STM32F4 discovery config.
2015-04-16 22:51:08 +02:00
Anton Babushkin
3b89a2533f
test_mathlib fixed
2015-04-12 17:13:30 +02:00
Roman Bapst
555e96a37a
fixed publication of mixer limit flags
2015-04-10 20:26:38 +02:00