UnitTests
This commit is contained in:
@@ -111,6 +111,8 @@ class GCode{
|
||||
robot.theta = Math.PI / 2;
|
||||
robot.psi = 0;
|
||||
robot.e = 0;
|
||||
robot.calculateAngles3D();
|
||||
robot.sendCommand();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ module.exports = class TelnetSenderGRBL{
|
||||
this.receiver = null;
|
||||
|
||||
this.urlGRBLstr = urlGRBL;
|
||||
this.maxSpeedF = maxSpeedF;
|
||||
this.xAxisGrbl = xAxisGrbl;
|
||||
this.yAxisGrbl = yAxisGrbl;
|
||||
this.zAxisGrbl = zAxisGrbl;
|
||||
@@ -329,7 +330,7 @@ module.exports = class TelnetSenderGRBL{
|
||||
}
|
||||
}
|
||||
|
||||
data += " f"+(maxSpeedF.toFixed(2).toString())
|
||||
data += " f"+(this.maxSpeedF.toFixed(2).toString())
|
||||
|
||||
|
||||
if(this.tSocket && data.length > 3){
|
||||
|
||||
Reference in New Issue
Block a user