Skip to content

scetre/pid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PID Controller Package

This package provides a simple implementation of a Proportional-Integral-Derivative (PID) controller.

Installation

To install the PID controller package, run the following command: pip install pid

Dependencies

The PID controller package has the following dependencies:

  • Python 3.6 or higher
  • NumPy

Usage

To use the PID controller, import the PID class from the pid package and create a new instance with the desired parameters:

from pid import PID

# Create a new PID instance with the desired parameters
pid = PID(Kp, Ki, Kd, setpoint)

# Update the PID with the current process value and get the control output
output = pid.update(process_value)

Contributing

If you would like to contribute to the PID controller package, please fork the repository and submit a pull request. Before submitting a pull request, please ensure that your changes pass the unit tests and adhere to the PEP 8 style guide.

License

The PID controller package is licensed under the MIT License. See the LICENSE file for more information.

This README includes installation instructions, a list of dependencies, usage examples, contribution guidelines, and license information. You can customize the README further by adding more sections or modifying the existing ones.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published