roboticslab-uc3m / gymnasium-playground

gymnasium-playground
0 stars 0 forks source link

[gridworld] add "distance to goal" in `info` #5

Closed jgvictores closed 1 year ago

jgvictores commented 1 year ago

[gridworld] add "distance to goal" in info. This is in fact done in https://gymnasium.farama.org/tutorials/environment_creation (https://gymnasium.farama.org/_downloads/01a413564c9bff768b24ed43b946607d/environment_creation.py) and can be useful for any algorithms that uses this information as a heuristic (e.g. as is done in A* conventional planning).

jgvictores commented 1 year ago

Done via https://github.com/roboticslab-uc3m/gymnasium-playground/commit/03c26138b4a48ef7630ecd59e1de116859e09e7f