User talk:Positive/Optimal Velocity

From Robowiki
< User talk:Positive
Revision as of 21:26, 15 July 2009 by Positive (talk | contribs) (Small update necessary)
Jump to navigation Jump to search

Your version passes all of my tests (so far) except that it doesn't take into account the maximum velocity set by the bot. Nice catch on the updateMovement() routine, that should get fixed too (my tests assume that behaviour already). --Darkcanuck 20:21, 15 July 2009 (UTC)

Great! Please replace 8.0 in the getNewVelocity function with currentCommands.getMaxVelocity(), and it should work I believe (I temporarily set it to 8.0, because I am not using the currentCommands class). :) --Positive 20:26, 15 July 2009 (UTC)