Closed tessavdheiden closed 4 years ago
Hi Tessa,
I think the code is correct. The range of index goes from 0 to self.cell_num ** 2 - 1. It is the index of cells on the map. Why do you think it's incorrect?
Changan
Hi Changan,
You are right, I thought you wanted to do something in the image (lower part), but yours (upper part) is also correct!
Hi Changan!
Super code! In multi_human_rl.py you compute the locations incorrectly. Please alter this piece of code: line 154:
dm[int(index) + self.cell_num ** 2].append(other_vx[i])
dm[int(index) + self.cell_num ** 2 * 2].append(other_vy[i])