Environments
Creating env instances
To retrieve an env instance from the teacher,
you can use the TeacherEnv() function:
The args parameter should be a command-line args object.
- highrl.envs.teacher_env.TeacherEnv(robot_config)
Return an instance of the teacher env.
- Parameters:
robot_config (configparser.RawConfigParser) – Configurations object for robot env.
teacher_config (configparser.RawConfigParser) – Configurations object for teacher env.
args (argparse.Namespace) – Command-line arguments.
- Returns:
A new instance of the teacher env.
- Return type:
gym.Env
Compute the difficulty
you can use the highrl.utils.planner_checker.convex_hull_compute() function:
autofunction:: highrl.utils.p