forked from Makeblock-official/XY-Plotter-2.0
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix for issue Makeblock-official#21: XY plotter sometimes plots spuri…
…ous circle/path
- Loading branch information
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fe5c303
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to be done like this?
fe5c303
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like your code might work as well, but I notice the original code had some limitation of maximum 10 characters which your code seems to be missing.
Not sure how relevant the difference would be in practice though.
fe5c303
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variable
temp
is used as buffer of charters. It is not clear why limit of 10 was used. I do not think that such limit of 10 is good idea.fe5c303
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could e.g. be some limitation in the g-code spec (but I haven't researched the spec in detail and I'm not a specialist at all).
fe5c303
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not specialist too.
fe5c303
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did some extra testing and both functions give identical results, but I did tests on a desktop computer not on Arduino.
fe5c303
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI: If you want to play a bit with the plotter, feel free to check another pet project I did: https://github.com/shimpe/squigglificator
I've used it to create some nice drawings, but I'm not entirely sure in what final state I left it - it will probably take until next summer holiday before I can revisit, if ever.
fe5c303
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I will check it for sure. I am still fighting to run my Orion based device. It is still not running.