On Apr 13 2014 8:03 AM, Kirk Wallace wrote: > On 04/13/2014 04:00 AM, andy pugh wrote: >> On 13 April 2014 10:56, Niemand Sonst <nie...@web.de> wrote: >>> The internal units should be metric in any part of linuxcnc, no >>> matter >>> what unit the user selected! >> >> >> The internal units always are Metric. Except, for some reason, in >> Axis >> (and Gremlin has its roots in Axis). >> I do feel that this was a regrettable decision on the part of the >> Axis >> author, but fixing it is likely to cause more trouble than it saves. >> > > I am thinking that the machine units should be based on encoder > counts > such that all calculations can be done with integer math -- then > convert > to any user units as needed for the user interface. But then again, I > could be way off base.
That would work well if you were basing all arithmetic on rationals, but in a machine I would think that settling on a standard would be best, and I agree that SI units are a very good choice. There is a reason that NASA chose to standardize all new software on SI units (see https://en.wikipedia.org/wiki/Mars_Climate_Orbiter). But to follow you logic a bit, lets imagine that you have a 4 axis machine where each of the axises have a different machine count metric. Now how are you supposed to coordinate movement? While this is a bit stretch to think that *all* axes are different, it is not a stretch to have X/Y similar, Z and A different. No, I would go with SI as a standard. EBo -- ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers