LARG / HFO

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

Update manual; avoid tabs in python files; get hand_coded_defense_agent working reliably #32

Closed drallensmith closed 7 years ago

drallensmith commented 7 years ago

This adds the python requirements and the cmake build type suggested change to the manual (and makes make all && make clean useful).

drallensmith commented 7 years ago

Sigh... I am wondering if adding "cd build && make && make install" as a git hook for "checkout" would be a good idea. Admittedly, I may be the only one who keeps forgetting it (due to mainly working with Perl and now Python).

drallensmith commented 7 years ago

The HFO script was sometimes leaving behind the server process, probably because HFO gets killed by SIGTERM (as opposed to SIGINT, from the keyboard interrupt, which would not kill it) instead of having time to shut down the server (which requires a SIGKILL). It was also using a hardwired /dev/null, which won't work on Windows (not that the various shell scripts would either).

drallensmith commented 7 years ago

The last change (mark_player_better branch merging) changes the MarkPlayer function so that, if there are multiple opponents who could be considered the kicker, avoids using the one with the passed-in unum (in other words, tries to avoid not doing what was asked for).