dPID: A Python ‘homework’ exercise

practice-time:

1 hour

This is an optional exercise for the python-3 workshops: program a discrete PID-controller.

A basic class definition is given; which has to be tested and implemented. By starting with the test-part, which is advisable anyhow (the TDD approach), the exercise starts simple.

A few test-examples are also given. This file can be used as ‘template’ to write your own tests.

dPID articles

Comments

comments powered by Disqus