示例#1
0
    def __init__(self, level, params):
        '''Initializes agent in the given environment.'''

        RlAgentLevel.__init__(self, level, params)

        # initialization
        self.actionsInHandFrame = self.SampleActions()
示例#2
0
    def __init__(self, level, params):
        '''Initializes agent in the given environment.'''

        RlAgentLevel.__init__(self, level, params)

        # other internal variables
        self.SetInitialDescriptor()

        # initialization
        self.actionsInHandFrame = self.SampleActions()
示例#3
0
    def __init__(self, level, params):
        '''TODO'''

        RlAgentLevel.__init__(self, level, params)

        # other internal variables
        self.imD = params["imD"][3]
        self.imW = params["imW"][3]
        self.imDNext = params["imD"][4]
        self.imWNext = params["imW"][4]

        # initialization
        self.actionsGrasp = self.SampleActions(True)
        self.actionsPlace = self.SampleActions(False)
示例#4
0
    def __init__(self, level, params):
        '''Initializes agent in the given environment.'''

        RlAgentLevel.__init__(self, level, params)

        # other internal variables
        self.imD = params["imD"][1]
        self.imW = params["imW"][1]
        self.selD = params["selD"][1]
        self.selW = params["selW"][1]
        self.imDNext = params["imD"][2]
        self.imWNext = params["imW"][2]

        # initialization
        self.actionsInHandFrame = self.SampleActions()
    def __init__(self, params):
        '''TODO'''

        RlAgentLevel.__init__(self, 3, False, True, params)

        # other internal variables
        self.imD = params["imD"][3]
        self.imW = params["imW"][3]
        self.imDNext = params["imD"][4]
        self.imWNext = params["imW"][4]

        self.qMax = 1.0
        self.qMin = 0.0

        # initialization
        self.actionsInHandFrame = self.SampleActions()
  def __init__(self, params):
    '''Initializes agent in the given environment.'''

    RlAgentLevel.__init__(self, 2, True, False, params)

    # other internal variables
    self.imD = params["imD"][2]
    self.imW = params["imW"][2]    
    self.selD = params["selD"][2]
    self.selW = params["selW"][2]
    self.imDNext = params["imD"][3]
    self.imWNext = params["imW"][3]
    
    self.qMax = 1.0
    self.qMin = -1.0
    
    # initialization
    self.actionsInHandFrame = self.SampleActions()
  def __init__(self, params):
    '''Initializes agent in the given environment.'''

    RlAgentLevel.__init__(self, 0, False, False, params)

    # other internal variables
    self.imD = params["imD"][0]
    self.imW = params["imW"][0]
    self.selD = params["selD"][0]
    self.selW = params["selW"][0]  
    self.imDNext = params["imD"][1]
    self.imWNext = params["imW"][1]
    
    self.qMax = 1.0
    self.qMin = 0.0
    
    # initialization
    self.SetInitialDescriptor(zeros(3))
    self.actionsInHandFrame = self.SampleActions()