Is there a way to control which player we control?

31 views
Skip to first unread message

Edward Kim

unread,
Dec 23, 2020, 3:10:44 PM12/23/20
to Google Research Football
Dear developers, 

is there an API for us to explicitly designate which player we want to control manually and which ones by AI bots that you provide?

It seems that this designation is dynamically and automatically done under the hood by the simulator based on the distance of the player to the ball. 

Please let me know if you have an API to support this designation. 

Thank you. 

Edward Kim

stanczyk

unread,
Dec 24, 2020, 1:24:18 AM12/24/20
to Edward Kim, Google Research Football
Hi Edward, you can achieve this effect by controlling all players and dynamically using builtin_ai action to give back control to the builtin AI for the players you don't want to control.


--
You received this message because you are subscribed to the Google Groups "Google Research Football" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-research-fo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-research-football/6237acea-4a2a-47bf-837b-d48e97a40828n%40googlegroups.com.

Edward Kim

unread,
Dec 29, 2020, 2:04:04 PM12/29/20
to Google Research Football
Thank you for your response, but I think you misunderstood our intention. 
We are trying to "generate" certain types of scenarios (beyond what you already provided) for curriculum learning. 
And, we are assigning a model of a behavior to a number of specific players, which from the simulator's point of view, would be "manual" control assigned to specific players. 
I want to clarify that we are not trying to use an AI bot. 

However, at this point, we only find your API to designate the 'number' of manually controlled players, but no API to specifically designate 'which' players to manually control. 
This part is automatically handled by the simulator. It seems that the manual control is dynamically assigned to players according to their "closeness" to the ball. 
Do you have an API for this purpose?

Edward Kim

Piotr Stanczyk

unread,
Dec 30, 2020, 3:36:25 AM12/30/20
to Edward Kim, Google Research Football
I think my proposal addresses your use case. You can manually control all players on the field and for the once you don't want to control yourself just use builtin_ai action. That way you can achieve the effect you want - manual control of any subset of players.

Reply all
Reply to author
Forward
0 new messages