Floating point error
- This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Shop › Forum › Makelangelo Polargraph Art Robot › Floating point error
Hi,
while using your software, (Great ! did I mention ?)
sometimes the bot just stopped acting and ran to the end of the board,
I think it is a floating point problem (happans when opening a JPG file.
See attached screenshot.
It looks like the numbers created by the conversion software have really long fractional values.
The buffer to receive commands on the arduino is only 64 characters.
It’s probably a buffer overflow.
I’ll see if I can round off to three decimal places when generating g-code.
I just pushed out version 0.9.9. You can get it from Github or through the software download link on the Makelangelo homepage.