Open torressliu opened 2 years ago
兄弟,你搞的咋样的,我最近也在研究如何把HFO改成多智能体,没搞出来? 你这个错误是:两个thread之间要加延时就可以了,time.sleep(5).
Hi ,chunpeng. My MA-HFO wrapper is finished.however, the reward functions is not very suitful . we can create a wechat group if you like.
Hello, what I am doing is packaging HFO into a GYM environment for multi-agent reinforcement learning algorithms. To always maintain the connection between the algorithm and the HFO server. I will" hfo_env connectToServer (hfo. LOW_LEVEL_FEATURE_SET, '/root/autodl-tmp/HFO-master/bin/teams/base/config/formations-dt', Args. Port, 'localhost', 'base_left', False) "wraps to a thread. And keep the thread in a loop. However, the connection still cannot be maintained and the server will down. And it is no use to add"config.set_serverWaitSeconds(500);//add" in HFO.cpp, Do you know why? My thread code is at the bottom.
class Player(threading.Thread):
@mhauskn