The default behaviour of grbl on homing is to set the machine origin at top right (which is default on industry machines), but most makers expect the machine origin to be at bottom left, like it is in vector paint / CAD software (as Inkscape) or LaserWeb.
The new compile switch HOMINGFORCEPOSITIVE_SPACE allows the user to select bottom left as his preffered machine origin.
#1 – bdring 于 2019-09-28
@cprezzi I tested your pull request. It appears to work as intended. I have a question.
Currently there is an option #define HOMINGFORCESETORIGIN. This just sets all axes to zero after a home. This option shows up in the https://github.com/bdring/Grbl_Esp32/pull/235
[gnea/grbl-Mega Issue#1] $ command extentions
[gnea/grbl-Mega Issue#2] Better interrupt priorities
[gnea/grbl-Mega Issue#3] ATMega16U2 virtual com port on ATMega2560
[gnea/grbl-Mega Issue#4] Real-time adjustable feedrates