Talk:VARBot

From Robowiki
Revision as of 17:07, 10 June 2010 by Voidious (talk | contribs) (reply)
Jump to navigation Jump to search

For those that have tackled messaging between teammates or have thought about the concept, I'd like to hear about it. I plan to document the various team-based messaging concepts here prior to implementation and the stuff that actually works will end up in the documentation.

I've done a bit. The most sophisticated thing I've done was full scan sharing. In this setup, a bot receives an onScannedRobot event for each scan by anyone on the team (but one tick later, because it takes one tick to send). This involved pulling the raw info from ScannedRobotEvent, packaging it into a Serializable object along with the bot's location, broadcasting it, then recreating the ScannedRobotEvent (tweaking some things that are relative to scanning bot's location) on the other side and firing an onScannedRobot manually. I have it in a Twin Duel team somewhere, I could find it and share if you're interested.

Good luck with your bot. Sounds like you are off to a good start. =) --Voidious 15:07, 10 June 2010 (UTC)