LARG / HFO

Half Field Offense in Robocup 2D Soccer
MIT License
230 stars 93 forks source link

Include defense actions, update high level feature space, add sarsa/hand coded agents #22

Closed asiddharth closed 7 years ago

asiddharth commented 7 years ago

This pull request has 2 commits.

  1. Added defense actions, changed feature space Added REDUCE_ANGLE_TO_GOAL, GO_TO_BALL, MARK_PLAYER, DEFEND_GOAL. Changed feature space so that all the teammates and opponents positions are encoded by (x,y) instead of (r,theta).

  2. Refactored SARSA common code, as now, we have 2 SARSA agents, 1 for defense and 1 for offense. Also added a hand coded defense agent.

mhauskn commented 7 years ago

Thanks for making the corrections. These changes look good. One final thing: could you update the manual to reflect the changes in the high-level state/action space?

asiddharth commented 7 years ago

Changed the manual accordingly