Beginners: please read this post and this post before posting to the forum.
0 Members and 1 Guest are viewing this topic.
[Are you also sure that high/low really corresponds to over the line / off the line?]]what do u mean i dint get it ...?
Are you also sure that high/low really corresponds to over the line / off the line?]]what do u mean i dint get it ...?
[/Does the sensor read high when it is over the line and low when it is not? Or does it read low (or high) all the time? Does it really detect the line?]yes i m sure it detects the line when its over d line.....
[Connect an LED and write the code to turn it on when a sensor is in the high state and off when it is low. Move your robot across the line. Does the LED go on and off when it should?]there is an led already.....
Your integrator doesn't appear to integrate, you don't have a gain for the derivitive. does that mean that my algorithm is wrng?