def getObservation(self):
        """ a filtered mapping to getSample of the underlying environment. """
        sensors = self.env.getSensors()
        #Sensor hand to target object
        for i in range(3):
            self.dist[i] = ((sensors[self.env.obsLen - 9 + i] + sensors[self.env.obsLen - 6 + i] + sensors[self.env.obsLen - 3 + i]) / 3.0 - (sensors[self.env.obsLen - 12 + i] + self.dif[i])) * 4.0 #sensors[self.env.obsLen-12+i]
        #Sensor hand angle to horizontal plane X-Axis
        for i in range(3):
            self.dist[i + 3] = (sensors[self.env.obsLen - 3 + i] - sensors[self.env.obsLen - 6 + i]) * 5.0
        #Sensor hand angle to horizontal plane Y-Axis
        for i in range(3):
            self.dist[i + 6] = (2.0 / (sensors[self.env.obsLen - 3 + i] + sensors[self.env.obsLen - 6 + i]) - sensors[self.env.obsLen - 9 + i]) * 10.0
        if self.sensor_limits:
            sensors = self.normalize(sensors)
        sens = []
        for i in range(self.env.obsLen - 12):
            sens.append(sensors[i])
        for i in range(9):
            sens.append(self.dist[i])
        for i in self.oldAction:
            sens.append(i)
        return sens
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/ode/tasks/ccrl.py/CCRLTask.getObservation/swapped operands of `/`