I am working with autofocussing of an image. I got struck at one point in my project which is not allowing me to go further. I wrote my code for autofocussing,it is working quite well when i disturb my image in one direction(clockwise). I am using joystick for my testing purpose. The problem is, when i disturb the image in other direction(anticlockwise) then my autofocussing code is getting failed and it is coming out of the loop. Strange thing here is even in anticlockwise direction,in highlight execution mode it is working properly. Will there be any timing issues or anyother modifications to be done. Any suggestions are welcomed.
Then you should also learn to give meaningful thread titles, "timing" is very generic and has (nearly) nothing to do with your question...