Re: Robot Communications

Olivier Michel <[email protected]> Mon, 16 Feb 2004 17:05:08 +0100
Newsgroups gmane.comp.cybernetics.webot.contest
Organization Cyberbotics Ltd.
Message-ID <[email protected]>
|Replacing the contents of the Webots resources/security.policy file by the following:

grant {
  permission java.security.AllPermission "", "";
};|

should fix this issue.

-Olivier

Olivier Michel wrote:

>Dominic wrote:
>
>  
>
>>Hi,
>>
>>I've managed to test the comms classes a bit further now, before I had
>>only tried testing them in a stand-alone test, not running with the
>>webots controller.  The problem seems to be not in the determining of
>>the IP address, but in the security restrictions in the JVM.  The webots
>>environment does not allow socket communications.
>>
>>Oliver, would it at all be possible to relax the security restrictions
>>in the home version of webots to allow socket communications?  It would
>>not matter that they are illegal in the contest rounds as I can easily
>>turn off the communication methods in my classes, but during training
>>rounds it would be of great benefit to have inter-robot communaication.
>> 
>>
>>    
>>
>Yes, you can do it by yourself by editing the file in:
>
>C:\Program Files\Webots\resources\java.policy (Windows)
>/usr/local/webots/resources/java.policy (Linux)
>
>Which define the Java security options.
>
>-Olivier
>  
>


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/webots-contest/

<*> To unsubscribe from this group, send an email to:
     [email protected]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/