Commit Graph
189 Commits
Author SHA1 Message Date
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
Lorenz Meier 1219ef8d43 Eigen: Disable tests 2015-04-04 12:39:36 +02:00
Lorenz Meier de29e43ee6 Eigen: Fix logical compare warning 2015-04-04 12:36:27 +02:00
Lorenz Meier bbec741383 Eigen: Simplify tests 2015-04-04 12:07:22 +02:00
Lorenz Meier e5ac953bab Eigen: Attempt to fix unit test 2015-04-04 11:44:15 +02:00
Lorenz Meier 8075ff5e0b Eigen: Re-enable tests 2015-04-03 17:01:47 +02:00
Lorenz Meier 32e790110e Tests: Fix code style on system tests 2015-03-28 19:51:15 +01:00
Daniel Agar 8aae66b893 trivial code style cleanup round 2 2015-03-27 23:38:58 -04:00
Lorenz Meier b80908d956 Disable eigen test until fixed 2015-03-20 00:05:32 +01:00
Daniel Agar c2abb0f82a fix code style if trivial one line difference 2015-03-19 23:49:36 +01:00
Lorenz Meier fb040f9117 Merge pull request #1931 from Zefz/eigen-tests
Added test_eigen to verify correctness of eigen calculations
2015-03-19 23:45:55 +01:00
orlando3d e668882621 Turn on PWM output for PPM loopback test 2015-03-19 09:39:44 -08:00
Johan Jansen c0c3e153ec Eigen: Add verify macro to check if math operations are correct 2015-03-17 14:51:18 +01:00
Johan Jansen 3451a4686a test_eigen: Make TEST_OP macro more readable 2015-03-17 14:08:20 +01:00
Johan Jansen 008a36003f Eigen: Add general purpose Eigen compatability header for PX4 2015-03-17 13:58:03 +01:00
Johan Jansen 0be2530037 tests: Added test_eigen to verify correctness of eigen calculations 2015-03-17 13:27:50 +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
Lorenz Meier 4ca3c44b60 Update sensor test 2015-02-09 22:56:24 +01:00
Lorenz Meier ac155b0fac System cmds: Move to 0 based index 2015-02-09 22:56:22 +01:00
Lorenz Meier 4a8044f338 tests system command: Fix return value of tests all command 2015-02-09 22:55:58 +01:00
Lorenz Meier a4a3b1b25f Modernize system tests, API cleanup 2015-02-08 16:43:55 +01:00
Lorenz Meier 21d3e18e3c Remove C file from build 2015-02-01 22:11:20 +01:00
Lorenz Meier b0f2796aeb Remove MTD test 2015-02-01 18:23:35 +01:00
Anton Matosov 08062e6546 Changed naming of the mixers to get rid of umbiguity as outputs are actually going to be driven by io, not fmu
Implemented automatic lookup for the .aux.mix file if it exists
2015-01-08 00:53:52 +02:00