Integral Gain Implementation

Issue #84 resolved
Fabian Gerlinghaus created an issue

Btw, just noticed something: In the mails with Torsten you said this is your formula:

IntegralForce(t) = IntegralForce(t-1) + integral_gain_ * pos_err * (t_curr - t_pre) / integral_gain_time_constt_;

If I'm not mistaken what you effectively implemented, however, is this:

IntegralForce(t) = (IntegralForce(t-1) + integral_gain_ * pos_err) * (t_curr - t_pre) / integral_gain_time_constt_;

Comments (2)

  1. Samir Menon repo owner

    Thanks. You are correct.. Both actually work. Though the one I implemented decays much faster... I'll convert it to the first one.

  2. Log in to comment