Commit Graph

909 Commits

Author SHA1 Message Date
Lorenz Meier de6302c418 Update DriverFramework to include Mac OS SITL fixes 2017-03-26 12:44:49 +02:00
Nate Weibley 9618b9417b Inline block param getter 2017-03-24 22:51:38 +01:00
Matthias Grob b32e5e7ec0 mc_pos_control: fixed all pull request complaints
mainly changing parameters to BlockParams, reorder them and comment
2017-03-22 15:21:34 +01:00
Pavel Kirienko 2b2c307eac Performance audit (intentionally duplicates #6829) (#6847)
* UAVCAN ESC output: removing ESC output channels from published message that are always zero. This allows the UAVCAN stack to always transfer only the minimum number of output values, avoiding redundant zeroes and the associated increase in bus load and CPU time

* Added a separate mixer file for CAN quadrotor

* Sampling profiler improvements

* PMSP: Output more endpoints

* Matrix update

* libc usage workaround

* Removed UAVCAN perfcounters

* Matrix submodule update
2017-03-18 04:16:20 -10:00
David Sidrane c20b85e6ad Revert "UAVCAN performance audit (#6829)" (#6846)
This reverts commit 21e04c9f7a.
2017-03-18 04:04:43 -10:00
Pavel Kirienko 21e04c9f7a UAVCAN performance audit (#6829)
* UAVCAN ESC output: removing ESC output channels from published message that are always zero. This allows the UAVCAN stack to always transfer only the minimum number of output values, avoiding redundant zeroes and the associated increase in bus load and CPU time

* Added a separate mixer file for CAN quadrotor

* Sampling profiler improvements

* PMSP: Output more endpoints

* Matrix update

* libc usage workaround

* Removed UAVCAN perfcounters
2017-03-18 03:47:09 -10:00
Beat Küng f22fc1c543 led: add breathe mode 2017-03-12 00:08:35 +01:00
Beat Küng ce8707532e led/led: change update logic to keep blinking led's in sync 2017-03-12 00:08:35 +01:00
Beat Küng 9e09f70f37 lib/led: make sure to do an orb_copy on startup 2017-03-12 00:08:35 +01:00
Beat Küng b7f5d92b21 lib/led: add some clarifying comments 2017-03-12 00:08:35 +01:00
Beat Küng 8dae94d90a lib/led: add BREATHE mode (but not implemented yet) 2017-03-12 00:08:35 +01:00
Beat Küng 43b98d9a2f lib/led: add led class with led_control uorb topic
This is the new interface to control external LED's (user-facing).
Features:
- Supports maximum N Leds (where the board can define N)
- on/off/blink M times
- Different priorities
- Allows setting a single led or multiple at once
2017-03-12 00:08:35 +01:00
Daniel Agar 0611677ee2 segway move to examples 2017-03-11 11:40:14 +01:00
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 d75024b987.
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