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

Visual Homing returns true when no fiducial is found #816

Closed
cncmachineguy opened this issue Mar 15, 2019 · 3 comments
Closed

Visual Homing returns true when no fiducial is found #816

cncmachineguy opened this issue Mar 15, 2019 · 3 comments
Labels

Comments

@cncmachineguy
Copy link
Contributor

cncmachineguy commented Mar 15, 2019

Problem Report

Describe the Issue

If no Home_fiducial is found, visualHoming returns true and the machine thinks it is homed.

Steps to Reproduce

If you use visual homing already, just cover the fid so it can not be seen.
If you do not use visual homing, simply enable it
Now home the machine as normal

Expected Result

I expect when the visual homing is done, if no fiducial is found an error might be thrown, or at the least do not set the machine as homed.

Actual Result

Machine is set as homed and acts ready to go as if it is homed.

Notes, Log Files, Screen Captures, Videos, etc. to Show the Issue

2019-03-03 23:35:08.977 ReferenceFiducialLocator DEBUG: No matches found!
2019-03-03 23:35:08.981 GcodeDriver DEBUG: sendCommand(G92X0Y0Z0C0, -1)...
2019-03-03 23:35:08.982 GcodeDriver TRACE: [serial://COM7] >> G92X0Y0Z0C0
2019-03-03 23:35:08.986 GcodeDriver TRACE: [serial://COM7] << ok
2019-03-03 23:35:08.986 GcodeDriver DEBUG: sendCommand(serial://COM7 G92X0Y0Z0C0, -1) => [ok]
2019-03-03 23:35:08.986 GcodeDriver DEBUG: sendCommand(G4P0, -1)...
2019-03-03 23:35:08.986 GcodeDriver TRACE: [serial://COM7] >> G4P0
2019-03-03 23:35:08.990 GcodeDriver TRACE: [serial://COM7] << ok
2019-03-03 23:35:08.990 GcodeDriver DEBUG: sendCommand(serial://COM7 G4P0, -1) => [ok]
2019-03-03 23:35:08.992 ReferenceMachine DEBUG: setHomed(true)

@vonnieda vonnieda added the bug label Jun 6, 2019
@doppelgrau
Copy link
Contributor

I think this can be closed, reference head throws an exception if no location is found, reference machine does not catch it (only exceptions in scripting).
Guess had been solved without closing the bug?! (commit 3e64b57)

@markmaker
Copy link
Collaborator

Guess had been solved without closing the bug?! (commit 3e64b57)

Yes this was solved, but in 2fa440c, i.e. #1035.

@cncmachineguy
Copy link
Contributor Author

cncmachineguy commented Apr 26, 2021 via email

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

No branches or pull requests

4 participants