i have path planning project with python and the result is array consist of coordinate(x,y) like this:
[(0, 1), (1, 1), (2, 1), (3, 1), (4, 1), (5, 1), (5, 2), (5, 3)]
since I want to send that data to arduino to control the movement of the AGV, I have to convert the array above to this format:
{0.1, 1.1, 2.1, 3.1, 4.1, 5.1, 5.2, 5.3}
how to do this with python code???