Ground Truth from python #47
-
Hi, is there a way to extract ground truth information about the environment state using the Python interface? I'm looking for a function or method that can return a list of all objects such as Goals, Walls, and any other relevant objects, along with their coordinates at each step of the simulation. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi again, We do not have a function for getting a list of all objects spawned but i have created a python script to do this for you (manually). It provides the objects with their positions PER arena, meaning it is organized per arena:
Simply copy/paste this code and run it via your terminal of choice: I hope this helps :) Ibrahim |
Beta Was this translation helpful? Give feedback.
Hi again,
We do not have a function for getting a list of all objects spawned but i have created a python script to do this for you (manually). It provides the objects with their positions PER arena, meaning it is organized per arena: