Debug Prints
This commit is contained in:
parent
5aae3ab55b
commit
a6a0d9f932
@ -58,6 +58,7 @@ local function calculate_tree_position(row_index, tree_index)
|
||||
end
|
||||
|
||||
local function greedy_move(x, z, o)
|
||||
print("Move Target: " .. x .. "," .. z .. " (" .. o .. ")")
|
||||
if z ~= T.state.z then
|
||||
if z > T.state.z then
|
||||
T.rotateTowards("+z")
|
||||
@ -242,5 +243,6 @@ end
|
||||
|
||||
-- main loop
|
||||
while true do
|
||||
print("State: " .. T.state.current_state)
|
||||
T.state.current_state = state_machine[T.state.current_state]()
|
||||
end
|
Loading…
Reference in New Issue
Block a user