## [Rtb-team-devel] First testing version of PotentialMap

 [Rtb-team-devel] First testing version of PotentialMap From: Sebastian Rolof - 2005-05-26 16:35:51 Attachments: pot_enemy.jpg ```I just finished a first testing version of PotentialMap. It compiles, but I am not that sure whether it does what it shall do - If the bot using it runs straight into walls and mines or flees from an opponent instead of attacking, there is certainly an algebraic sign error, but apart from that ... the only things the map shall do is preventing the bot from crashing into walls and mines and make him roughly drive towards the point on the map you request. Especially for the latter there will be some more problems - right now I think I have mixed up potential and gradient somewhat. Today there is lack of time. Lets see what I can do about this tomorrow. And now for everybody who is a little familiar with the algorithm, the nice colorful picture shows the potential the enemy attracts our attackers with: U(r) = -175000 * ( r + 10 ) / ( r^2 + 400 )^2 Or better: shall attract someday. ```

 [Rtb-team-devel] First testing version of PotentialMap From: Sebastian Rolof - 2005-05-26 16:35:51 Attachments: pot_enemy.jpg ```I just finished a first testing version of PotentialMap. It compiles, but I am not that sure whether it does what it shall do - If the bot using it runs straight into walls and mines or flees from an opponent instead of attacking, there is certainly an algebraic sign error, but apart from that ... the only things the map shall do is preventing the bot from crashing into walls and mines and make him roughly drive towards the point on the map you request. Especially for the latter there will be some more problems - right now I think I have mixed up potential and gradient somewhat. Today there is lack of time. Lets see what I can do about this tomorrow. And now for everybody who is a little familiar with the algorithm, the nice colorful picture shows the potential the enemy attracts our attackers with: U(r) = -175000 * ( r + 10 ) / ( r^2 + 400 )^2 Or better: shall attract someday. ```