chore: add a print debug line

This commit is contained in:
Guillaume ARM 2024-05-08 22:07:51 +02:00
parent 744078bab3
commit 1b3a46e608

View File

@ -153,6 +153,8 @@ local function mineProcedure()
miner.robot.down() miner.robot.down()
elseif robotState.dir == 'FORWARD' and robotState.z < targetZ then elseif robotState.dir == 'FORWARD' and robotState.z < targetZ then
-- TODO: remove this print (debug purpose)
print(robotState.z, targetZ)
turtleUtils.digAll() turtleUtils.digAll()
miner.robot.forward() miner.robot.forward()
elseif robotState.dir == 'FORWARD' and robotState.z == targetZ then elseif robotState.dir == 'FORWARD' and robotState.z == targetZ then