Skip to content

Commit

Permalink
fix map path, now uses correct directory
Browse files Browse the repository at this point in the history
  • Loading branch information
hzheng40 committed Feb 28, 2024
1 parent 21a9e44 commit 4a001f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gym/f110_gym/envs/track/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def find_track_dir(track_name: str) -> pathlib.Path:
FileNotFoundError
if no map directory matching the track name is found
"""
map_dir = pathlib.Path(__file__).parent.parent.parent.parent / "maps"
map_dir = pathlib.Path(__file__).parent.parent.parent.parent.parent / "maps"

if not (map_dir / track_name).exists():
print("Downloading Files for: " + track_name)
Expand Down

0 comments on commit 4a001f7

Please sign in to comment.