-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opponent position in low_level_features_set #110
Comments
Yes - it looks like the manual is not very specific on this point (if you want to add some better information, happy to accept PR). Here are the features for each opponent: https://github.com/LARG/HFO/blob/master/src/feature_extractor.cpp#L75 1-3: Distance and angle to the opponent (e.g. relative position) Hope this helps! |
Thanks for your answer. Thanks |
I'm not sure how/why the position is getting updated as this happens at a lower level of the code than the HFO interface. For what it's worth, here is some speculation: When full-state is off the agent should only receive updates from the things inside of its view cone. In particular if other agents aren't inside of the view cone, they will likely not be updated. However there may be a couple of reasons why you would see such an update:
|
I am going to train my agent for dribbling the opponent using DQN.
I am using the low_level_features_set in order to have access to velocities and all players orientation.
The problem is that according to the HFO manual, I only have access to 8 feature of the opponent which is :
0- pos_valid
1-vel_valid
2-3-vel_ang
4-vel_mag
5-6-ang
7- Frozen
(if I am not mistaken, because the manual do not explain exactly and I believe that the features should be the first 8 features which are available for self)
These features to not indicate the exact position of the opponent or even it's relative position to self which I need for the feature set and reward.
How can I have these data ?
Did I understand the features correctly cause it seems a bit weird that through these data we can not get any useful information from the opponent.
Thanks
The text was updated successfully, but these errors were encountered: