This commit is contained in:
Kai Vogelgesang 2020-07-08 12:38:09 +02:00
parent 4f07fa660b
commit f5f937fe12

View File

@ -245,7 +245,7 @@ end
while true do while true do
print("---------------") print("---------------")
print("State: " .. T.state.current_state) print("State: " .. T.state.current_state)
print("Pos: " .. T.state.x .. "," .. T.state.z .. "(" .. T.getorientation() .. ")") print("Pos: " .. T.state.x .. "," .. T.state.z .. "(" .. T.getOrientation() .. ")")
T.state.current_state = state_machine[T.state.current_state]() T.state.current_state = state_machine[T.state.current_state]()
write("Enter to step ") write("Enter to step ")