Skip to content

BWSI-UAV/simple_pid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple PID Practical

1. Clone this repo

Remember where you cloned it (maybe best to clone it into your home directory).

cd ~
git clone [email protected]:BWSI-UAV/simple_pid.git

2. Implement the PID controller

Open simple_pid.py and edit lines 53, 54, and 57 to calculate your P, I, and D terms (look for TODO: in the code).

3. Tune your PID controller

Open the notebook Implementing PID in Python.ipynb and tune the "gain" values kP, kI, and kD to generate a reasonable system response (again, look for TODO: in the code).

Try to beat the response shown below and answer the question about what makes your response "better".

Example output

4. Upload your code to your student repository

We want to see your PID implementation, your tuned kP, kI, and kD values, and your output response graph.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published