|
| def | __init__ (self, CfgSolver cfgSolver) |
| | Construct a cyclic placement solver. More...
|
| |
| def | getNextAction (self, ImageRGBD rgbd=None, StatePuzzleScene scene=None) |
| | Return the next action to execute from current solver state. More...
|
| |
| def | getNextPiece (self, int zone, StatePuzzleScene scene, ImageRGBD rgbd) |
| | Get the next piece to place from the given zone. More...
|
| |
| def | reset_solver (self) |
| | Reset the solver state and mode. More...
|
| |
| def | checkIDplaceability (self, solID) |
| | Checks if piece with solID can be placed must have an adjacent placed piece, or should be on an edge/corner. More...
|
| |
| def | createMeasuredBoard (self, ImageRGBD rgbd, StatePuzzleScene scene, List[int] zones) |
| | Take in raw inputs and create (generic) board measurement. More...
|
| |
| def | createSolutionBoard (self, int zone_to_match) |
| | Create a solution board based on the zone we want to match against. More...
|
| |
| def | getNextAction (self) |
| | Return the next action to execute from current solver state. More...
|
| |
| def | getSequentialPlan (self, measured_board, solution_board, numPieces) |
| | Generate a sequential placement plan by sorting matched pieces by solution ID. More...
|
| |
| def | isBoardSolved (self) |
| | Check if all puzzle pieces are in place. More...
|
| |
| def | isPieceThere (self, meaPiece, StatePuzzleScene scene) |
| | Check if the measured piece is actually present in the scene by analyzing the segmentation mask. More...
|
| |
| def | performMatching (self, Arrangement measured_board, SolutionBoard solution_board) |
| | Perform correspondence tracking to find a piece to direct place. More...
|
| |
| def | reset_estimate_board (self) |
| | Set the estimate board to all pieces unsolved, based on the solution board. More...
|
| |
| def | updateSolutionRegEstimate (self, StatePuzzleScene scene) |
| | Review pieces in solution region and update estimate. More...
|
| |
Cycle through direct placement and organized-zone placement.