osrf / robocup3ds

Gazebo support for the RoboCup 3D simulation league.
11 stars 2 forks source link

Transition from KickOff to playOn and vice versa #4

Closed osrf-migration closed 9 years ago

osrf-migration commented 9 years ago

Original report (archived issue) by nima shafii (Bitbucket: nima_sh).


Our way of changing the GameState e.g. BeforeKickOff to PlayOn could be improved to be more correctly. It is suggested to have this transition strategy similar to what has already been used in Robocup simulator, which is after initializing the agent, the simulator waits for 30 seconds to start the PlayOn or change the gameState by using a key press. Currently the GameState can be changed even before any agent initialized. Since the decision of beaming or initializing the agent is based on GameState, It is important to try to solve this issue.

osrf-migration commented 9 years ago

Original comment by jasonzliang NA (Bitbucket: jasonzliang).


Hey Nima, I have changed BeforeKickoff so that the transition to PlayOn timer only starts after the agent has been added.

osrf-migration commented 9 years ago

Original comment by jasonzliang NA (Bitbucket: jasonzliang).


fixed issue#4

→ \<\<cset 5525cedea3f89a7814bb19b82c935ee57d3046fd>>