An abstract class which stores the constraints. More...
Public Member Functions | |
def | __init__ (self, graphfactory) |
def | buildGrasp (self, g, h) |
Function called to create grasp constraints. More... | |
def | buildPlacement (self, o) |
Function called to create placement constraints. More... | |
Accessors to the different elementary constraints | |
def | getGrasp (self, gripper, handle) |
def | g (self, gripper, handle, what) |
def | getPlacement (self, object) |
def | p (self, object, what) |
Public Attributes | |
graphfactory | |
An abstract class which stores the constraints.
Child classes are responsible for building them.
def manipulation.constraint_graph_factory.ConstraintFactoryAbstract.__init__ | ( | self, | |
graphfactory | |||
) |
References manipulation.constraint_graph_factory.ConstraintFactoryAbstract._grasp, and manipulation.constraint_graph_factory.ConstraintFactoryAbstract._placement.
def manipulation.constraint_graph_factory.ConstraintFactoryAbstract.buildGrasp | ( | self, | |
g, | |||
h | |||
) |
Function called to create grasp constraints.
Must return a tuple of Constraints objects as:
g | gripper string |
h | handle string |
Referenced by manipulation.constraint_graph_factory.ConstraintFactoryAbstract.getGrasp().
def manipulation.constraint_graph_factory.ConstraintFactoryAbstract.buildPlacement | ( | self, | |
o | |||
) |
Function called to create placement constraints.
Must return a tuple of Constraints objects as:
o | string |
Referenced by manipulation.constraint_graph_factory.ConstraintFactoryAbstract.getPlacement().
def manipulation.constraint_graph_factory.ConstraintFactoryAbstract.g | ( | self, | |
gripper, | |||
handle, | |||
what | |||
) |
def manipulation.constraint_graph_factory.ConstraintFactoryAbstract.getGrasp | ( | self, | |
gripper, | |||
handle | |||
) |
References manipulation.constraint_graph_factory.ConstraintFactoryAbstract._grasp, and manipulation.constraint_graph_factory.ConstraintFactoryAbstract.buildGrasp().
Referenced by manipulation.constraint_graph_factory.ConstraintFactoryAbstract.g().
def manipulation.constraint_graph_factory.ConstraintFactoryAbstract.getPlacement | ( | self, | |
object | |||
) |
References manipulation.constraint_graph_factory.ConstraintFactoryAbstract._placement, and manipulation.constraint_graph_factory.ConstraintFactoryAbstract.buildPlacement().
Referenced by manipulation.constraint_graph_factory.ConstraintFactoryAbstract.p().
def manipulation.constraint_graph_factory.ConstraintFactoryAbstract.p | ( | self, | |
object, | |||
what | |||
) |
manipulation.constraint_graph_factory.ConstraintFactoryAbstract.graphfactory |