Create a GPS data framing from several points

Hello,
I made a robot that avoids obstacles with ultrasonic sensors, it works very well.
I added a GPS module to make it work outdoors in a given perimeter, it circulates randomly in the determined perimeter avoiding obstacles.
I would like it to make straight trajectories in the perimeter and not random.
My idea is to create a table with the gps coordinates calculated according to the perimeter.

But from there I don't know where to start.

I work in decimal degrees

example of coordinate: 47.0546321; 1.3521723 47.0545123; 1.3522321 47.0544321; 1.3521123 47.0545123; 1.3520321

Hi,

it's not really clear what you are asking for... do you just want some way of defining an area then filling that in with a series of stripes of a certain width to create a path to follow ? Or do you have the path but don't know how to make the robot follow it ? or ... ?

Hi,
Sory i'm french and my anglish is not verry well.

i just need a way to define an area and then fill it with a series of stripes of a certain width to create a path to follow