I'm searching some tips to program "a forward straight" behavior. I have a some colors to follow (red,black,blue, etc ...) and now my problem is to control the trajectory of my robot.
I know is it possible to do that with a color light sensor to follow a black line but I have a ColorHTSensor.
I read some things about PID controller (here : http://www.inpharmix.com/jps/PID_Contro ... obots.html), is a good way to do that ?
Thaking you in advance