setting load_position only if the offset is zero
This commit is contained in:
@@ -165,6 +165,10 @@ module.exports = {
|
||||
// return this.is_idle || this.is_paused;
|
||||
},
|
||||
|
||||
can_load_origin: function (axis) {
|
||||
return this.is_idle && this.state["offset_" + axis] == 0;
|
||||
},
|
||||
|
||||
message: function () {
|
||||
if (this.mach_state == "ESTOPPED") {
|
||||
return this.state.er;
|
||||
|
||||
Reference in New Issue
Block a user