896 Commits

Author SHA1 Message Date
Matthias Grob
8fd27fddcd mc_pos_control: moved responsibility of the x,y stick deadzone to a mathematical function
to prevent a setpoint step when moving the stick over the border of the deadzone
and to enable very small inputs even from a control stick that needs a big deadzone
2017-02-25 11:05:53 +01:00
Daniel Agar
ecb2511a7b add matrix copyTo 2017-02-25 11:04:02 +01:00
Roman
3fdbe13857 updated ecl 2017-02-22 22:21:41 +01:00
Andreas Antener
998427f821 ECL: updated to proper commit 2017-02-18 08:03:19 +01:00
Andreas Antener
b19cd19411 FW Acro: udpate ECL and implemented fixed-wing Acro 2017-02-18 08:03:19 +01:00
Daniel Agar
9bc5da6d2d update matrix and fix test_matrix (#6524) 2017-02-16 00:31:06 -05:00
ChristophTobler
52f5f1be07 update submodule ecl 2017-02-13 21:11:25 +01:00
Lorenz Meier
f68e34ce40 Update DF to fix Snapdragon scheduling issues 2017-02-06 21:55:29 +01:00
Lorenz Meier
0e64f8c288 Matrix update with CLANG compile fix 2017-02-04 11:21:38 +01:00
Lorenz Meier
1b01546d4b Revert "Update matrix lib"
This reverts commit d75024b987cc047b32d08c48597cc13385993709.
2017-02-04 11:14:42 +01:00
Lorenz Meier
d75024b987 Update matrix lib 2017-02-04 10:42:47 +01:00
Lorenz Meier
51e156e1f4 Code style fix 2017-02-04 08:54:00 +01:00
Stephan Brown
0d219caae3 geo_mag_declination: Fix interpolation when inputs are outside of sampling min and max. 2017-02-04 08:52:04 +01:00
Stephan Brown
bb0d01d812 geo_mag_declination: Update declination values according to 2015 NOAA data. 2017-02-04 08:52:04 +01:00
Stephan Brown
ab9fa59dd2 geo_mag_declination: Fix table bounds checking. 2017-02-04 08:52:04 +01:00
Matthias Grob
661832ca1d mathlib: added exponential curve function 2017-02-02 21:24:05 +01:00
Daniel Agar
6631e72d6f clang-tidy modernize-redundant-void-arg 2017-02-01 22:15:50 -05:00
Daniel Agar
e927f3e040 clang-tidy modernize-use-nullptr 2017-02-01 22:15:50 -05:00
Beat Küng
1da934049c matrix_alg: use PX4_ISFINITE() instead if isnan() & isinf() 2017-02-01 08:38:26 +01:00
Siddharth Bharat Purohit
b46b7a3ca3 mathlib: add matrix eval funcs for raw arrays 2017-02-01 08:38:26 +01:00
Lorenz Meier
40aa785720 DSM: Report zero channel count / decode fail through correct data path 2017-01-30 08:45:54 +01:00
Daniel Agar
de128aaa6e dsm rctest fix num_values return 2017-01-30 08:41:26 +01:00
Daniel Agar
fa3b3df061 astyle src/lib/geo 2017-01-29 01:18:32 +01:00
Roman
e916159f5c updated DriverFramework
Signed-off-by: Roman <bapstroman@gmail.com>
2017-01-28 20:18:01 +01:00
David Sidrane
1abd629461 Move common macros to systemlib/px4_macros.h 2017-01-24 21:18:28 +01:00
Lorenz Meier
969c9ca7e8 Better status reporting for RC 2017-01-22 15:17:35 +01:00
Lorenz Meier
eed78fdcc9 DSM: Fix code style 2017-01-21 14:08:10 +01:00
Andrew C. Smith
12a34c9fcf Minor changes made to FMU module and the DSM code to properly catch Spekrum DSM data. 2017-01-21 12:13:40 +01:00
David Sidrane
78eb02e480 Remove the posix based #ifdef from version.h
Use the BOARD_NAME distributed to the board_config.h files
 for posix derived targets
2017-01-21 11:45:36 +01:00
Lorenz Meier
27fca51b05 Update DF 2017-01-20 23:09:13 +01:00
Lorenz Meier
7652a3737c Update ECL 2017-01-15 01:57:38 -08:00
Lorenz Meier
557a57d51a Coverity: Fix RC tests 2017-01-14 07:47:03 -08:00
BharathR
8c7f810cc2 Fixed build error in eagle_legacy_default mode (px4muorb.h generation issue) 2017-01-11 17:12:27 -08:00
bharathr
ee0b0f2a3e Fixed build error in Snapdragon Flight legacy driver mode (partially) 2017-01-11 17:12:27 -08:00
Daniel Agar
67975d68bb tailsitter_recovery initialize yaw_ff 2017-01-04 16:08:20 -05:00
Daniel Agar
b1d537c603 launchdetection initiailize motorDelayCounter 2017-01-04 16:08:20 -05:00
Lorenz Meier
36ba5eb741 Control lib: Fix string handling corner cases
strncpy() does not enforce NUL-termination, but snprintf() does. So we need to ensure all strings are terminated. Another issue was the use of the wrong length parameter for these functions, resulting in the limiting arguments not being applied to the right length.
2017-01-04 10:14:25 +01:00
Daniel Agar
d5082251d9 controllib decrease blockNameLengthMax to 40 2017-01-04 10:04:30 +01:00
Daniel Agar
b3c741715a controllib block use consistent name length
- coverity CID 12524, 12542, 12548, 12550
2017-01-04 10:04:30 +01:00
Lorenz Meier
1a1522d3ff Fix RC unit test 2017-01-03 14:44:45 +01:00
Lorenz Meier
72eafe7e72 Fix DSM debug statement. From @firwar 2016-12-25 21:55:23 +01:00
Dennis Mannhart
d00750c22e updated ECL submodule to include snapdragon compile fix 2016-12-23 11:34:31 +01:00
Beat Küng
0c7e9b0e6d version CMakeLists.txt: add ver_gen dependency
Necessary so that build_git_version.h is generated before version.c is
compiled.

Error before:
../src/lib/version/version.c:152:31: error: 'PX4_GIT_TAG_STR' undeclared (first use in this function)
  return version_tag_to_number(PX4_GIT_TAG_STR);
2016-12-21 16:59:32 +01:00
Beat Küng
5e9bdff205 version: remove FW_GIT & FW_BUILD_URI, use the correct methods instead
This is cleanup after rebasing
2016-12-21 11:35:10 +01:00
Beat Küng
41dc34204c version cleanup: move all version information into version.c and use a common API
The provided versioning information is the same, except for some additions,
like OS version (which still need to be implemented on NuttX).
2016-12-21 11:35:10 +01:00
Beat Küng
c662113527 board_name.c: remove the file and HW_ARCH macro, use px4_board_name() instead
boards define BOARD_NAME, so board_name() is not necessary. HW_ARCH was
just a wrapper around board_name().

This patch simplifies to having only one common method px4_board_name().
2016-12-21 11:35:10 +01:00
David Sidrane
dec46927f7 RAND_MAX properly defined in upstream NuttX 2016-12-21 08:34:21 +01:00
David Sidrane
d09cd77777 Adding hardfault logging application 2016-12-21 08:34:20 +01:00
Lorenz Meier
1e625d024c Updated ECL to include a minor compile fix 2016-12-21 08:11:05 +01:00
Julian Oes
d62520e26b Update DriverFramework and build lib/rc 2016-12-20 14:38:28 +01:00