Hi
I am still busy with the control of the modified RC-car.
At the moment I try to control the steering of the car. Now I do have
the problem that the servo-motor that adjusts the angle of the front
wheels is just to fast.
I am getting the current angle from a potentiometer that I mounted at the front.
When I for example want to turn the wheels to the right about 7 degrees
the wheel turns right passes the 7 degrees and ends up maybe at 21
degrees.
Than it turns back to maybe -7 degrees. After that it starts turning right again and so on .....
To solve this problem I was thinking about to use some feedback control. A simple PID controller should work.
So my question. How can I do this? Is there any function that I can use
to implement the feedback control? Are ther maybe some useful files in
the internet?
Attached the VI that I did so far. Don't mind that it is not finished. It should just clarify what I am going to do.
Bye Martin