_fuzzypid.pyi 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. PB: int
  2. PM: int
  3. PS: int
  4. ZO: int
  5. NS: int
  6. NM: int
  7. NB: int
  8. def __init__(): ...
  9. class RuleBase:
  10. def __init__(self,
  11. kp_rules: list[list[int]],
  12. ki_rules: list[list[int]],
  13. kd_rules: list[list[int]]): ...
  14. def __del__(self): ...
  15. class MembershipFunction:
  16. def __init__(self, params: list[int]): ...
  17. def __del__(self): ...
  18. class FuzzyPIDParams:
  19. def __init__(self, pid_params: list[list[float]]): ...
  20. def __del__(self): ...
  21. class PIDDirect:
  22. def __init__(self, direct: list[int]): ...
  23. def __del__(self): ...
  24. class FuzzyPIDController:
  25. def __init__(self,
  26. rule_base: RuleBase,
  27. mf_params: MembershipFunction,
  28. pid_params: FuzzyPIDParams,
  29. delta_k: float,
  30. mf_type: int,
  31. fo_type: int,
  32. df_type: int,
  33. direct: list): ...
  34. def compute_output(self,
  35. control_id: int,
  36. real: float,
  37. input: float,
  38. ) -> float: ...
  39. def __del__(self): ...