Re: Robot Communications
Anders Lyhagen <[email protected]> Mon, 9 Feb 2004 10:35:17 +0100
| Newsgroups | gmane.comp.cybernetics.webot.contest |
|---|---|
| Message-ID | <[email protected]> |
Hi, Your classes seems to solve my problem, unfortunately I can't make them work (with XP, jdk1.4). The command Communication.sendDevice = new Socket(Communication.sendIP, Communication.sendPort); causes a null pointer exception due to Communication.sendIP = null Do you have any idea why? Best Regards, Anders Lyhagen > Hi all, > > A while back somebody wondered if there was some way for two robots to > communicate during training sessions. For the evolutionary methods I'm > going to try, I thought having some form of inter-robot communication > would help things along a bit. So I've written a small package, which > can be used for comms on the loopback interface, and thought some other > people may find it useful. It's not thoroughly tested yet but seems to > work quite well. Files are attatched if anyone is interested, > hopefully > their use will be clear from the comments. > > Dominic/RoyBatty > > > ------------------------ Yahoo! Groups Sponsor > ---------------------~--> > Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark > Printer at MyInks.com. Free s/h on orders $50 or more to the US & > Canada. > http://www.c1tracking.com/l.asp?cid=5511 > http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/pU_rlB/TM > --------------------------------------------------------------------- > ~-> > > > Yahoo! Groups Links > > > > > <comms.tar.bz2>