|
From: Moshe S. <ms...@gm...> - 2005-06-14 23:23:00
|
Please find my answers below:
> From: Radu Bogdan Rusu <veedee@in...>
> Re: Getting started =20
> 2005-06-13 12:11
>
> Hellos,
>=20
> Are you running on a real robot or a simulated one?
I am running the Stage platform (1.6.2), and=20
> I cannot explain the code hang. Try to run Javaclient in debugmode (by
> using System.setProperty ("PlayerClient.debug") to true) and see if you g=
et
> any errors.
Got nothing special from Stage.
The Java-Client print many lines:
Player v.1.6.4
[PlayerClient][Debug] : Subscribing to 4
[PlayerClient][Debug] : Unrecognized header:=20
[PlayerClient][Debug] : Unrecognized header:=20
...
[PlayerClient][Debug] : Unrecognized header:=20
[PlayerClient][Debug] : Unrecognized header:=20
[PlayerClient][Debug] : Got a message: type =3D 1 device =3D 4 index =3D 0
[PlayerClient] : Got a message: type =3D 1 device =3D 4 index =3D 0
[PlayerClient][Debug] : Unrecognized header:=20
[PlayerClient][Debug] : Unrecognized header:=20
...
[PlayerClient][Debug] : Unrecognized header:=20
[PlayerClient][Debug] : Unrecognized header:=20
[PlayerClient][Debug] : Got a message: type =3D 5 device =3D 1 index =3D 0
[PlayerClient][Debug] : Got a message: type =3D 1 device =3D 4 index =3D 0
[PlayerClient] : Got a message: type =3D 1 device =3D 4 index =3D 0
[PlayerClient][Debug] : Unrecognized header:=20
[PlayerClient][Debug] : Unrecognized header:=20
...
[PlayerClient][Debug] : Unrecognized header:=20
[PlayerClient][Debug] : Unrecognized header:=20
[PlayerClient][Debug] : Got a message: type =3D 5 device =3D 1 index =3D 0
[PlayerClient][Debug] : Got a message: type =3D 1 device =3D 4 index =3D 0
[PlayerClient] : Got a message: type =3D 1 device =3D 4 index =3D 0
[PlayerClient][Debug] : Unrecognized header:=20
[PlayerClient][Debug] : Unrecognized header:=20
...
=20
> The link to the new Javaclient web pages is posted in the P/S/G Contrib
> section at http://playerstage.sourceforge.net/contrib.html. :)
=20
Found it, but the link at
http://playerstage.sourceforge.net/clients/clients.html is outdated
and I couldn't find any back link from
http://java-player.sourceforge.net to
http://sourceforge.net/projects/java-player
> Chers,
> Radu.
=20
=20
On Sun, Jun 12, 2005 at 07:40:29PM +0300, Moshe Sayag wrote:
> Hi guys,
>=20
> I"ve worked with the Java Client before (version 1.5a) and I am trying
> to re-utilize my project on the latest version.
>=20
> Unfortunately, I fail to run even the simplest thing. The following
> code hangs and never reach the println.
>=20
> public static void main(String[] args) {
> PlayerClient pc =3D new PlayerClient("localhost", 6665);
> PositionInterface pi =3D pc.requestInterfacePosition(0, "a"); =
=20
> System.out.println("EXIT");
> }
>=20
> The player server is up and running and everything works fine when I
> access it by the c client.
>=20
> Please advise.
>=20
>=20
> 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?
>=20
> Thanks,
>=20
> Moshe
>=20
=20
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]
|