commit | 172f393696b967f23e1d166fc7eb952a11994c5d | [log] [tgz] |
---|---|---|
author | Matthew Barth <msbarth@us.ibm.com> | Mon Aug 14 11:07:46 2017 -0500 |
committer | Matthew Barth <msbarth@us.ibm.com> | Wed Aug 16 09:47:01 2017 -0500 |
tree | d4b35553bcd918edb64e8230f33e08fc454537f6 | |
parent | be25083d3d74310ecd1024a3e7986341f4d3c549 [diff] |
Add factor parameter to inc/dec action functions The factor parameter is used to correctly determine the increase or decrease speed delta based on sensor inputs that have a scale. To get the net speed delta change, the factor is applied to the difference in sensor value and the defined state at which a speed change should be requested. Change-Id: I2aaa8f6b294b38d1f38238593dd851c3a205eb7a Signed-off-by: Matthew Barth <msbarth@us.ibm.com>