Hello there
I have a question regarding the serial terminal.
So in the project I am currently working on, I try to drive to a specific location with my robot which is given by another device. So right know I have that the device is sending my the timestamp, x-,y- and z-coordinate of where I am currently at and in a new line in the Serial Terminal is the new location etc.
All numbers are rational numbers.
My goal is to choose a x/y coordinate relatively to the device and let the robot drive there. So the robot "knows" where he is right know but he doesn't know where he has to go yet.
But my questions is, how can I put a x- AND y- coordinate in the serial terminal and compare it with the coordinates I am constantly getting. A friend did programm that I can see the data in the serial terminal. In the attachments you can see the code I have right know I didn't include any of the robots movements.
ReadPLT.ino (921 Bytes)