minosworld / minos

MINOS: Multimodal Indoor Simulator
MIT License
201 stars 33 forks source link

Reading back agent state data #78

Open kanwal41g opened 6 years ago

kanwal41g commented 6 years ago

Hi.. I have implemented the gym/demo.py... and printed the orientation of the agent using the command told by you guys in an earlier issue. However, i want to know how to print the agent orientation and position on terminal in actual simulations. What files and lines are responsible for this.

msavva commented 6 years ago

You can retrieve the agent state by using the dev branch of the codebase. If you are switching from master please remember to follow all the installation steps in the README.md file of the dev branch. In the gym demo.py you can access info['agent_state'] to retrieve the position and orientation of the agent after each step.