Commit Graph

31 Commits

Author SHA1 Message Date
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 23655675d3 PWM command: Fix code style 2015-03-28 19:54:00 +01:00
Lorenz Meier 3532a09a15 PWM command: Fix min/max/disarmed/failsafe commands to also read the current settings first before modifying them. 2015-02-23 19:50:51 +01:00
Lorenz Meier 653b3e71be PWM command: Do not modify disarmed PWM values 2015-02-23 19:50:42 +01:00
Lorenz Meier ac155b0fac System cmds: Move to 0 based index 2015-02-09 22:56:22 +01:00
Lorenz Meier 52d5a7c00a Fix PWM command 2014-11-16 23:24:52 +01:00
Lorenz Meier 1fbdca4ee9 Add command to run termination failsafe 2014-08-27 07:59:53 +02:00
Lorenz Meier 54fc6aa678 Hotfix: Optimize shell commands for size - we do not need massive performance there 2014-08-13 10:33:46 +02:00
Lorenz Meier 74f31618f2 report error in pwm command if any 2014-07-19 15:21:29 +02:00
Lorenz Meier fd50655354 add missing hint to pwm usage 2014-07-19 15:15:10 +02:00
Thomas Gubler de0dd71061 pwm: add missing exit 2014-07-19 14:39:19 +02:00
Lorenz Meier 5c8c58a1e6 pwm system command: Allow to force failsave (forcefail command) 2014-07-18 11:19:37 +02:00
Lorenz Meier ee8f4dcee6 systemcmds: Warning fixes 2014-06-30 12:19:44 +02:00
Lorenz Meier 972cf54c96 Reduce stack size of PWM tool 2014-05-14 19:36:37 +02:00
Lorenz Meier a8743184c3 Add command to do PWM step inputs 2014-05-01 16:02:00 +02:00
Lorenz Meier 3701a02a37 Tests for all PWM pins 2013-11-30 10:00:33 +01:00
Thiago0B 434de4e949 Fix user abort behave in test
Now the pwm ouput return to the last value before test (useful and safer when testing ESCs).
2013-11-11 22:02:40 -02:00
Lorenz Meier f0466143de Minor warning and no error in case of zero value for disarmed 2013-10-30 09:04:03 +01:00
Julian Oes 1d3f25ee6c pwm systemcmd can now set the failsafe values, fmu uses failsafe values as well now, fix to only send the appropriate number of pwm values to IO at once 2013-10-19 10:43:41 +02:00
Julian Oes 3cbe1ee1a8 Revert "Set the PWM values only once or continuous if specified"
This reverts commit 9cd3c40606.
2013-10-11 16:33:52 +02:00
Julian Oes 9cd3c40606 Set the PWM values only once or continuous if specified 2013-10-11 10:48:49 +02:00
Julian Oes ea0aa49b54 pwm info provides more information, some fixes for setting rate/min/max/disarmed 2013-10-07 16:24:49 +02:00
Julian Oes 9ff5217118 Some more interface changes, needs testing and cleanup 2013-10-04 17:20:34 +02:00
Julian Oes baa4908054 Changes to pwm systemcmd, basic functionality there, needs polishing 2013-10-04 13:00:12 +02:00
Lorenz Meier b12678014f Fixed chan count logic 2013-06-09 14:04:13 +02:00
Lorenz Meier d2c5990d6f Fixed pwm count check 2013-06-09 12:41:47 +02:00
Lorenz Meier 8567134d64 Made pwm command sending continously, improved failsafe logic 2013-06-07 19:41:41 +02:00
Lorenz Meier de82295ab5 HOTFIX: Allow PWM command to correctly set ARM_OK flag 2013-06-04 14:13:02 +02:00
px4dev 1ca535b941 Fix whitespace damage, update help text to indicate the -m option is for debug use only. 2013-05-05 16:52:26 -07:00
Andrew Tridgell ff7712ca3e pwm: added -m option
this allows setting of the channel mask directly, which is useful for
testing
2013-05-04 19:18:20 +10:00
Lorenz Meier 574e765321 Moved all system commands to the new world 2013-04-27 11:50:10 +02:00