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).
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.
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?
This pull request has 2 commits.
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).
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.