-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wpos precision loss in inches mode #296
Comments
Sounds good. Thank you for catching this. |
Reports in inches need 3 more decimal places than in mm. This patch fixes that, while ensuring that every NV object of TYPE_FLOAT has nv->precision set to a definite value. The static precision values in the configuration table are left as-is, dynamically modifying nv->precision in created objects according to the mm/inches mode. It also fixes a related problem, in which position changes sometimes went unreported because of rollover boundary issues.
@MitchBradley Guessing you've been using a version of g2core with your patch included, for a few months now. If that's the case, are the extra decimal places working out as hoped? 😄 Just thinking it might be useful to get some feedback on the change from someone's who's probably actually been using it in reality for a while now, just in case you feel your patch could do with some subsequent tweaking. 😁 |
Yes, I have been using it in production with no problems. The parts are coming off the line ... |
Awesome. What sort of parts are you making? 😄 |
Mitch What are you making with g2? We are always curious to see what
people make with it. Any videos?
|
I make golf putters from bamboo. There is a time-lapse video at In that video, the milling is done with Mach3 but since then I have built a new shop that is specialized for putters, converted my Taig mill to a g2core/Due/RaspberryPi/cncjs controller, and added several cnc processes to replace manual shaping. |
Pretty awesome! Thanks for sharing.
|
Excellent! We'd better make a page on the wiki that showcases stuff being created with g2core. This should go on there. 😄 |
New "g2core in use" page created here: https://github.com/synthetos/g2/wiki/g2core-in-use Not 100% sure of the wording, layout, etc, but it seems like a reasonable start. 😄 |
In inches mode, the work position report precision is 3 decimal places, which is not enough for some machines. That results in imprecise position displays, loss of reports (when position changes are filtered out because of changes smaller than EPSILON3), and jog granularity problems.
I have a fix for this problem and will submit a pull request after I have cleaned up the changes.
The text was updated successfully, but these errors were encountered: