These parameters may run better on the simulator, but not on the real robot.

Deviation 0.5 => 0.2
velocity 0.05 => 0.1
time_stemp 0.4 => 0.1
Stop moving at the beginning of each loop.
Forward for 10 times time_step.
Angle turned would be 30 for turning right, 120 for turning left.