Displacement Vector

From Robowiki
Revision as of 22:08, 23 September 2009 by Voidious (talk | contribs) (creating a page for this term; picture(s) later)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article or section needs more images, media, or examples.
Please upload content and improve this article if you can.
Wikipedia
Wikipedia has an article about:

A representation of a bot's relative movement that can be used in recording and reconstructing firing angles. The bot's positions at the beginning and end of a period of time (e.g., as produced by a wave) form a vector relative to the bot's initial heading. The resulting vector can be applied to future situations to project the enemy's movement and deduce a firing angle. The vector may be scaled by Bullet Travel Time to adapt it to different distances and bullet powers, similar to how GuessFactors are scaled by Maximum Escape Angle.

Advantages

  • The data recorded is not relative to the location of the firing bot, as a GuessFactor would be. This is important in melee, where most enemy movements are not relative to a specific opponent.
  • When predicting enemy movement, projections that lead out of bounds can be ignored or adjusted.
  • Reconstructing firing angles is much faster than Play-It-Forward simulation, while offering similar advantages.

See also

  • Diamond uses displacement vectors in its gun.