The first part of the exercise can be done at the department as a regular laboration or at your personal computer.
You need the lab-pm and the following files. Download and unzip files_sim.zip containing

Compensator file

lab1sim.mdl
initlab1sim.m
dfa.m
lqrd.m
lqed.m
lqgd.m
polyadd.m
fix_opencfg.m
compensator2.c


The following files are needed at the computer that is connected to the real servo. Download and unzip files_real.zip containing

lab1real.mdl
initlab1real.m
initthrottle.m
compensator.c
PIcontroller.mdl


Example of undesired limit cycles for V50 at idle control (youtube-link)