I have a program, which shows me the shortest path between two points. From A to B, for example there can be 5 points. The output I get are the coordinates of these 5 points. I need to send these coordinates to a robot that I am building. Is there a possibility where output of the function can be used as an input of another program where in I can calculate the angle the Robot has to turn at each point?
Like I want to calculate the angle at each coordinate without actually typing it. Do I have to do it manually or can the result coordinates can be directly taken as an input for angle calculatrion?
Any help is appreciated, thank you