summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-09-09 19:57:28 -0700
committerJacob Palecki <[email protected]>2020-09-09 19:57:28 -0700
commit3953ba0d5f4f30f9eed0c94a15c98dd5ba7cd43b (patch)
tree496792f401d7ae2975d52b7ca0a98601cf0f6f57
parentAdd improved logarithm style (diff)
downloadrawaccel-3953ba0d5f4f30f9eed0c94a15c98dd5ba7cd43b.tar.xz
rawaccel-3953ba0d5f4f30f9eed0c94a15c98dd5ba7cd43b.zip
Remove misleading comment
-rw-r--r--common/accel-logarithm.hpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/accel-logarithm.hpp b/common/accel-logarithm.hpp
index 0dbf433..044d23c 100644
--- a/common/accel-logarithm.hpp
+++ b/common/accel-logarithm.hpp
@@ -18,7 +18,6 @@ namespace rawaccel {
}
inline double operator()(double speed) const {
- //f(x) = k/(1+e^(-m(c-x)))
double scaled_speed = rate * speed + 1;
double base_speed = speed + offset;