Command handeling
This commit is contained in:
@@ -39,7 +39,7 @@ wss.on("connection", (ws) => {
|
||||
|
||||
console.log("Message from WSS: " + msg);
|
||||
if (data.type === "jog") {
|
||||
fluid.jog(data.axis, data.value);
|
||||
fluid.jog(data.relative, data.axis, data.value);
|
||||
}
|
||||
|
||||
if (data.type === "gcode") {
|
||||
|
||||
Reference in New Issue
Block a user