Commit a6a8ba5ffa192e11db338eb812965cdb232080bc

Authored by Sakthi Sivaraman
1 parent 5e24792766
Exists in master

Fixed map_utils

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

scripts/map_utils.py View file @ a6a8ba5
... ... @@ -108,8 +108,8 @@
108 108 """
109 109 Determine the x, y cooridantes of the center of a particular grid cell.
110 110 """
111   - x = row * self.resolution + .5 * self.resolution + self.origin_x
112   - y = col * self.resolution + .5 * self.resolution + self.origin_y
  111 + x = col * self.resolution + .5 * self.resolution + self.origin_x
  112 + y = row * self.resolution + .5 * self.resolution + self.origin_y
113 113 return x, y
114 114  
115 115 def set_cell(self, x, y, val):