I am currently a university student working on an extracurricular project where we built a 3D printed SCARA robot that will be remotely controlled. On one end, you have the user that is moving their hand and gathering location based on x,y, and z coordinates. Those coordinates will then be sent to the SCARA robot which will move to those coordinates.
Currently we are attempting to figure out the best way to do this with as little latency as possible.
Our current idea is to create an API that sits between the two — with the users client making an update request to the API with the coordinates and pushing them to the SCARA robot.
Our greatest concern with this is latency and what happens when when there is a delay on one end.
The reason I am posting here is I'm looking to inquire into whether any of you have suggestions on where we should look for help with this or have any ideas that would be a better solution. We seem to be at a road block and just looking for some fresh eyes. We are all undergrad students.
So what would be the best way to accomplish this?
Thank you so much for your time and if there is anything I can add for clarity, please don't hesitate to ask.
Best