# Step / Direction

**URL:** <https://discourse.odriverobotics.com/t/step-direction/111>\
**Category:** General\
**Created:** [June 10, 2017, 4:46am UTC](https://discourse.odriverobotics.com/t/step-direction/111 "2017-06-10T04:46:17Z")\
**Posts on this page:** 1\
**Showing post:** 62

<div class="post-metadata">

**Author:** ![LowiekVDS](https://discourse.odriverobotics.com/user_avatar/discourse.odriverobotics.com/lowiekvds/32/1250_2.png) [@LowiekVDS](https://discourse.odriverobotics.com/u/LowiekVDS)\
**Post date:** [April 18, 2019, 10:51pm UTC](https://discourse.odriverobotics.com/t/step-direction/111/62 "2019-04-18T22:51:48Z")

</div>

@jujuoik9 You could try to set the vel\_integrator\_gain to 0. (OdrvX.axisX.controller.config.vel\_integrator\_gain)

That is the gain that is responsible for the integral part of the PI control loop. In other words, the parameter that is responsible for increasing the current over time, even when position and velocity errors don’t change.

However, you will always have a current (high or low, depends) flowing when the error is not 0, but further tuning of the other gains may lower that current to an acceptable one. But be aware that when those parameters are not correctly tuned, the accuracy will degrade significantly.

I do also think it is possible to change the firmware to include an ‘enable’ pin.

---

_[View the full topic](https://discourse.odriverobotics.com/t/step-direction/111)._
