Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.15.0 is broken on RPI 4 + Axidraw A3 #131

Closed
ostwilkens opened this issue Dec 14, 2022 · 12 comments · Fixed by #195
Closed

0.15.0 is broken on RPI 4 + Axidraw A3 #131

ostwilkens opened this issue Dec 14, 2022 · 12 comments · Fixed by #195

Comments

@ostwilkens
Copy link

My plotter freezes and makes horrifying noises with the latest version.
Not sure if it's related but looks like there is an insane amount of network traffic between my rpi and client computer during plotting.
Things work fine in 0.14.0.

@jimmykl
Copy link

jimmykl commented Dec 15, 2022

+1 on this – I stopped using saxi (0.15.0 on Pi 3 Model B+ with Axi SE/A3) because it will draw a few lines then stutter and hung for seconds at a time but most concerningly, as above, sometimes have spasms on travel moves which sound like it'll break the machine

@edouard-gillet
Copy link

I had the same issue on a Raspberry Pi 4, everything was fine in 0.14.0 and started having issues with stuttering and hanging after upgrading to 0.15.0.
I checked the different commits and figured it was most likely due to the change to drive Axidraw over WebSocket #63.
I kept 0.15.0 and rolled back that commit and it solved the issue for me.
I did not investigate further why the WebSocket change was causing stuttering issue on the Raspberry Pi.

@alexrudd2
Copy link
Collaborator

Confirmed with 0.15.0 on an M1 Mac.

The individual commands to the pen up/down work fine, but trying to plot sends the motors into horrible spasms until I pull the plug.

@alexrudd2
Copy link
Collaborator

OK the grinding improves with rehoming, but there is still something strange happening. There are a huge amount of connect and disconnect messages (when killing the server) as compared to 0.14.0

0.14.0: Notice no duplicate "connect" messages, and the "disconnected" messages are every 5s.
Screenshot 2023-06-30 at 8 01 45 PM

0.15.0: Notice the duplicate "connect" messages (varies), and the "disconnected" messages occur many times per second.
Screenshot 2023-06-30 at 7 59 34 PM

@julienes
Copy link

I've just reinstalled version 0.15, which I had uninstalled last time because of this problem, and I see that it's still there. I've just installed it to be able to use the new brushless servo. Any news about this problem?

@alexrudd2
Copy link
Collaborator

0.15 doesn't include code for the brushless yet, and the dev is pretty busy with a newborn right now.

You can try installing from one of the forks, where we're experimenting before trying to merge here.

@julienes
Copy link

Oh ok, I'll take a look. I did that #136 and now I can control my brushless with Saxi. But I have the problem of the Axidraw freezing during the plot

@oskay
Copy link

oskay commented Sep 19, 2023

Oh ok, I'll take a look. I did that #136 and now I can control my brushless with Saxi. But I have the problem of the Axidraw freezing during the plot

You might be able to revert to the earlier Saxi version that wasn't freezing for you (if there is one), and then "manually" apply the patches from #136.

@julienes
Copy link

Thank you! I've changed it back to version 0.14.0. I tried yesterday but it didn't seem to work when I changed the files to the new ones. I changed the lines manually and it works. Glad to be able to continue using Saxi.

@jedahan
Copy link
Contributor

jedahan commented Oct 1, 2023

@osresearch i think this is it

@jedahan
Copy link
Contributor

jedahan commented Oct 1, 2023

Regarding the many listeners, i wonder if these lines shoule be ported 593c451?diff=split#diff-8a8ae07582c9d433ec8c2e5c4310ff8901e604f4965c5b90a49117ad46c47595L236-L247

@jedahan
Copy link
Contributor

jedahan commented Oct 1, 2023

I manually 'reverted' the commit with webserial, and things are working smoothly.

Would be great to get webserial back in and working at a future point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants