Skip to content

Commit

Permalink
[BugFix] VMAS parameters names (#149)
Browse files Browse the repository at this point in the history
* fix flocking

* fix dispersion
  • Loading branch information
matteobettini authored Nov 27, 2024
1 parent 8045155 commit 3d15312
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion benchmarl/conf/task/vmas/dispersion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ defaults:
max_steps: 100
n_agents: 4
n_food: 4
share_rew: True
share_reward: True
food_radius: 0.02
penalise_by_time: False
2 changes: 1 addition & 1 deletion benchmarl/conf/task/vmas/flocking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ defaults:

max_steps: 100
n_agents: 4
n_targets: 5
n_obstacles: 5
collision_reward: -0.1
2 changes: 1 addition & 1 deletion benchmarl/environments/vmas/dispersion.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ class TaskConfig:
max_steps: int = MISSING
n_agents: int = MISSING
n_food: int = MISSING
share_rew: bool = MISSING
share_reward: bool = MISSING
food_radius: float = MISSING
penalise_by_time: bool = MISSING
2 changes: 1 addition & 1 deletion benchmarl/environments/vmas/flocking.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
class TaskConfig:
max_steps: int = MISSING
n_agents: int = MISSING
n_targets: int = MISSING
n_obstacles: int = MISSING
collision_reward: float = MISSING

0 comments on commit 3d15312

Please sign in to comment.