minerl
minerl copied to clipboard
Is there any way to get the agent's location, i.e. (x,y,z) coordinates during the simulation?
Is there any way to get the agent's location, i.e. (x,y,z) coordinates during the simulation? Thanks.
Hey! If you create this environment, you should see more entries in the obs
than just the image (or in the info
variable), which should also contain position information somewhere in there. Sorry for lack of details, stopping by atm ^^
Thanks for the reply. Is there any easy way to enable the position info in some pre-defined environment?
For example: In the tutorial: Hello World: Your First Agent (https://minerl.readthedocs.io/en/stable/tutorials/first_agent.html)
env = gym.make('MineRLBasaltFindCave-v0')
Is it possible to insert several lines of code to enable the position info?