Closed pv33 closed 3 years ago
I double-checked my codes, and I have already used deepcopy
before https://github.com/ivapylibs/puzzle_solver/blob/master/puzzle/builder/gridded.py#L162.
Now we can work on 60 pieces with some certain image covers (The image difference needs to be distinct) by the sift feature. Our edge color feature matching cannot work very well. Usually, it would have 8-12 failure cases of the 60 matches.
One process that will be needed is to establish the correct locations of a puzzle from the exploded view plus a puzzle solving process. This requires going from the exploded state to the solved state one step at a time.
This part can be a hard coded script to do the process for now.
Later, there will be a
plan
generated to do the same. I will soon add an issue in another milestone for you to generate this plan and to eventually build up thesimulator
to parse the plan.Personal notes for this are in the 2021 Fall W01 notes. First as a
simple
simulator then as alayered
simulator that can have pieces disappear by moving to another layer temporarily. The simulator will work with atomic actions as encoded within aplan
and therefore more explicitly encode turn-based and time-based operations. It will get us one step closer to a ROS version that does the same.