Skip to content
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

Calibration Step10 Triangular mode disables text entry on error input #586

Closed
blurfl opened this issue Jan 20, 2018 · 8 comments · Fixed by #587
Closed

Calibration Step10 Triangular mode disables text entry on error input #586

blurfl opened this issue Jan 20, 2018 · 8 comments · Fixed by #587

Comments

@blurfl
Copy link
Collaborator

blurfl commented Jan 20, 2018

I fat-fingered a value and clicked 'Enter Values' and the Measurement input boxes became disabled (though the 'Bit Diameter' box was still available. Te only way forward was to 're-cut the test pattern'. What would it take to make it possible to re-enter the values witout re-running the cut?

@reecej
Copy link
Contributor

reecej commented Jan 20, 2018

@blurfl did it accept the value? If the value entered was completely wrong, the basic error-checking would kick it back to you. If the error-checking didn't kick it back, then as the code is written today you would need to re-cut the test pattern, with the option of pressing the stop cut button right after you press re-cut test pattern.

Would it be better if you were able to re-enter measurements if calibration wasn't successful? This would make sense, as since the machine parameters are not changed (due to lack of successful calibration), there should be no need to re-cut.

@reecej reecej mentioned this issue Jan 20, 2018
@davidelang
Copy link
Contributor

davidelang commented Jan 20, 2018 via email

@reecej
Copy link
Contributor

reecej commented Jan 20, 2018

Well, the change I made in that PR was to allow the values to be re-entered without a re-cut if a successful calibration was not performed. In that case, no parameters have been updated, and if the re-cut was performed it would be identical to the previous cut pattern, and therefore not worthwhile.

If the calibration was successful and the parameters were updated, then this changes a bit. Like David mentioned, we can either use the current values to help maintain the sled on the workspace, or use default parameters which would not necessitate a re-cut.

My preference would be to use the closest values to the actual measurements as possible, as that allows us to push the sled to the borders of the work area more reliably, and therefore experience more chain sag and make more accurate guesses for the machine parameters.

@blurfl
Copy link
Collaborator Author

blurfl commented Jan 20, 2018

did it accept the value?

The error detection worked properly, the value was not accepted, no calculation was completed. I measured from the 40cm mark on my tape and forgot to subtract, so it was proper to trap it. If a user enters a value with a much smaller error, you couldn't expect to recognize that. Let's not get to the "Are you sure? Enter y/n" level of user input here 🙂...

@reecej
Copy link
Contributor

reecej commented Jan 21, 2018

Does the PR I submitted sound like it helps accomplish what you were thinking of? For the measurements, if any single measurement is off by say more than 20-30mm then likely the calibration process would fail, and with that PR the calibration pattern would not need to be re-cut (as it would with the current code). Not perfect, but at least better than it is now.

@blurfl
Copy link
Collaborator Author

blurfl commented Jan 21, 2018

It does indeed! I'll get it tested tonight or tomorrow morning, sorry to take so long when you jumped up and write a fix practically instantly 👍🏻💯

@davidelang
Copy link
Contributor

davidelang commented Jan 21, 2018 via email

@reecej
Copy link
Contributor

reecej commented Jan 21, 2018

True, what I was referring to was more of the idea of using either a generic value, such as 100, or the previous rotation radius when making the cuts, rather than a value such as 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants