thunderbug1 / Spherebot-Host-GUI

Qt based GUI to control the spherebot
54 stars 60 forks source link

To do: Crazy spikes with complex prints #9

Closed thunderbug1 closed 9 years ago

thunderbug1 commented 10 years ago

peter oliphant18 April 2014 09:06

Hey first of all thanks for making this great gui it works extremely well. I am having a problem that my not be from your sender or firmware but I was hoping you could help identify it. The plotter makes spikes half way accross the egg in the middle of a plot. It does this more often with more complex plots. I open the .svg in the provided inkscape portable, scale it to my template, save as unicorn .gcode, load the file in the GUI and press send file. I have gotten some simple plots like straight lines to work perfectly but I get this problem quite often. It seems to me that the problem would be with Unicorn, but I cant find anybody else with this problem. I tried using another computer and tried installing full inkscape and installing Unicorn extension manually but this gave the same result. Just hoping you might have an idea. Thanks for your time.

Alexander Balasch18 April 2014 09:42

I know that problem. I also had some prints with these spikes, but sadly I don´t know where they come from. I plan to look for the reason when I have more time again.

Maybe the communication is too fast and some of the transmissions are false ( there is no error checking ). But It would be odd if always the coordinates were transmitted wrong.

The only other possible explanation would be that really unicorn produces wrong coordinates sometimes. I plan to integrate a gcode analyser in the gui ( which draws the gcode virtually on a canvas ) that would make it obvious if .gcode files are corrupted in that way, but haven´t finished it yet.

are the mistakes repeatable? -> then it´s the file

if not the problem is somewhere else

thunderbug1 commented 10 years ago

maybe it would be an idea to turn on the echo of the arduino, write the output to a file and make a comparison with the sent file.

I turned the echo off at higher baudrates, cause it was too much for the arduino.