Skip to content

Commit

Permalink
Update map selection to choose randomly from map pool
Browse files Browse the repository at this point in the history
  • Loading branch information
ll7 committed Mar 27, 2024
1 parent 2283eef commit 363ddb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robot_sf/gym_env/robot_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(
self.env_config = env_config

# Extract first map definition; currently only supports using the first map
map_def = env_config.map_pool.map_defs["uni_campus_big"]
map_def = env_config.map_pool.choose_random_map()

# Initialize spaces based on the environment configuration and map
self.action_space, self.observation_space, orig_obs_space = \
Expand Down

0 comments on commit 363ddb6

Please sign in to comment.