7 self.ctx.summax = +A_FLOAT_INF
8 self.ctx.summin = -A_FLOAT_INF
9 self.ctx.outmax = +A_FLOAT_INF
10 self.ctx.outmin = -A_FLOAT_INF
12 def kpid(self, a_float kp, a_float ki, a_float kd):
13 a_pid_kpid(&self.ctx, kp, ki, kd)
15 def run(self, a_float set, a_float fdb):
16 return a_pid_run(&self.ctx, set, fdb)
17 def pos(self, a_float set, a_float fdb):
18 return a_pid_pos(&self.ctx, set, fdb)
19 def inc(self, a_float set, a_float fdb):
20 return a_pid_inc(&self.ctx, set, fdb)
27 def __set__(self, a_float kp):
32 def __set__(self, a_float ki):
37 def __set__(self, a_float kd):
41 return self.ctx.summax
42 def __set__(self, a_float summax):
43 self.ctx.summax = summax
46 return self.ctx.summin
47 def __set__(self, a_float summin):
48 self.ctx.summin = summin
54 return self.ctx.outmax
55 def __set__(self, a_float outmax):
56 self.ctx.outmax = outmax
59 return self.ctx.outmin
60 def __set__(self, a_float outmin):
61 self.ctx.outmin = outmin