Back to discussions page
How can I send very long scripts for 3dprint? with more than 2000 points
/ Most recent by matthewd92
francescop Posts: 2 Recruit
edited September 2017 in Programming
you create a loop which run until you receive an end signal
if the end signal is false
first you wait that the position you receive is different from 0 and different from the previous
reset a signal that say the trajectory is done
you memorize this new point in a variable
you do a move trajectory to this new point
you send a signal that the trajectory is done
You could use others variables to decide which kind of move you want to do and for example get different speed.
This would give you a short program with everything done from the Ethernet. But it's just an idea, I've never tested it.
Another approach would be to use socket connection and do most of the computation on a remote computer. Your robot program would be only a simple loop that ask the remote computer for the next waypoint and then move the robot there.
Machine Vision Technical Leader
I think the issue you might see trying to have a Polyscope program asking for and executing waypoints is it will possibly not have smooth motion which would affect your print quality.