From: Hedayat V. <hed...@ai...> - 2007-06-18 08:11:42
|
Hi Yuan, There is a problem; currently the right team can't think that they are on the left because: 1. the init message says: (team right) 2. All of the game states use "right" for that team (e.g. KickOffRight). I just want to say that it would be better if we use "left" and "right" consistently. To be more consistent, we may avoid using left and right for the flags altogether. For example, we may call: our flags and opponent flags! And we may use left and right instead of 1 and 2 which are used currently. So, we will have "our left flag(FLO), our right flag (FRO),..."!! (This is an example only). Cheers, Hedayat /*"Yuan Xu" <xuy...@gm...>*/ wrote on 06/17/2007 06:33:16 AM: > Hi Joschka, > > > >> I had to do some changes in order to make the code compile again. It >> seems you forgot to update your sources before you committed your >> changes. Please remember to always update before a commit. Also, please >> record your changes in the ChangeLog file. >> > > Thank you very much for your guide! > I will take a look at it. > > Come back to the Vision Perceptor, there is still a problem. > I flipped all the object global positions for right team, > the agent will assume he is still in left side while localizing by flags, > but other objects information are wrong ;-( > So, in fact I think what we need is only flip the flags (and goal flags), > then the right team also think they are in left. > Otherwise, do not flip any object, then teams take care of this themselves, > I checked my old 3D sphere agent code, the agent need to take care it. > So, just now I have commented out the flip. > If we know which is flag or not, we can do something better. > > Any idea? > > > |