Skip to content

dbeatrice353/PID-Controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PID-Controller

python 2.7

dependency: pygame

This is an example of using a PID controller to make a circle follow the mouse around in a pygame window. You can adjust the responsiveness of the controller by editing the Kp, Ki, Kd parameters in the get_u method of the PIDController class in the PID.py file

To run the program the command line, just enter:

python main.py

About

A Python example of PID control

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages