Skip to content

Commit

Permalink
update: トレジャーとダミーのブロックの1, 2を逆転
Browse files Browse the repository at this point in the history
  • Loading branch information
YKhm20020 committed Nov 10, 2023
1 parent 4f5687e commit b97d302
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rear_camera_py/src/block_de_treasure_hunter.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ def hunt(self, is_left_course):
block_map = np.zeros((length, length))
dummy_block_coords = [(0, 3), (3, 3)]
treasure_block_coord = (0, 0)
block_map[treasure_block_coord[0], treasure_block_coord[1]] = 1
for (y, x) in dummy_block_coords:
block_map[y][x] = 1
block_map[treasure_block_coord[0], treasure_block_coord[1]] = 2
block_map[y][x] = 2
# TODO: ここまで、マージする際に差し替える
print(block_map)

Expand Down

0 comments on commit b97d302

Please sign in to comment.