i have a rc car the electric one , the one can children set on it
when i control it by the remote control just give it straight , it dose not move straight it keep drift in right or left but most of the time it drift to left
the back wheels one of them has DC motor and the other wheel is free just it is moving while the car is moving
and in the front there is DC motor in the middle of two wheels
here is a photo of the car
Dose anyone have suggestion how to solve this problem ? one of the solution that i tried is using PID with DC motor and compass so the compass will let me know when the car is drift then i send specfic duty cycle to front DC motor , but the car keep moving in zigzag this is not good at all , what do you think if i replace DC motor with servo it will be better ?
also how to know the values of PID gain it is too hard to keep trying