Difference between revisions of "Thread:User talk:Tkiesel/MovementPredictor/unit testing movement predictor"

From Robowiki
Jump to navigation Jump to search
(New thread: unit testing movement predictor)
 
(No difference)

Latest revision as of 21:29, 15 November 2012

I posted what I used to test my prediction here: User:Voidious/LocationBot. Basically it's a bot that records its movement along a bunch of random paths and prints the input (start location / heading / velocity, movement commands) and output (final location / heading) that you'd need to pass to a precise prediction unit test. (Actually it prints the actual method call so you can just copy/paste it into a unit test, if you sync it up with your method name and parameter list.)