Difference between revisions of "Talk:Darkcanuck/VelocityTest"

From Robowiki
Jump to navigation Jump to search
(ok, some major issues?)
 
(oops, not as major but still broken)
Line 1: Line 1:
 +
Scratch that last posted result -- was using the method from 1.7.1.2 Beta by accident.  Here's the corrected test result:
 +
 
<pre>
 
<pre>
 
Starting velocity=0.0 distance=6.0
 
Starting velocity=0.0 distance=6.0
Line 4: Line 6:
 
   2 velocity=2.0 remain=3.0
 
   2 velocity=2.0 remain=3.0
 
   3 velocity=3.0 remain=0.0
 
   3 velocity=3.0 remain=0.0
   4 velocity=0.0 remain=0.0
+
   4 velocity=1.0 remain=-1.0
 +
  5 velocity=-0.75 remain=-0.25
 +
  6 velocity=-0.25 remain=0.0
 +
  7 velocity=0.0 remain=0.0
 
</pre>
 
</pre>
Two problems here:
+
Still a problem here:
 
* at tick 3 the bot should have stayed at velocity 2 then decelerated to 1 to hit the target
 
* at tick 3 the bot should have stayed at velocity 2 then decelerated to 1 to hit the target
* at tick 4 the bot magically decelerates by 3 due to a bug in the formula!
+
* the bot then overshoots and takes its time to get on target
 
+
* this should have been a 4-tick move...
 
--[[User:Darkcanuck|Darkcanuck]] 05:22, 15 July 2009 (UTC)
 
--[[User:Darkcanuck|Darkcanuck]] 05:22, 15 July 2009 (UTC)

Revision as of 07:35, 15 July 2009

Scratch that last posted result -- was using the method from 1.7.1.2 Beta by accident. Here's the corrected test result:

Starting velocity=0.0 distance=6.0
  1 velocity=1.0 remain=5.0
  2 velocity=2.0 remain=3.0
  3 velocity=3.0 remain=0.0
  4 velocity=1.0 remain=-1.0
  5 velocity=-0.75 remain=-0.25
  6 velocity=-0.25 remain=0.0
  7 velocity=0.0 remain=0.0

Still a problem here:

  • at tick 3 the bot should have stayed at velocity 2 then decelerated to 1 to hit the target
  • the bot then overshoots and takes its time to get on target
  • this should have been a 4-tick move...

--Darkcanuck 05:22, 15 July 2009 (UTC)