Commit Graph

23 Commits

Author SHA1 Message Date
Daniel Agar 96e51f7c59 clang-tidy remove redundant 2017-02-01 22:15:50 -05:00
Mark Whitehorn dbc149c224 change trim units from absolute usec to normalized values 2016-12-10 12:56:39 +01:00
Mark Whitehorn 009a413438 fix argument order in pwm_limit_calc call, clean up
note that FMU does not update AUX pwm outputs if no RC signal
2016-12-10 12:56:39 +01:00
Mark Whitehorn a0c8a78a14 use trim values to set mixer:scaler.offset
clamp mixer output offset to [-.2,.2] ([-2000, 2000] in mixer file)

add 8 main PWM trim parameters

add long desc to parameters and bump minor parameter version
2016-12-10 12:56:39 +01:00
Bartosz Wawrzacz 619efa7b45 [PX4IO/PWM driver] Added trim values to the PWM output drivers 2016-12-10 12:56:39 +01:00
Mark Whitehorn c626f5b001 shorten pwm init and ramp times 2016-05-19 22:14:29 +02:00
Lorenz Meier fba569f12c Fix code style for system lib 2015-09-06 11:59:50 +02:00
Lorenz Meier 7b14a0258e pwm limit: Fix author list 2015-07-07 09:50:07 +02:00
Lorenz Meier ef4946f81b PWM limit: Avoid writing back into state struct 2015-07-06 12:08:31 +02:00
Lorenz Meier 433c9bf42d PWM limit lib: Support pre-arming 2015-07-06 12:08:31 +02:00
Lorenz Meier cde8d72694 PWM output limiter: Improve comments. 2015-06-30 09:51:19 +02:00
Lorenz Meier 3883b71132 pwm handler: Support channel reversal 2015-05-25 16:42:46 +02:00
Daniel Agar 8aae66b893 trivial code style cleanup round 2 2015-03-27 23:38:58 -04:00
Don Gagne 92adbe9216 Fix compiler warnings 2014-06-29 17:47:24 -07:00
Lorenz Meier b4a03d8de5 pwm_limit: Add missing case for the arming ramp 2014-05-23 20:38:13 +02:00
Lorenz Meier 287973da28 pwm_limit: Do proper band limiting 2014-05-23 20:22:26 +02:00
Lorenz Meier a60fcc2535 Fixed pwm limit command to behave as originally designed. The initial hold time produced random values (e.g. 40000 instead of 1500) during the INIT_TIME (0.5s) phase 2014-01-02 09:18:04 +01:00
Lorenz Meier 7f14f1f7de Add conversions and mixer tests. Work in progress 2013-12-31 14:45:38 +01:00
Lorenz Meier bd874afcfd Fixed pwm limit to apply the proper limits / scaling 2013-10-30 09:14:17 +01:00
Lorenz Meier 2293aa4e0a Fixed min value check, works for fixed wing now 2013-10-29 21:22:05 +01:00
Julian Oes 3dc2bdfa22 Changed pwm_limit interface a bit 2013-10-11 10:19:50 +02:00
Julian Oes b25b9d37d5 Small function definition correction 2013-10-09 09:00:22 +02:00
Julian Oes 1b9e2af742 Moved PWM ramp to systemlib 2013-10-08 17:03:57 +02:00