Home› Programming
Discussion
Back to discussions page
francescop
Posts: 2 Recruit
How can I send very long scripts for 3dprint? with more than 2000 points |
185 views
|
Answered | |
/ Most recent by matthewd92
in Programming
|
5 comments |

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
[email protected]
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.