Anton Matosov
e284a28e25
Fixed formatting
2016-11-19 15:14:18 +01:00
Anton Matosov
4edd12c44a
Make PWM_RATE configurable via QGroundControl
2016-11-19 15:14:18 +01:00
Julian Oes
8ff237c69f
Remove size optimization for individual modules
...
It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
2016-09-30 08:11:51 +02:00
Beat Küng
8a12dee125
cmake: remove all module.mk files & cmake conversion script ( #4918 )
...
It seems these files are leftovers.
2016-06-28 09:26:36 +02:00
CAI Dongcai
f8ff667dde
pwm steps bugs fixed ( #4719 )
...
fix the divide 0 bug in using "pwm steps" in NSH, and add it's
description
2016-06-05 12:08:31 +02:00
Lorenz Meier
91142f0c20
PWM cmd: better reporting
2016-05-14 18:05:14 +02:00
James Goppert
967e4dd127
Modified cmake to use STACK_MAX and STACK_MAIN
2016-04-14 13:36:36 -04:00
Lorenz Meier
1cdb2d3209
PWM command: Ensure we have enough stack
2016-01-10 16:11:30 +01:00
James Goppert
1d6b31d196
Switch to cmake build system.
2015-09-07 20:37:45 -04:00
Daniel Agar
354bde9627
format src/systemcmds/pwm
2015-09-05 12:21:11 -04:00
Lorenz Meier
454becdae5
Merged release_v1.0.0 branch into master
2015-06-25 21:45:17 +02:00
Lorenz Meier
26c47f25cb
PWM outputs: Allow the new p:PWM_OUT etc params for setting PWM limits via params at boot-time.
2015-06-23 12:30:47 +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
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