svenhb / GRBL-Plotter

A GCode sender (not only for lasers or plotters) for up to two GRBL controller. SVG, DXF, HPGL import. 6 axis DRO.
https://grbl-plotter.de/
GNU General Public License v3.0
674 stars 176 forks source link

After doing camera setup for tool coordinate, coordinate system breaks #225

Closed yagizzha closed 3 years ago

yagizzha commented 3 years ago

image

After 0'ing X and Y to set up our tool and camera coordinate , homing again results in weird points . -711 and -370 on G54 for example . Is there a way to make tool coordinate so that its relative to our current position rather then having a set position?

svenhb commented 3 years ago

Don't you use homing to get a machine reference point?

svenhb commented 3 years ago

At least you could move to lower left position (hardware stop) and do an hardware reset of you grbl-controller to get 0;0 for machine coordinates.

futurau commented 3 years ago

In reality, camera position is relative to tool position (xy offset between camera and tool). But camera coordinate system and tool coordinate systems are relative to machine coordinate system in g-code logic. If we reset grbl or zero machine coordinate system; selected coordinate system (for example G54) change but the other coordinate system doesn’t change (for example G59). And the offset value between G54 and G59 became wrong. We can’t find a way to store and reuse tool and camera offset after homing or resetting system. Any suggestions?

svenhb commented 3 years ago

I'm working on two new camera mountings:

Still in progress but I already started the manual: https://grbl-plotter.de/index.php?id=form-camera-1&lang=en