From 90e7f15112f47756983e1d2013b70f78d788b3dc Mon Sep 17 00:00:00 2001 From: cheapie Date: Tue, 14 May 2024 17:42:12 -0500 Subject: Allow changing inspection speed Can be set to 0.1-0.7m/s, cannot be higher than contract speed --- controller.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controller.lua') diff --git a/controller.lua b/controller.lua index 2e47c98..365cf73 100644 --- a/controller.lua +++ b/controller.lua @@ -427,7 +427,7 @@ function celevator.controller.finish(pos,mem,changedinterrupts) if drivetype then for _,command in ipairs(mem.drive.commands) do if command.command == "moveto" then - celevator.drives[drivetype].moveto(drivepos,command.pos) + celevator.drives[drivetype].moveto(drivepos,command.pos,command.inspection) elseif command.command == "setmaxvel" then celevator.drives[drivetype].setmaxvel(drivepos,command.maxvel) elseif command.command == "resetpos" then -- cgit v1.2.3