i am going to write a PID controller to control a model helicopter. but 'til now i have not idea how to write the program. so can anyonw send me a example to ahve a look?
Helicopter control is perhaps one THE most difficult control problems around. If you are in a situation where you have to ask where to begin this project, then perhaps you should back up and try several easier ones first.