|
From: Radu B. R. <ve...@in...> - 2005-06-13 12:11:49
|
Hellos,
I cannot explain the code hang. Try to run Javaclient in debugmode (by
using System.setProperty ("PlayerClient.debug") to true) and see if you get
any errors.
Are you running on a real robot or a simulated one?
The link to the new Javaclient web pages is posted in the P/S/G Contrib
section at http://playerstage.sourceforge.net/contrib.html. :)
Chers,
Radu.
On Sun, Jun 12, 2005 at 07:40:29PM +0300, Moshe Sayag wrote:
> Hi guys,
>
> I've worked with the Java Client before (version 1.5a) and I am trying
> to re-utilize my project on the latest version.
>
> Unfortunately, I fail to run even the simplest thing. The following
> code hangs and never reach the println.
>
> public static void main(String[] args) {
> PlayerClient pc = new PlayerClient("localhost", 6665);
> PositionInterface pi = pc.requestInterfacePosition(0, 'a');
> System.out.println("EXIT");
> }
>
> The player server is up and running and everything works fine when I
> access it by the c client.
>
> Please advise.
>
>
> p.s. I couldn't find any link to java-player from the site of
> Player/Stage, but to the older version. Shouldn't the link be updated?
>
> Thanks,
>
> Moshe
>
Yours sincerely,
Radu Bogdan Rusu
--
| Radu Bogdan 'veedee' Rusu | http://www.rbrusu.com
| PhD student/researcher
| Robotics Research Group, Technical University of Cluj-Napoca[.ro]
|