Environment/LASROMEnv.py
def _reward_ir(self, observation):
        """
        Reward function based on proximity sensor reading
        """
        length = self.prox_sensor_num
        reward = 0
        for i in range(length):
            reward += observation[i]

        return reward

        Reward function based on proximity sensor reading
        
Reward function based on proximity sensor reading
Reward function based on proximity sensor reading
def _reward_ir(self, observation):
        length = self.prox_sensor_num
        reward = 0
        for i in range(length):
            reward += observation[i]
        return reward
def _reward_ir ( self , observation ) : length = self . prox_sensor_num reward = 0 for i in range ( length ) : reward += observation [ i ] return reward
Reward function based on proximity sensor reading
Reward function based on proximity sensor reading
"""
        Reward function based on proximity sensor reading
        """
self
observation