IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
Public Member Functions | List of all members
PlannerHand Class Reference
Inheritance diagram for PlannerHand:
Inheritance graph
[legend]
Collaboration diagram for PlannerHand:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, solver, manager, theParams=ParamPlanner)
 
def process (self, input, hand, COMPLETE_PLAN=True, SAVED_PLAN=True, RUN_SOLVER=True)
 
- Public Member Functions inherited from Planner
def __init__ (self, solver, Manager manager, theParams=ParamPlanner)
 
def adapt (self, meaBoard, visibleMask, theImageMea, rLoc_hand=None, COMPLETE_PLAN=True, SAVED_PLAN=True, RUN_SOLVER=True, PLAN_WITH_TRACKBOARD=True)
 
def adapt_simulator (self, meaBoard, rLoc_hand=None, COMPLETE_PLAN=True, SAVED_PLAN=True, RUN_SOLVER=True)
 
def measure (self, img)
 
def process (self, input, rLoc_hand=None, visibleMask=None, theImageMea=None, COMPLETE_PLAN=True, SAVED_PLAN=True, RUN_SOLVER=True, planOnTrack=False)
 

Additional Inherited Members

- Public Attributes inherited from Planner
 displayBoard
 
 loc_history
 
 manager
 
 params
 
 record
 
 solver
 
 status_history
 
 theManager_intra
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  solver,
  manager,
  theParams = ParamPlanner 
)
@brief  Define the general planner planning process.

Args:
    solver: The solver instance responsible for plan the execution order.
    manager: The manager instance responsible for determining the
    association between the measured board and the solution board

Member Function Documentation

◆ process()

def process (   self,
  input,
  hand,
  COMPLETE_PLAN = True,
  SAVED_PLAN = True,
  RUN_SOLVER = True 
)
@brief  Draft the action plan given the measured board.

Args:
    input: A measured board or an RGB image.
    hand: The hand instance.
    COMPLETE_PLAN: Whether to plan the whole sequence.
    SAVED_PLAN: Use the saved plan (self.plan) or not.
    RUN_SOLVER: Whether to compute the solver to get the next action plan.
        Otherwise, only the board will be recognized and updated.
Returns:
    plan_new: The updated plan for hand.

The documentation for this class was generated from the following file: