semitable / lb-foraging

Level-based Foraging (LBF): A multi-agent environment for RL
MIT License
151 stars 64 forks source link

Wonder whether step() and reset() only return observation #3

Closed dwyzzy closed 2 years ago

dwyzzy commented 2 years ago

Thank you very much for such a great work!

I hope to know whether the code means it will not return any information about the absolute position of the agents and the food when using step() and reset() in environment.py

I am looking forward to hearing from you! Thank you! (I'm sorry if I missed somthing important)

semitable commented 2 years ago

Hi!

The positions are relative to the controlled agent. In the fully observable setting (default), there should be enough information for an agent to infer its location.

dwyzzy commented 2 years ago

Thank you very much!

shark939393 commented 2 years ago

how can I set players as q_agent? I want to use other types of agents