LARG / HFO

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

Add ball y parameters for HFORef::resetField() #54

Closed wbwatkinson closed 7 years ago

wbwatkinson commented 7 years ago

This PR works in conjunction with a proposed PR for mhauskn/rcssserver that adds the option of setting min y and max y ball position from the command line. The range of these values is -1.0 to 1.0 which corresponds to the top of the field to the bottom of the field, respectively. Without setting these at the command line, the default behavior is unchanged, where the ball is placed vertically in the mid-80% of the field.