Set adequate parameters for the rotations (left/right)
As discussed the robot will only turn in 90° angles. So the rotations only need the parameter for direction (left or right).
I have to tune some parameters for this: speed of motors (pulses_per_second_sp ) and the time. As explained in #3 (closed) it depends also on the texture of the floor and the charge of the battery.