nornagon / saxi

Tools & library for driving the AxiDraw pen plotter
GNU Affero General Public License v3.0
469 stars 54 forks source link

Slightly stuttering with Raspberry Pi Zero #54

Closed jvolker closed 4 years ago

jvolker commented 4 years ago

I've tried to use this with a Raspberry Pi Zero WH. In comparison to using it on a Mac Book Pro (2,5 GHz Intel Core i7, 16GB RAM) the movement of the plotter (AxiDraw V2) a little less smooth. It's okay for the most part, but every now and then the plotter stutters for a fraction of a second.

Thanks.

nornagon commented 4 years ago

The wifi shouldn't be an issue—all the information needed for the plot is sent to the server before the plot is started. My best guess is that JavaScript's garbage collection kicking in is the reason for the stutter, and the Pi Zero isn't quite fast enough to finish that before the next command needs to be sent to the plotter. I've had no problems with my Pi 3 fwiw.

jvolker commented 4 years ago

I've switched to Pi 3B+ and it's now working like a charm.