Could anyone help with the coding of the robot car turning 90 degrees. We design the robot car that one side of wheels moving forward and another side wheels moving backwards.
Are there encoders on the wheels? Any sort of positional feedback, like a compass? If not, you will have a hard time turning with any accuracy. To do it without positional feedback all you can do is time the actuation of the motors and try to find a time that accomplishes the turn. The problem is that the timing that works for one surface or set of friction conditions may well not work for a different set of conditions.