Closed Hanziscool closed 2 years ago
How to reproduce this bug :
I am not quite sure if it matters if we have object_randomization.
Current code:
That may not be enough.
after all objects fell, then it will be picked up by done and we will reset and we will always sample new object_placements in line 1146 before positioning objs in L 1151
for relationalRL do:
This should help you get the latest changes.... as shown here:
We can remove these empty assignments in get_goal_object and then test if that will cause any downstream problems, or perhaps more robust would be to check that the the name is not empty before trying to place anything....
i think checking for not empty names is better to tackle other unforeseen cases where the obj.name might be empty
I had put a bad check inside return_sorted_objs_to_model
if goal == {}:
return {}
probably should be if goal == {} or goal['name']==[]
Still getting the same error... We are still missing something...
Pull commit 3080530..9a6b193 (minor clearing of comments) Bug:
Brainstorming: