This is not really an issue but a question: did you ever try to run the floating point calculations in float instead of double? 7 significant decimals may be precise enough. I though I ask you before trying it myself.
Cheers, Jens
评论 (3)
#2 – jgeisler0303 于 2011-08-18
yes thanks. indeed you’re right. i didn’t know this. it’s said here for example: http://www.avrfreaks.net/index.php?name=PNphpBB2&file=printview&t=80868&start=0
#3 – simen 于 2011-08-19
My god, I should get my act together and set up a forum for Grbl.
#1 – simen 于 2011-08-18
I believe the avr-gcc implements all floating point types as 32-bit
IEEE 754 floating-point numbers, so I think you will find that it
makes absolutely no difference at all. That said I can’t say I have
had trouble with precision. I have tried to code everything so that no
cumulative errors can accrue, and in my experience the precision of
the parts I fabricate is incredible.
On Thu, Aug 18, 2011 at 12:49 PM, jgeisler0303
reply@reply.github.com
wrote:
> This is not really an issue but a question: did you ever try to run the floating point calculations in float instead of double? 7 significant decimals may be precise enough. I though I ask you before trying it myself.
> Cheers, Jens
>
> ##
>
> Reply to this email directly or view it on GitHub:
> https://github.com/simen/grbl/issues/40