http://robowiki.net/w/index.php?title=Thread:User_talk:Tkiesel/DeBroglie_dev_Notebook/calling_execute()_every_tick/reply_(2)&feed=atom&action=historyThread:User talk:Tkiesel/DeBroglie dev Notebook/calling execute() every tick/reply (2) - Revision history2024-03-29T14:59:28ZRevision history for this page on the wikiMediaWiki 1.34.1http://robowiki.net/w/index.php?title=Thread:User_talk:Tkiesel/DeBroglie_dev_Notebook/calling_execute()_every_tick/reply_(2)&diff=25028&oldid=prevVoidious: Reply to calling execute() every tick2012-06-17T20:23:35Z<p>Reply to <a href="/wiki/Thread:User_talk:Tkiesel/DeBroglie_dev_Notebook/calling_execute()_every_tick" title="Thread:User talk:Tkiesel/DeBroglie dev Notebook/calling execute() every tick">calling execute() every tick</a></p>
<p><b>New page</b></p><div>I don't think you should get 2 scans in one tick, but I did find [[oldwiki:DoubleScanning]] the other day, where David Alves said: "f you skip a turn before handling the ScannedRobotEvent for that turn, you'll get 2 ScannedRobotEvents on the next turn. You only miss lose events if you skip 2 or more turns in a row, if you miss one you'll just get extra events on the next turn."<br />
<br />
My guess is that this is likely to have long ago been fixed, but I don't know for sure. It seems like Wompi and I have found some [[User_talk:Wompi#Skipped_Turns_..._what_to_know_about.3F_956|similar issues]] recently, so maybe something like that could be happening?<br />
<br />
Having everything in onScannedRobot except a turnRadar in run() makes sense, but I thought you'd still need the turnRadar in a loop, wouldn't you? If you skip a turn and your radar slips, will it ever move again?</div>Voidious