Talk:Energy Management

From Robowiki
Revision as of 15:46, 26 September 2008 by Nfwu (talk | contribs) (Discussion: Old wiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Credits - Energy Management
Old wiki page: EnergyManagement
Original author(s): Albert

Old Wiki

Out of curiousity, does anyone know the most commonly called getXXX() methods?--Starrynte

I'm not really sure what you mean. You call those methods in your bot, so it really depends which ones you decide to call the most. Also, what does this have to do with EnergyManagement? --wcsv

Maybe...because if you call getXXX() you can get disabled. I'll post on Starrynte then (my reason is a lame one)--Starrynte

You can only call getXXX methods something like 10,000 times per tick. Maybe you are forgetting to call execute() in the while() loop of your run method? If you really need to do 10,000 things wih a value in one tick, just assign it to a variable instead of using getXXX in your loop. -- Voidious