shinseung428/RLRobotSimulation

i am getting a error

hemalathakkk opened this issue · 0 comments

Warning (from warnings module):
File "F:/RLRobotSimulation-master/neural network\Map.py", line 82
resultProb.append(round(self.occ_map[x][y]/self.count_map[x][y] * 100,2))
RuntimeWarning: invalid value encountered in double_scalars
Traceback (most recent call last):
File "F:\RLRobotSimulation-master\neural network\obstacle avoidance\statictest.py", line 403, in
robot.display(screen)
File "F:/RLRobotSimulation-master/neural network\Robot.py", line 244, in display
pygame.draw.circle(screen,self.colour,(int(self.x),int(self.y)),self.size,self.thickness)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'tuple'