release 0.1.13
[liba.git] / python / src / a / pid_neuro.pxd
blob2d6c7f48f38e1047da8878147c3afc4787ab49a3
1 from a.pid cimport *
3 cdef extern from "a/pid_neuro.h":
4     ctypedef struct a_pid_neuro:
5         a_pid pid
6         a_float k
7         a_float wp
8         a_float wi
9         a_float wd
10         a_float ec
11     void a_pid_neuro_init(a_pid_neuro *ctx)
12     void a_pid_neuro_kpid(a_pid_neuro *ctx, a_float k, a_float kp, a_float ki, a_float kd)
13     void a_pid_neuro_wpid(a_pid_neuro *ctx, a_float wp, a_float wi, a_float wd)
14     a_float a_pid_neuro_run(a_pid_neuro *ctx, a_float set, a_float fdb)
15     a_float a_pid_neuro_inc(a_pid_neuro *ctx, a_float set, a_float fdb)
16     void a_pid_neuro_zero(a_pid_neuro *ctx)