tjhowse / sand_drawing

Code, PCBs and CAD for a SCARA-based sand drawing robot
https://wiki.tjhowse.com/doku.php?id=projects:sand_drawing:overview
Other
17 stars 6 forks source link

Pattern shuffling can interrupt patterns #14

Open tjhowse opened 4 years ago

tjhowse commented 4 years ago

The pattern shuffling timer kicks in regardless of whether a pattern has finished drawing or not, and this is bad because the pattern doesn't finish drawing. Consider only shuffling if the pattern finishes. Patterns will have to emit an END gcode at a point at which it could cede control to another pattern.