Movements
stationary turn
The first important movement is turning around its axle, with both of the tracks turning in opposite directions. This is the fastest way to turn, but not allways possible due to the edges of the window.
There are two main values that determine the time it takes to rotate a certain angle. The first is of course the speed of the tracks [math]\displaystyle{ v }[/math], the second is the distance between the tracks and the center of the robot [math]\displaystyle{ r }[/math]. The rotation speed is simply [math]\displaystyle{ v/r }[/math], and the time it takes to rotate a certain amount is that angle [math]\displaystyle{ \alpha }[/math] divided by the rotation speed, [math]\displaystyle{ t=\alpha*r/v }[/math].
edge turn
The second movement is the edge turn, it is the movement the robot needs to make in order to get away from an edge it is parallel to. It should be noted that there will allways be some room between the side of the robot and the edge of the window because alse the robot is unable to turn.