Move along r until the fabric’s edge reaches the needle with the desired orientation (defined by the seam line)
Sewing this fabric’s side along the seam line
Rotation of the fabric around the needle until next side is ready for sewing


The rules are based on the following two propositions:
Processing
Fabric
Several experiments were carried out
For each one experiment
the fabric starts from a different location
the gripper is on a different location on the fabric
The algorithm has proved to be robust and efficient in all cases
accepted position error is set equal to 2
accepted orientation error is set equal to 0.5°