Open
Description
I believe this line:
b1 = helpers.find_if( lambda x: status(x,state,goal,'table') == 'waiting', helpers.all(state))
should be this one to prevent infinite recursion when a block is waiting but already on the table:
b1 = helpers.find_if( lambda x: status(x,state,goal,'table') == 'waiting' and state.pos[x] != 'table', helpers.all(state))
You can trigger the bug in the current code by reversing the order of key iteration in find_if.
Metadata
Metadata
Assignees
Labels
No labels