Difference between revisions of "User:Tkiesel/MovementPredictor"

From Robowiki
Jump to navigation Jump to search
(page creation)
 
m (correcting a term)
Line 4: Line 4:
 
** a pluggable prediction stop condition Object [already done] (not everyone decides a wave has broken at the same time)
 
** a pluggable prediction stop condition Object [already done] (not everyone decides a wave has broken at the same time)
 
** a pluggable radius control Object (not everyone alters their turn angle to control distance in the same way)
 
** a pluggable radius control Object (not everyone alters their turn angle to control distance in the same way)
* Nat's code already has almost everything needed to Precise Predict for a GoTo surfer, I think I'll just add a wrapper class to allow directly plugging in a battlefield coordinate.
+
* Nat's code already has almost everything needed to Precise Predict for a GoTo surfer, I think I'll just add a wrapper method to allow directly plugging in a battlefield coordinate.
  
 
I think I'll make a hacked up version of sample.Interactive and paint debug graphics all over the screen to test this thing.
 
I think I'll make a hacked up version of sample.Interactive and paint debug graphics all over the screen to test this thing.

Revision as of 01:31, 25 May 2012

I've begun an expansion of Nat's Movement Predictor which will hopefully include:

  • precise MEAs (predict as far laterally from HOT as possible, smoothing against wall, take into account farthest bot corner for final angle calc.)
  • forward/stop/back orbit around a center point for TrueSurfers, including:
    • a pluggable prediction stop condition Object [already done] (not everyone decides a wave has broken at the same time)
    • a pluggable radius control Object (not everyone alters their turn angle to control distance in the same way)
  • Nat's code already has almost everything needed to Precise Predict for a GoTo surfer, I think I'll just add a wrapper method to allow directly plugging in a battlefield coordinate.

I think I'll make a hacked up version of sample.Interactive and paint debug graphics all over the screen to test this thing.

  • WASD to move center of surfed wave/MEA origin.
  • +/- to change the desired orbit radius around the wave center
  • GoTo prediction at mouse
  • Draw MEA, back/stop/forward TrueSurf, GoTo prediction points.
  • It'll be an ugly mess, but should debug the wall smoothing and prediction wonderfully!