aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTero Kontkanen <tero.kontkanen@granitedevices.fi>2017-06-29 20:05:35 +0300
committerTero Kontkanen <tero.kontkanen@granitedevices.fi>2017-06-29 20:05:35 +0300
commit91085eeac735c022238bb58bd3432e84ac8772f3 (patch)
tree7d79dc8409bf87133ddddf06c7114ea98cf087cc
parent8ba99c8b3bef15c8fd4737c845b2fb6d65ec4196 (diff)
downloadSimpleMotionV2-91085eeac735c022238bb58bd3432e84ac8772f3.tar.gz
SimpleMotionV2-91085eeac735c022238bb58bd3432e84ac8772f3.zip
Add SMP_SETPOINT_FILTER_MODE
-rw-r--r--simplemotion_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/simplemotion_defs.h b/simplemotion_defs.h
index 34dca1e..4f1bd96 100644
--- a/simplemotion_defs.h
+++ b/simplemotion_defs.h
@@ -576,6 +576,8 @@
#define SMP_TORQUE_EFFECT_FRICTION 242
//define inertia effect gain in torque control mode, torque added to setpoint equals -acceleration*gain
#define SMP_TORQUE_EFFECT_INERTIA 243
+//special smoothing filter. 0=disabled, other choices application dependent. this value is not saved in flash at the time of release, set it in run-time.
+#define SMP_SETPOINT_FILTER_MODE 244
//secondary feedback loop 300-399
//NOT IMPLEMENTED YET