benchmarl.environments.VmasTask
- class VmasTask(value)[source]
Bases:
TaskEnum for VMAS tasks.
- BALANCE = 1
- SAMPLING = 2
- NAVIGATION = 3
- TRANSPORT = 4
- REVERSE_TRANSPORT = 5
- WHEEL = 6
- DISPERSION = 7
- MULTI_GIVE_WAY = 8
- DROPOUT = 9
- GIVE_WAY = 10
- WIND_FLOCKING = 11
- PASSAGE = 12
- JOINT_PASSAGE = 13
- JOINT_PASSAGE_SIZE = 14
- BALL_PASSAGE = 15
- BALL_TRAJECTORY = 16
- BUZZ_WIRE = 17
- FLOCKING = 18
- DISCOVERY = 19
- FOOTBALL = 20
- SIMPLE_ADVERSARY = 21
- SIMPLE_CRYPTO = 22
- SIMPLE_PUSH = 23
- SIMPLE_REFERENCE = 24
- SIMPLE_SPEAKER_LISTENER = 25
- SIMPLE_SPREAD = 26
- SIMPLE_TAG = 27
- SIMPLE_WORLD_COMM = 28
- get_task(config: Dict[str, Any] | None = None) TaskClass
Get the
TaskClassobject associated with this enum element by passing it the task name and config.If no config is given, it will be loaded from
benchmarl/conf/task/self.env_name()/self.nameusingTask.get_from_yaml().
- property config
- static log_info(batch: TensorDictBase) Dict[str, float]
- static render_callback(experiment, env: EnvBase, data: TensorDictBase)