You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
(5) |
May
(33) |
Jun
(5) |
Jul
(13) |
Aug
(28) |
Sep
(6) |
Oct
(3) |
Nov
(20) |
Dec
(11) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(1) |
Feb
(17) |
Mar
(35) |
Apr
(1) |
May
(4) |
Jun
(8) |
Jul
(5) |
Aug
(4) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2007 |
Jan
(6) |
Feb
(6) |
Mar
|
Apr
(4) |
May
(1) |
Jun
(1) |
Jul
|
Aug
(9) |
Sep
(3) |
Oct
(2) |
Nov
(4) |
Dec
(9) |
2008 |
Jan
|
Feb
(7) |
Mar
(2) |
Apr
(14) |
May
(9) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
(1) |
Oct
|
Nov
(8) |
Dec
(2) |
2009 |
Jan
(3) |
Feb
(5) |
Mar
(4) |
Apr
(13) |
May
|
Jun
(1) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
2010 |
Jan
(3) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(3) |
Oct
|
Nov
(8) |
Dec
(4) |
2011 |
Jan
(3) |
Feb
(4) |
Mar
(7) |
Apr
(2) |
May
(7) |
Jun
(1) |
Jul
|
Aug
|
Sep
(10) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
From: John O. <joh...@gm...> - 2007-02-19 08:16:52
|
One thing that pops to mind is: I believe that type 2 subtype 2 means that you are using the positional control method, as stated in the manual not all drivers will support it (http://playerstage.sourceforge.net/doc/Player-2.0.0/player/group__interface__position2d.html#ga16), I dont know if its possible for the simulation to accept positional and the real robot not, unfortunatley I deal only with simulation. I would check on the player stage forum to see if the pioneer can accept positional commands, alternatively try using playerv to issue positional commands and if you get the same error this is likely to be the problem. Thanks John Matthias Wiedemann wrote: > > Hi! > > I downloaded the last version from SVN to have the setPosition Feature for > Position2DInterface. > > When I test my program with Stage, everything works fine, and the robot > moves to the position, which was desired. On the other hand, when I try it > with Player and the real robot (Pioneer 2DX), the command fails and the > output of player2.03 is: > > warning : Unhandled message for driver device=16777343:6665:4:0 type=2 > subtype=2 len=28 > > Does anybody has an idea, how I could get it working? > Thanks! > Matze > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users > > -- View this message in context: http://www.nabble.com/setPosition-tf3234001.html#a9038462 Sent from the java-player-users mailing list archive at Nabble.com. |
From: Matthias W. <mw...@gm...> - 2007-02-15 14:22:43
|
Hi! I downloaded the last version from SVN to have the setPosition Feature for Position2DInterface. When I test my program with Stage, everything works fine, and the robot moves to the position, which was desired. On the other hand, when I try it with Player and the real robot (Pioneer 2DX), the command fails and the output of player2.03 is: warning : Unhandled message for driver device=16777343:6665:4:0 type=2 subtype=2 len=28 Does anybody has an idea, how I could get it working? Thanks! Matze |
From: Radu B. R. <ru...@cs...> - 2007-02-13 17:51:12
|
You must check if the data is available/ready using p2di.isDataReady (see the API documentation for more information) and then print it. We made some examples available some time ago on the web page. Those should run without any problems with the latest P/S/G versions. Cheers, Radu. Mark Bramnik wrote: > Hi > I'm quite a newbie and I have a newbie's question about > Position2Dinterface. > I'm using player-2.0.3 on wbr914 robot and I encountered some problems > using > Position2dinterface. > I use the javaclient-2.0.1.jar > The problem is that I can't see position2D updates while reading the > position data in the infinite loop. > playerv works just fine... > I'm trying to do this way: > > > ................ > > robot = new PlayerClient(ROBOT_IP, ROBOT_PORT); > p2di = robot.requestInterfacePosition2D(0, PlayerConstants.PLAYER_OPEN_MODE > ); > robot.requestDataDeliveryMode(PlayerConstants.PLAYER_DATAMODE_PUSH); > robot.setNotThreaded(); > p2di.setMotorPower(1); > while (runTest) { > robot.readAll(); > positionTest(p2di); // this prints the position2d data on screen > Thread.sleep(1000); > System.out.println("======================================="); > } > > Whats interesing that when I > run the playerv, subscribe to see the position data on playerv screen > and AFTER THAT run my simple program - I Do receive the updated data. > However when I make my robot move, the data reading fails (irrelevant data > is printed). I saw the code from the example (actually my code is c/p from > there... but it doesn't work...). > So could anyone please point me on my problem or provide some working code? > > Any help is highly appreciated :) > Thanks in advance > Mark Bramnik > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users -- | Radu Bogdan Rusu | http://rbrusu.com/ | http://www9.cs.tum.edu/people/rusu/ | Intelligent Autonomous Systems | Technische Universitaet Muenchen |
From: Mark B. <mar...@gm...> - 2007-02-10 09:10:55
|
Hi I'm quite a newbie and I have a newbie's question about Position2Dinterface. I'm using player-2.0.3 on wbr914 robot and I encountered some problems using Position2dinterface. I use the javaclient-2.0.1.jar The problem is that I can't see position2D updates while reading the position data in the infinite loop. playerv works just fine... I'm trying to do this way: ................ robot = new PlayerClient(ROBOT_IP, ROBOT_PORT); p2di = robot.requestInterfacePosition2D(0, PlayerConstants.PLAYER_OPEN_MODE ); robot.requestDataDeliveryMode(PlayerConstants.PLAYER_DATAMODE_PUSH); robot.setNotThreaded(); p2di.setMotorPower(1); while (runTest) { robot.readAll(); positionTest(p2di); // this prints the position2d data on screen Thread.sleep(1000); System.out.println("======================================="); } Whats interesing that when I run the playerv, subscribe to see the position data on playerv screen and AFTER THAT run my simple program - I Do receive the updated data. However when I make my robot move, the data reading fails (irrelevant data is printed). I saw the code from the example (actually my code is c/p from there... but it doesn't work...). So could anyone please point me on my problem or provide some working code? Any help is highly appreciated :) Thanks in advance Mark Bramnik |
From: Alexandre H. V. S. <ahv...@gm...> - 2007-01-30 23:00:43
|
I'll try to make a movie with a digital camera, so the act of filming doesn't interfere the simulation. On older tests running only Gazebo works fine... Again, thank you so much!!! :-) 2007/1/30, John Oliver <joh...@gm...>: > > > **In response to private message** > > I think there are a number of things going on here. > > First was it me but you were getting the same issues when you were not > using > java at all. At one point in the gazeboOnly video the clock stops at 59.= 2 > for about 3 seconds for no apparent reason. To me this seems to point to > some issue with gazebo/stage and not java. > > Secondly I presume the stage video was running a simple algorithm but jav= a > was consuming all the spare cpu time it could by the look of it. Your > recorder program was taking 20%ish but if that was not there I think java > would have taken it anyway. Having run it on my system with > runThread(-1,-1) it took 99.9% cpu usage, although it didn't seem to slow > the system down at all, java must do something a bit weird with its > yielding, to take 99.9% cpu time but not slow things down. However > running > with (1,-1) reduced cpu usage to 18%. So I would probably recommend > calling > runTreaded with some reasonable values so that java does not do its cpu > eating thing. > > However again I do not think that Java is the issue since the problem > appeared to exist in the gazeboOnly video too, its just more noticeable > when > java is running, probably since java is taking more processing power. > > John > > > > Alexandre Henrique Vieira Soares wrote: > > > > Hi, I'm trying do run a Java application with Gazebo and I noticed that > > the > > execution of the application is making Gazebo be slow. > > > > The robot is not showing a continuous movement, it is "jumping" along > the > > time. I have already noticed that the Gazebo timer (the time that is > shown > > on the interface) is stopping, the same as the robot. > > > > Running " glxinfo | grep rendering " command I got " direct rendering: > Yes > > " > > . > > > > I run the CircleWalk example ( > > http://java-player.sourceforge.net/docs/howto.pdf ) on Gazebo using > > Javaclient and everything was right. > > > > Looking the Wall Follower example ( > > http://java-player.sourceforge.net/examples/2.x/SpaceWandererExample.tg= z, > > which were strange, with the robot 'jumping'), I saw a ' > > robot.runThreaded(-1, -1);' command. > > > > When I put this command on CircleWalk example the same as Wall Follower > > example occured... the robot started jumping... > > > > So, I tried to remove the 'robot.runThreaded (-1, -1);' from Wall > Follower > > example and the robot stopped moving... the application only works with > > that > > command. > > > > I run the same application on Stage and all works fine. > > > > Is there something I can do to make the robot movement continuous on > > Gazebo? > > > > My computer is an Athlon XP 2400+, 512MB RAM, my video card is a > GeForce4 > > MX > > 4000 AGP 8x with 128MB of memory. > > > > Thanks. > > > > PS.: The Gazebo application can be found in > > > http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/WallFollowerExampl= eGazebo.zipand > > the Stage application can be found in > > > http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/WallFollowerExampl= eStage.zip > . > > Both > > n< > http://www.lsi.cefetmg.br/%7Eahvsoares/robotica/exemplos/WallFollowerExam= ple-Gazebo.tgz > >eeds > > Javaclient API. The videos running Gazebo application can be found in > > http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/Gazebo.ogg and > the > > Stage video in > > http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/Stage.ogg . > > > > -- > > Alexandre Henrique Vieira Soares > > ____________________________________________________ > > Mestrando em Modelagem Matem=E1tica e Computacional > > Linha de Pesquisa: Sistemas Inteligentes > > Cefet-MG > > Belo Horizonte, Brasil > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys - and earn cash > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > > _______________________________________________ > > Java-player-users mailing list > > Jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-player-users > > > > > > -- > View this message in context: > http://www.nabble.com/Gazebo-is-running-strange-tf3139391.html#a8709212 > Sent from the java-player-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users > --=20 Alexandre Henrique Vieira Soares ____________________________________________________ Mestrando em Modelagem Matem=E1tica e Computacional Linha de Pesquisa: Sistemas Inteligentes Cefet-MG Belo Horizonte, Brasil |
From: John O. <joh...@gm...> - 2007-01-30 15:56:01
|
**In response to private message** I think there are a number of things going on here.=20 First was it me but you were getting the same issues when you were not usin= g java at all. At one point in the gazeboOnly video the clock stops at 59.2 for about 3 seconds for no apparent reason. To me this seems to point to some issue with gazebo/stage and not java. Secondly I presume the stage video was running a simple algorithm but java was consuming all the spare cpu time it could by the look of it. Your recorder program was taking 20%ish but if that was not there I think java would have taken it anyway. Having run it on my system with runThread(-1,-1) it took 99.9% cpu usage, although it didn=E2=80=99t seem t= o slow the system down at all, java must do something a bit weird with its yielding, to take 99.9% cpu time but not slow things down. However running with (1,-1) reduced cpu usage to 18%. So I would probably recommend callin= g runTreaded with some reasonable values so that java does not do its cpu eating thing. However again I do not think that Java is the issue since the problem appeared to exist in the gazeboOnly video too, its just more noticeable whe= n java is running, probably since java is taking more processing power. John Alexandre Henrique Vieira Soares wrote: >=20 > Hi, I'm trying do run a Java application with Gazebo and I noticed that > the > execution of the application is making Gazebo be slow. >=20 > The robot is not showing a continuous movement, it is "jumping" along the > time. I have already noticed that the Gazebo timer (the time that is show= n > on the interface) is stopping, the same as the robot. >=20 > Running " glxinfo | grep rendering " command I got " direct rendering: Ye= s > " > . >=20 > I run the CircleWalk example ( > http://java-player.sourceforge.net/docs/howto.pdf ) on Gazebo using > Javaclient and everything was right. >=20 > Looking the Wall Follower example ( > http://java-player.sourceforge.net/examples/2.x/SpaceWandererExample.tgz = , > which were strange, with the robot 'jumping'), I saw a ' > robot.runThreaded(-1, -1);' command. >=20 > When I put this command on CircleWalk example the same as Wall Follower > example occured... the robot started jumping... >=20 > So, I tried to remove the 'robot.runThreaded (-1, -1);' from Wall Followe= r > example and the robot stopped moving... the application only works with > that > command. >=20 > I run the same application on Stage and all works fine. >=20 > Is there something I can do to make the robot movement continuous on > Gazebo? >=20 > My computer is an Athlon XP 2400+, 512MB RAM, my video card is a GeForce4 > MX > 4000 AGP 8x with 128MB of memory. >=20 > Thanks. >=20 > PS.: The Gazebo application can be found in > http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/WallFollowerExampl= eGazebo.zipand > the Stage application can be found in > http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/WallFollowerExampl= eStage.zip. > Both > n<http://www.lsi.cefetmg.br/%7Eahvsoares/robotica/exemplos/WallFollowerEx= ample-Gazebo.tgz>eeds > Javaclient API. The videos running Gazebo application can be found in > http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/Gazebo.ogg and the > Stage video in > http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/Stage.ogg . >=20 > --=20 > Alexandre Henrique Vieira Soares > ____________________________________________________ > Mestrando em Modelagem Matem=C3=A1tica e Computacional > Linha de Pesquisa: Sistemas Inteligentes > Cefet-MG > Belo Horizonte, Brasil >=20 > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users >=20 >=20 --=20 View this message in context: http://www.nabble.com/Gazebo-is-running-stran= ge-tf3139391.html#a8709212 Sent from the java-player-users mailing list archive at Nabble.com. |
From: Alexandre H. V. S. <ahv...@gm...> - 2007-01-30 13:43:36
|
I changed my ' robot.runThreaded (-1, -1); ' to ' robot.runThreaded (100, -1); ', as jugested John and I printed every sonnar read and position chang= e (with 'System.out.println()' ). Gazebo still run 'jumping'... :-( The application is not reading and seeting position too much, its normal. Java is consumming about 30% - 60% of CPU, wxGazebo about 4% and gazebo about 7%. I make other videos showing CPU usage with only Gazebo and with Java applicatio. Both can be found at http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/OnlyGazebo.ogg and a= t http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/GazeboWithJavaApp.og= grepectively. The other videos also show CPU usage: - http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/Gazebo.ogg =3D> w= all follower in Gazebo - http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/Stage.ogg =3D> wa= ll follower in Stage Thanks. 2007/1/30, Radu Bogdan Rusu <ru...@cs...>: > > John Oliver wrote: > > My initial thought would be that looking at the code if you pass -1 to = a > > runThreaded then the PlayerClient will only yield in between each read(= ) > > function to the simulator. This will then allow other threads to > execute, > > if there are none requiring execution then it will come back almost > > immediately and issue another read(), this could then mean that you are > > spamming the simulator with thousands of read requests a second, on top > of > > the read request that is in the main loop of the circleWalk. > > Just one remark here... if you are running in threaded mode, but you also > attempt to read > "manually" from your main loop, the read will return and do nothing, > because: > --- > public int readAll () { > if (isThreaded) return 0; > ... > --- > > Also the Space Wanderer example should contain a Thread.sleep () which > assures that your > main loop is not going to execute too fast. > > Other than that, I agree with John that it would be good to view how much > CPU time does a > process consume. It might be Java but it might be something else as well. > If it's running > in Stage just fine, I think we are hitting a bottleneck somewhere (?). > > Radu. > -- > | Radu Bogdan Rusu | http://rbrusu.com/ > | http://www9.cs.tum.edu/people/rusu/ > | Intelligent Autonomous Systems > | Technische Universitaet Muenchen > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users > --=20 Alexandre Henrique Vieira Soares ____________________________________________________ Mestrando em Modelagem Matem=E1tica e Computacional Linha de Pesquisa: Sistemas Inteligentes Cefet-MG Belo Horizonte, Brasil |
From: Radu B. R. <ru...@cs...> - 2007-01-30 12:35:12
|
John Oliver wrote: > My initial thought would be that looking at the code if you pass -1 to a > runThreaded then the PlayerClient will only yield in between each read() > function to the simulator. This will then allow other threads to execute, > if there are none requiring execution then it will come back almost > immediately and issue another read(), this could then mean that you are > spamming the simulator with thousands of read requests a second, on top of > the read request that is in the main loop of the circleWalk. Just one remark here... if you are running in threaded mode, but you also attempt to read "manually" from your main loop, the read will return and do nothing, because: --- public int readAll () { if (isThreaded) return 0; ... --- Also the Space Wanderer example should contain a Thread.sleep () which assures that your main loop is not going to execute too fast. Other than that, I agree with John that it would be good to view how much CPU time does a process consume. It might be Java but it might be something else as well. If it's running in Stage just fine, I think we are hitting a bottleneck somewhere (?). Radu. -- | Radu Bogdan Rusu | http://rbrusu.com/ | http://www9.cs.tum.edu/people/rusu/ | Intelligent Autonomous Systems | Technische Universitaet Muenchen |
From: John O. <joh...@gm...> - 2007-01-30 11:31:24
|
My initial thought would be that looking at the code if you pass -1 to a runThreaded then the PlayerClient will only yield in between each read() function to the simulator. This will then allow other threads to execute, if there are none requiring execution then it will come back almost immediately and issue another read(), this could then mean that you are spamming the simulator with thousands of read requests a second, on top of the read request that is in the main loop of the circleWalk. =20 This could be wrong, since after each read request it waits for a packet I would have thought that this would act to slow it down since it cant issue = a new read until the previous has completed. However I would try doing something like runThreaded (100,-1), this will do 10 reads per second and maybe also do a sleep in the main control loop to avoid spamming hundreds o= f commands to the position driver. =20 If this does not work try doing some print statements to figure out how man= y request/commands you are sending and also run "top" at the same time to see how the processor and memory usage is, one problem with java is it does lov= e to eat memory. I wouldn=E2=80=99t have thought it was memory as you are ru= nning a small program but looking at whether java, player or gazebo are using all the cpu usage would be useful. let us know the results. Thanks John Alexandre Henrique Vieira Soares wrote: >=20 > Hi, I'm trying do run a Java application with Gazebo and I noticed that > the > execution of the application is making Gazebo be slow. >=20 > The robot is not showing a continuous movement, it is "jumping" along the > time. I have already noticed that the Gazebo timer (the time that is show= n > on the interface) is stopping, the same as the robot. >=20 > Running " glxinfo | grep rendering " command I got " direct rendering: Ye= s > " > . >=20 > I run the CircleWalk example ( > http://java-player.sourceforge.net/docs/howto.pdf ) on Gazebo using > Javaclient and everything was right. >=20 > Looking the Wall Follower example ( > http://java-player.sourceforge.net/examples/2.x/SpaceWandererExample.tgz = , > which were strange, with the robot 'jumping'), I saw a ' > robot.runThreaded(-1, -1);' command. >=20 > When I put this command on CircleWalk example the same as Wall Follower > example occured... the robot started jumping... >=20 > So, I tried to remove the 'robot.runThreaded (-1, -1);' from Wall Followe= r > example and the robot stopped moving... the application only works with > that > command. >=20 > I run the same application on Stage and all works fine. >=20 > Is there something I can do to make the robot movement continuous on > Gazebo? >=20 > My computer is an Athlon XP 2400+, 512MB RAM, my video card is a GeForce4 > MX > 4000 AGP 8x with 128MB of memory. >=20 > Thanks. >=20 > PS.: The Gazebo application can be found in > http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/WallFollowerExampl= eGazebo.zipand > the Stage application can be found in > http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/WallFollowerExampl= eStage.zip. > Both > n<http://www.lsi.cefetmg.br/%7Eahvsoares/robotica/exemplos/WallFollowerEx= ample-Gazebo.tgz>eeds > Javaclient API. The videos running Gazebo application can be found in > http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/Gazebo.ogg and the > Stage video in > http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/Stage.ogg . >=20 > --=20 > Alexandre Henrique Vieira Soares > ____________________________________________________ > Mestrando em Modelagem Matem=C3=A1tica e Computacional > Linha de Pesquisa: Sistemas Inteligentes > Cefet-MG > Belo Horizonte, Brasil >=20 > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users >=20 >=20 --=20 View this message in context: http://www.nabble.com/Gazebo-is-running-stran= ge-tf3139391.html#a8707694 Sent from the java-player-users mailing list archive at Nabble.com. |
From: Alexandre H. V. S. <ahv...@gm...> - 2007-01-30 00:57:04
|
Hi, I'm trying do run a Java application with Gazebo and I noticed that the execution of the application is making Gazebo be slow. The robot is not showing a continuous movement, it is "jumping" along the time. I have already noticed that the Gazebo timer (the time that is shown on the interface) is stopping, the same as the robot. Running " glxinfo | grep rendering " command I got " direct rendering: Yes = " . I run the CircleWalk example ( http://java-player.sourceforge.net/docs/howto.pdf ) on Gazebo using Javaclient and everything was right. Looking the Wall Follower example ( http://java-player.sourceforge.net/examples/2.x/SpaceWandererExample.tgz , which were strange, with the robot 'jumping'), I saw a ' robot.runThreaded(-1, -1);' command. When I put this command on CircleWalk example the same as Wall Follower example occured... the robot started jumping... So, I tried to remove the 'robot.runThreaded (-1, -1);' from Wall Follower example and the robot stopped moving... the application only works with tha= t command. I run the same application on Stage and all works fine. Is there something I can do to make the robot movement continuous on Gazebo= ? My computer is an Athlon XP 2400+, 512MB RAM, my video card is a GeForce4 M= X 4000 AGP 8x with 128MB of memory. Thanks. PS.: The Gazebo application can be found in http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/WallFollowerExampleG= azebo.zipand the Stage application can be found in http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/WallFollowerExampleS= tage.zip. Both n<http://www.lsi.cefetmg.br/%7Eahvsoares/robotica/exemplos/WallFollowe= rExample-Gazebo.tgz>eeds Javaclient API. The videos running Gazebo application can be found in http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/Gazebo.ogg and the Stage video in http://www.lsi.cefetmg.br/~ahvsoares/robotica/exemplos/Stage.ogg . --=20 Alexandre Henrique Vieira Soares ____________________________________________________ Mestrando em Modelagem Matem=E1tica e Computacional Linha de Pesquisa: Sistemas Inteligentes Cefet-MG Belo Horizonte, Brasil |
From: John O. <joh...@gm...> - 2006-11-09 14:18:14
|
I have been trying to find a way of replaying a simulation so that I can visualy see what happend during the simulation and havent found any way of doing it. I realise you can use the readlog to replay the sensor data and feed it into your control program however havent seen a way of recording the sensor readings and then using it to display a replay of it on player. Am I missing something or is this not currently possible? I realise I could record a sequence of frames however this would slow my simulation to a crawl and fill my disk up. If its not possible is it something that others would find useful in the future to be added? I presume it would require a interface to each sensor to tell the sensor what it is sensing then a program to read in a log and feed it to the sensor. Maby not the best of ideas to add a function that tells a sensor what it is reading but does anyone else think some replay method is worth while? Thanks John -- View this message in context: http://www.nabble.com/Replay-tf2601930.html#a7258904 Sent from the java-player-users mailing list archive at Nabble.com. |
From: Jorge S. S. <js...@gm...> - 2006-09-15 09:02:50
|
Hi all! Concerning the requestInterfaceXXX methods... I'm experiencing some troubles with the latest Player/Stage/JavaClient CVS/SVN versions: When trying to run a Stage simulation, methods requestInterfaceSimulation and requestInterfaceGraphics2D return null. If I try to debug by putting a breakpoint, the process is then trapped before!, while requesting a different interface: This happens in the requestInterfaceSonar method; execution remain blocked in the read loop: while ((result =3D read (code, index)) !=3D PLAYER_MSGTYPE_RESP_ACK) loop. I don't know if the problem comes from Stage, but as nobody has posted a complain there, and playerv works, I suppose the problem can be in the Javaclient2 (but cannot confirm). Anyone else has experience something similar? Thank you a lot Jorge > -----Mensaje original----- > De: jav...@li...=20 > [mailto:jav...@li...] En=20 > nombre de Radu Bogdan Rusu > Enviado el: viernes, 30 de junio de 2006 11:09 > Para: jav...@li... > Asunto: Re: [Java-player-users] requestInterface() restrictions >=20 >=20 > Okay, fixed this one too (I think). >=20 > I am committing everything to the SVN now, so please check=20 > them out later and test to see if they work. >=20 > For Shawn: I added a few extra checks, so when you request a=20 > certain interface, Javaclient should never return another one. >=20 > Cheers, > Radu. >=20 > Kurt Konolige wrote: > > Hmm, not much traffic on this user group... > >=20 > > requestInterfaceXXXX() functions can't be called after=20 > runThreaded()=20 > > is invoked, they hang or return the wrong result, or do other bad=20 > > things like run out of heap space if called repeatedly. > >=20 > > Cheers --Kurt >=20 > --=20 > | Radu Bogdan Rusu | http://rbrusu.com/ > | http://www9.cs.tum.edu/people/rusu/ > | Intelligent Autonomous Systems > | Technische Universitaet Muenchen >=20 > Using Tomcat but need to do more? Need to support web=20 > services, security? > Get stuff done quickly with pre-integrated technology to make=20 > your job easier Download IBM WebSphere Application Server=20 > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057& > dat=3D121642 > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users >=20 ______________________ Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la=20 Informacion siendo para uso exclusivo del destinatario, quedando=20 prohibida su divulgacion copia o distribucion a terceros sin la=20 autorizacion expresa del remitente. Si Vd. ha recibido este mensaje=20 erroneamente, se ruega lo notifique al remitente y proceda a su borrado.= =20 Gracias por su colaboracion. ______________________ This message including any attachments may contain confidential=20 information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it. ______________________ |
From: Radu B. R. <ru...@cs...> - 2006-08-04 08:31:03
|
Hey John, Just wanted to let you know that you were right, and that I fixed the bugs in SVN. It seems that I missed the definition change of player_positionXd_cmd_pos (velocity was added), therefore I did not upgrade the Javaclient classes. The bug was affecting all three position{1,2,3}d interface. Thanks for the head-up! Cheers, Radu. John Oliver wrote: > Hopefuly I will get around to doing this at some point. But I think it > should still exist as the Javaclient still only sends the position in the > latest svn version. However looking at the P/S cvs repo I cant see the pack > functions that exist in the tar'd distrobutions(in the libplayerxdr > directory) the functiontable.c still refers to it but I cant find > it(player_position2d_cmd_pack) anywhere to verify that it is still looking > for a velocity command. > > Anyway this may become clear once I get a chance to test it. > > thanks again > > John -- | Radu Bogdan Rusu | http://rbrusu.com/ | http://www9.cs.tum.edu/people/rusu/ | Intelligent Autonomous Systems | Technische Universitaet Muenchen |
From: John O. <joh...@gm...> - 2006-08-02 18:33:04
|
Hopefuly I will get around to doing this at some point. But I think it should still exist as the Javaclient still only sends the position in the latest svn version. However looking at the P/S cvs repo I cant see the pack functions that exist in the tar'd distrobutions(in the libplayerxdr directory) the functiontable.c still refers to it but I cant find it(player_position2d_cmd_pack) anywhere to verify that it is still looking for a velocity command. Anyway this may become clear once I get a chance to test it. thanks again John -- View this message in context: http://www.nabble.com/setPosition-message-format-tf2034617.html#a5619627 Sent from the java-player-users forum at Nabble.com. |
From: Radu B. R. <ru...@cs...> - 2006-08-01 17:32:37
|
John, that sounds about right, but before I start digging and debugging, would it be possible to try it again using HEAD (CVS) Player/Stage and SVN Javaclient ? There were quite a few bugs that were fixed in the repository since the last official version, and it might be that yours was fixed too. If it still doesn't work, I'd be more than happy to fix it. Now if I could only make the day 48h instead of 24h, maybe I could write some documentation for it as well. ;) Cheers, Radu. John Oliver wrote: > I have been having some trouble with getting setPosition to work on a > Position2DInterface. (Player/stage 2.0.1 and Javaclient 2.0.1) > > Taking a quick(well perhaps not that quick) look at the code in player the > pack function (player_position2d_cmd_pack) it appears to look for both a > position command and a velocity in the message: > > ... > if(xdr_player_pose_t(&xdrs,&msg->pos) != 1) > return(-1); > if(xdr_player_pose_t(&xdrs,&msg->vel) != 1) > return(-1); > if(xdr_u_char(&xdrs,&msg->state) != 1) > return(-1); > ... > > while the java version only sends the > position(Position2DInterface.setPosition), and from what I can tell this is > leading to my "warning : decoding failed on message to 4:1 with type 2" > messages. > > Have I made a mistake here or is this something to be patched? And is it a > player problem or JavaClient? My instinct is that player should not be > looking for a velocity in a position command however I do not entirely > understand the P/S message formats and wanted confirmation that this was the > case(or not). > > thanks > > John -- | Radu Bogdan Rusu | http://rbrusu.com/ | http://www9.cs.tum.edu/people/rusu/ | Intelligent Autonomous Systems | Technische Universitaet Muenchen |
From: John O. <joh...@gm...> - 2006-08-01 16:16:13
|
I have been having some trouble with getting setPosition to work on a Position2DInterface. (Player/stage 2.0.1 and Javaclient 2.0.1) Taking a quick(well perhaps not that quick) look at the code in player the pack function (player_position2d_cmd_pack) it appears to look for both a position command and a velocity in the message: ... if(xdr_player_pose_t(&xdrs,&msg->pos) != 1) return(-1); if(xdr_player_pose_t(&xdrs,&msg->vel) != 1) return(-1); if(xdr_u_char(&xdrs,&msg->state) != 1) return(-1); ... while the java version only sends the position(Position2DInterface.setPosition), and from what I can tell this is leading to my "warning : decoding failed on message to 4:1 with type 2" messages. Have I made a mistake here or is this something to be patched? And is it a player problem or JavaClient? My instinct is that player should not be looking for a velocity in a position command however I do not entirely understand the P/S message formats and wanted confirmation that this was the case(or not). thanks John -- View this message in context: http://www.nabble.com/setPosition-message-format-tf2034617.html#a5597853 Sent from the java-player-users forum at Nabble.com. |
From: Radu B. R. <ru...@cs...> - 2006-07-05 09:18:36
|
forgot to mention that I also managed to patch CameraInterface, and it now works (tested with different cameras as well as Gazebo). R. |
From: Radu B. R. <ru...@cs...> - 2006-07-05 09:15:59
|
Just a small note people... I changed the structure of the PlayerLaserData class in SVN and added an array of PlayerPoint2d which basically represent the X and Y cartesian coordinates of a laser measurement. The calculations are done in LaserInterface automatically (borrowed from libplayerc) and they are accessible via <LaserInterface>.getData ().getPoints (); Useful if you are doing 3D laser maps. :) Cheers, R. |
From: Jorge S. S. <js...@gm...> - 2006-07-03 09:18:46
|
=20 well... really, I don't know. The Stage driver is supposed to be fixed in the CVS, but maybe this particular feature has been missed, at it isn't very important.=20 > -----Mensaje original----- > De: jav...@li...=20 > [mailto:jav...@li...] En=20 > nombre de Radu Bogdan Rusu > Enviado el: lunes, 03 de julio de 2006 11:00 > Para: jav...@li... > Asunto: Re: [Java-player-users] requestInterface() restrictions >=20 > You mean the Javaclient interface for Speech using Stage, or=20 > in general, the speech implementation of Stage? :) >=20 > Best, > R. >=20 > Jorge Santos Simon wrote: > > wow! Now it works fine! Thank you a lot > >=20 > > But it's very strange all the lines and points are drawn=20 > relative to=20 > > the robot position, instead of relative to the world coordinates=20 > > centre. I suppose this a P/S matter, so I will post there a=20 > question. > >=20 > > Just one bad new: the speech interface still doesn't work=20 > with Stage. > >=20 > >=20 > >> -----Mensaje original----- > >> De: jav...@li... > >> [mailto:jav...@li...]=20 > En nombre de=20 > >> Radu Bogdan Rusu Enviado el: viernes, 30 de junio de 2006 12:20 > >> Para: jav...@li... > >> Asunto: Re: [Java-player-users] requestInterface() restrictions > >> > >> Fixed! Thanks for the notice. Initially, the Graphics2D=20 > support was=20 > >> broken in Stage so I had to do a dirty hack to get it to=20 > work. Since=20 > >> then, Richard fixed it, so it was about time that we fix it too. > >> > >> You can get the updated code from SVN now. > >> > >> Usage example: > >> g2di.clearScreen (); > >> // PlayerGraphics2dCmdPoints p =3D new=20 > >> PlayerGraphics2dCmdPoints (); > >> PlayerGraphics2dCmdPolyline p =3D new=20 > PlayerGraphics2dCmdPolyline (); > >>=20=09=09 > >> PlayerColor color =3D new PlayerColor (); > >> color.setAlpha (0); > >> color.setRed (0); color.setGreen (0);=20 > color.setBlue (0xff); > >> p.setCount (200); > >>=20=09=09 > >> for (double r =3D 0; r < 1.0; r +=3D 0.05) { > >> PlayerPoint2d[] points =3D new PlayerPoint2d[64]; > >> for (int j =3D 0; j < 64; j++) { > >> points[j] =3D new PlayerPoint2d (); > >> points[j].setPx ((float)(r * > >> Math.cos (j * Math.PI / 32))); > >> points[j].setPy ((float)(r * > >> Math.sin (j * Math.PI / 32))); > >> } > >> p.setPoints (points); > >> p.setColor (color); > >> g2di.drawPolyline (p); > >> } > >> > >> Best, > >> Radu. > >> > >> Jorge Santos Simon wrote: > >>> Hi folks! > >>> > >>> I have two troubles when using Javaclient2 with Stage: > >>> > >>> - I'm unable to draw anything with the Graphics2D=20 > interface (or I=20 > >>> can't see the effects) > >>> - The speech interface doesn't work with Stage (ok, this > >> is not very > >>> important at all) > >>> > >>> I have noticed from the P/S users forum that the those=20 > problems are=20 > >>> solved in Stage, so I guess the problem can be in=20 > Javaclient. Have=20 > >>> anyone experienced such problems? > >>> > >>> I'm using CVS/SVN up to date versions of both P/S and Javaclient2 > >>> > >>> Thank you a lot > >>> Jorge > >>>=20=20 > >>> > >>>> -----Mensaje original----- > >>>> De: jav...@li... > >>>> [mailto:jav...@li...] > >> En nombre de > >>>> Radu Bogdan Rusu Enviado el: viernes, 30 de junio de 2006 11:09 > >>>> Para: jav...@li... > >>>> Asunto: Re: [Java-player-users] requestInterface() restrictions > >>>> > >>>> > >>>> Okay, fixed this one too (I think). > >>>> > >>>> I am committing everything to the SVN now, so please check > >> them out > >>>> later and test to see if they work. > >>>> > >>>> For Shawn: I added a few extra checks, so when you request > >> a certain > >>>> interface, Javaclient should never return another one. > >>>> > >>>> Cheers, > >>>> Radu. > >>>> > >>>> Kurt Konolige wrote: > >>>>> Hmm, not much traffic on this user group... > >>>>> > >>>>> requestInterfaceXXXX() functions can't be called after > >>>> runThreaded() > >>>>> is invoked, they hang or return the wrong result, or do=20 > other bad=20 > >>>>> things like run out of heap space if called repeatedly. > >>>>> > >>>>> Cheers --Kurt > >>>> -- > >>>> | Radu Bogdan Rusu | http://rbrusu.com/=20 > >>>> | http://www9.cs.tum.edu/people/rusu/ > >>>> | Intelligent Autonomous Systems > >>>> | Technische Universitaet Muenchen > >>>> > >>>> Using Tomcat but need to do more? Need to support web services,=20 > >>>> security? > >>>> Get stuff done quickly with pre-integrated technology to=20 > make your=20 > >>>> job easier Download IBM WebSphere Application Server > >>>> v.1.0.1 based on Apache Geronimo > >>>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057& > >>>> dat=3D121642 > >>>> _______________________________________________ > >>>> Java-player-users mailing list > >>>> Jav...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/java-player-users > >>>> > >>> ______________________ > >>> Este mensaje, y en su caso, cualquier fichero anexo al > >> mismo, puede > >>> contener informacion clasificada por su emisor como > >> confidencial en > >>> el marco de su Sistema de Gestion de Seguridad de la Informacion=20 > >>> siendo para uso exclusivo del destinatario, quedando prohibida su=20 > >>> divulgacion copia o distribucion a terceros sin la autorizacion=20 > >>> expresa del remitente. Si Vd. ha recibido este mensaje > >> erroneamente, > >>> se ruega lo notifique al remitente y proceda a su borrado. > >>> Gracias por su colaboracion. > >>> ______________________ > >>> This message including any attachments may contain confidential=20 > >>> information, according to our Information Security > >> Management System, > >>> and intended solely for a specific individual to whom they > >> are addressed. > >>> Any unauthorised copy, disclosure or distribution of this > >> message is > >>> strictly forbidden. If you have received this transmission > >> in error, > >>> please notify the sender immediately and delete it. > >>> ______________________ > >>> > >>> Using Tomcat but need to do more? Need to support web > >> services, security? > >>> Get stuff done quickly with pre-integrated technology to > >> make your job > >>> easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > >>> Apache Geronimo > >>> > >>=20 > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121 > >> 6 > >>> 42 _______________________________________________ > >>> Java-player-users mailing list > >>> Jav...@li... > >>> https://lists.sourceforge.net/lists/listinfo/java-player-users > >> -- > >> | Radu Bogdan Rusu | http://rbrusu.com/=20 > >> | http://www9.cs.tum.edu/people/rusu/ > >> | Intelligent Autonomous Systems > >> | Technische Universitaet Muenchen > >> > >> Using Tomcat but need to do more? Need to support web services,=20 > >> security? > >> Get stuff done quickly with pre-integrated technology to make your=20 > >> job easier Download IBM WebSphere Application Server > >> v.1.0.1 based on Apache Geronimo > >> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057& > >> dat=3D121642 > >> _______________________________________________ > >> Java-player-users mailing list > >> Jav...@li... > >> https://lists.sourceforge.net/lists/listinfo/java-player-users > >> > >=20 > > ______________________ > > Este mensaje, y en su caso, cualquier fichero anexo al=20 > mismo, puede=20 > > contener informacion clasificada por su emisor como=20 > confidencial en=20 > > el marco de su Sistema de Gestion de Seguridad de la Informacion=20 > > siendo para uso exclusivo del destinatario, quedando prohibida su=20 > > divulgacion copia o distribucion a terceros sin la autorizacion=20 > > expresa del remitente. Si Vd. ha recibido este mensaje=20=20 > erroneamente,=20 > > se ruega lo notifique al remitente y proceda a su borrado. > > Gracias por su colaboracion. > > ______________________ > > This message including any attachments may contain confidential=20 > > information, according to our Information Security=20 > Management System,=20=20 > > and intended solely for a specific individual to whom they=20 > are addressed. > > Any unauthorised copy, disclosure or distribution of this=20 > message is=20 > > strictly forbidden. If you have received this transmission=20 > in error,=20=20 > > please notify the sender immediately and delete it. > > ______________________ > >=20 > > Using Tomcat but need to do more? Need to support web=20 > services, security? > > Get stuff done quickly with pre-integrated technology to=20 > make your job=20 > > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > > Apache Geronimo > >=20 > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D1216 > > 42 _______________________________________________ > > Java-player-users mailing list > > Jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-player-users >=20 > --=20 > | Radu Bogdan Rusu | http://rbrusu.com/ > | http://www9.cs.tum.edu/people/rusu/ > | Intelligent Autonomous Systems > | Technische Universitaet Muenchen >=20 > Using Tomcat but need to do more? Need to support web=20 > services, security? > Get stuff done quickly with pre-integrated technology to make=20 > your job easier Download IBM WebSphere Application Server=20 > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057& > dat=3D121642 > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users >=20 ______________________ Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la=20 Informacion siendo para uso exclusivo del destinatario, quedando=20 prohibida su divulgacion copia o distribucion a terceros sin la=20 autorizacion expresa del remitente. Si Vd. ha recibido este mensaje=20 erroneamente, se ruega lo notifique al remitente y proceda a su borrado.= =20 Gracias por su colaboracion. ______________________ This message including any attachments may contain confidential=20 information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it. ______________________ |
From: Radu B. R. <ru...@cs...> - 2006-07-03 09:00:09
|
You mean the Javaclient interface for Speech using Stage, or in general, the speech implementation of Stage? :) Best, R. Jorge Santos Simon wrote: > wow! Now it works fine! Thank you a lot > > But it's very strange all the lines and points are drawn relative > to the robot position, instead of relative to the world coordinates > centre. I suppose this a P/S matter, so I will post there a question. > > Just one bad new: the speech interface still doesn't work with Stage. > > >> -----Mensaje original----- >> De: jav...@li... >> [mailto:jav...@li...] En >> nombre de Radu Bogdan Rusu >> Enviado el: viernes, 30 de junio de 2006 12:20 >> Para: jav...@li... >> Asunto: Re: [Java-player-users] requestInterface() restrictions >> >> Fixed! Thanks for the notice. Initially, the Graphics2D >> support was broken in Stage so I had to do a dirty hack to >> get it to work. Since then, Richard fixed it, so it was about >> time that we fix it too. >> >> You can get the updated code from SVN now. >> >> Usage example: >> g2di.clearScreen (); >> // PlayerGraphics2dCmdPoints p = new >> PlayerGraphics2dCmdPoints (); >> PlayerGraphics2dCmdPolyline p = new >> PlayerGraphics2dCmdPolyline (); >> >> PlayerColor color = new PlayerColor (); >> color.setAlpha (0); >> color.setRed (0); color.setGreen (0); >> color.setBlue (0xff); >> p.setCount (200); >> >> for (double r = 0; r < 1.0; r += 0.05) { >> PlayerPoint2d[] points = new PlayerPoint2d[64]; >> for (int j = 0; j < 64; j++) { >> points[j] = new PlayerPoint2d (); >> points[j].setPx ((float)(r * >> Math.cos (j * Math.PI / 32))); >> points[j].setPy ((float)(r * >> Math.sin (j * Math.PI / 32))); >> } >> p.setPoints (points); >> p.setColor (color); >> g2di.drawPolyline (p); >> } >> >> Best, >> Radu. >> >> Jorge Santos Simon wrote: >>> Hi folks! >>> >>> I have two troubles when using Javaclient2 with Stage: >>> >>> - I'm unable to draw anything with the Graphics2D interface (or I >>> can't see the effects) >>> - The speech interface doesn't work with Stage (ok, this >> is not very >>> important at all) >>> >>> I have noticed from the P/S users forum that the those problems are >>> solved in Stage, so I guess the problem can be in Javaclient. Have >>> anyone experienced such problems? >>> >>> I'm using CVS/SVN up to date versions of both P/S and Javaclient2 >>> >>> Thank you a lot >>> Jorge >>> >>> >>>> -----Mensaje original----- >>>> De: jav...@li... >>>> [mailto:jav...@li...] >> En nombre de >>>> Radu Bogdan Rusu Enviado el: viernes, 30 de junio de 2006 11:09 >>>> Para: jav...@li... >>>> Asunto: Re: [Java-player-users] requestInterface() restrictions >>>> >>>> >>>> Okay, fixed this one too (I think). >>>> >>>> I am committing everything to the SVN now, so please check >> them out >>>> later and test to see if they work. >>>> >>>> For Shawn: I added a few extra checks, so when you request >> a certain >>>> interface, Javaclient should never return another one. >>>> >>>> Cheers, >>>> Radu. >>>> >>>> Kurt Konolige wrote: >>>>> Hmm, not much traffic on this user group... >>>>> >>>>> requestInterfaceXXXX() functions can't be called after >>>> runThreaded() >>>>> is invoked, they hang or return the wrong result, or do other bad >>>>> things like run out of heap space if called repeatedly. >>>>> >>>>> Cheers --Kurt >>>> -- >>>> | Radu Bogdan Rusu | http://rbrusu.com/ >>>> | http://www9.cs.tum.edu/people/rusu/ >>>> | Intelligent Autonomous Systems >>>> | Technische Universitaet Muenchen >>>> >>>> Using Tomcat but need to do more? Need to support web services, >>>> security? >>>> Get stuff done quickly with pre-integrated technology to make your >>>> job easier Download IBM WebSphere Application Server >>>> v.1.0.1 based on Apache Geronimo >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& >>>> dat=121642 >>>> _______________________________________________ >>>> Java-player-users mailing list >>>> Jav...@li... >>>> https://lists.sourceforge.net/lists/listinfo/java-player-users >>>> >>> ______________________ >>> Este mensaje, y en su caso, cualquier fichero anexo al >> mismo, puede >>> contener informacion clasificada por su emisor como >> confidencial en >>> el marco de su Sistema de Gestion de Seguridad de la Informacion >>> siendo para uso exclusivo del destinatario, quedando prohibida su >>> divulgacion copia o distribucion a terceros sin la autorizacion >>> expresa del remitente. Si Vd. ha recibido este mensaje >> erroneamente, >>> se ruega lo notifique al remitente y proceda a su borrado. >>> Gracias por su colaboracion. >>> ______________________ >>> This message including any attachments may contain confidential >>> information, according to our Information Security >> Management System, >>> and intended solely for a specific individual to whom they >> are addressed. >>> Any unauthorised copy, disclosure or distribution of this >> message is >>> strictly forbidden. If you have received this transmission >> in error, >>> please notify the sender immediately and delete it. >>> ______________________ >>> >>> Using Tomcat but need to do more? Need to support web >> services, security? >>> Get stuff done quickly with pre-integrated technology to >> make your job >>> easier Download IBM WebSphere Application Server v.1.0.1 based on >>> Apache Geronimo >>> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 >>> 42 _______________________________________________ >>> Java-player-users mailing list >>> Jav...@li... >>> https://lists.sourceforge.net/lists/listinfo/java-player-users >> -- >> | Radu Bogdan Rusu | http://rbrusu.com/ >> | http://www9.cs.tum.edu/people/rusu/ >> | Intelligent Autonomous Systems >> | Technische Universitaet Muenchen >> >> Using Tomcat but need to do more? Need to support web >> services, security? >> Get stuff done quickly with pre-integrated technology to make >> your job easier Download IBM WebSphere Application Server >> v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& >> dat=121642 >> _______________________________________________ >> Java-player-users mailing list >> Jav...@li... >> https://lists.sourceforge.net/lists/listinfo/java-player-users >> > > ______________________ > Este mensaje, y en su caso, cualquier fichero anexo al mismo, > puede contener informacion clasificada por su emisor como confidencial > en el marco de su Sistema de Gestion de Seguridad de la > Informacion siendo para uso exclusivo del destinatario, quedando > prohibida su divulgacion copia o distribucion a terceros sin la > autorizacion expresa del remitente. Si Vd. ha recibido este mensaje > erroneamente, se ruega lo notifique al remitente y proceda a su borrado. > Gracias por su colaboracion. > ______________________ > This message including any attachments may contain confidential > information, according to our Information Security Management System, > and intended solely for a specific individual to whom they are addressed. > Any unauthorised copy, disclosure or distribution of this message > is strictly forbidden. If you have received this transmission in error, > please notify the sender immediately and delete it. > ______________________ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users -- | Radu Bogdan Rusu | http://rbrusu.com/ | http://www9.cs.tum.edu/people/rusu/ | Intelligent Autonomous Systems | Technische Universitaet Muenchen |
From: Jorge S. S. <js...@gm...> - 2006-07-03 08:58:34
|
wow! Now it works fine! Thank you a lot But it's very strange all the lines and points are drawn relative to the robot position, instead of relative to the world coordinates centre. I suppose this a P/S matter, so I will post there a question. Just one bad new: the speech interface still doesn't work with Stage. > -----Mensaje original----- > De: jav...@li...=20 > [mailto:jav...@li...] En=20 > nombre de Radu Bogdan Rusu > Enviado el: viernes, 30 de junio de 2006 12:20 > Para: jav...@li... > Asunto: Re: [Java-player-users] requestInterface() restrictions >=20 > Fixed! Thanks for the notice. Initially, the Graphics2D=20 > support was broken in Stage so I had to do a dirty hack to=20 > get it to work. Since then, Richard fixed it, so it was about=20 > time that we fix it too. >=20 > You can get the updated code from SVN now. >=20 > Usage example: > g2di.clearScreen (); > // PlayerGraphics2dCmdPoints p =3D new=20 > PlayerGraphics2dCmdPoints (); > PlayerGraphics2dCmdPolyline p =3D new=20 > PlayerGraphics2dCmdPolyline (); >=20=09=09 > PlayerColor color =3D new PlayerColor (); > color.setAlpha (0); > color.setRed (0); color.setGreen (0);=20 > color.setBlue (0xff); > p.setCount (200); >=20=09=09 > for (double r =3D 0; r < 1.0; r +=3D 0.05) { > PlayerPoint2d[] points =3D new PlayerPoint2d[64]; > for (int j =3D 0; j < 64; j++) { > points[j] =3D new PlayerPoint2d (); > points[j].setPx ((float)(r *=20 > Math.cos (j * Math.PI / 32))); > points[j].setPy ((float)(r *=20 > Math.sin (j * Math.PI / 32))); > } > p.setPoints (points); > p.setColor (color); > g2di.drawPolyline (p); > } >=20 > Best, > Radu. >=20 > Jorge Santos Simon wrote: > > Hi folks! > >=20 > > I have two troubles when using Javaclient2 with Stage: > >=20 > > - I'm unable to draw anything with the Graphics2D interface (or I=20 > > can't see the effects) > > - The speech interface doesn't work with Stage (ok, this=20 > is not very=20 > > important at all) > >=20 > > I have noticed from the P/S users forum that the those problems are=20 > > solved in Stage, so I guess the problem can be in Javaclient. Have=20 > > anyone experienced such problems? > >=20 > > I'm using CVS/SVN up to date versions of both P/S and Javaclient2 > >=20 > > Thank you a lot > > Jorge > >=20=20 > >=20 > >> -----Mensaje original----- > >> De: jav...@li... > >> [mailto:jav...@li...]=20 > En nombre de=20 > >> Radu Bogdan Rusu Enviado el: viernes, 30 de junio de 2006 11:09 > >> Para: jav...@li... > >> Asunto: Re: [Java-player-users] requestInterface() restrictions > >> > >> > >> Okay, fixed this one too (I think). > >> > >> I am committing everything to the SVN now, so please check=20 > them out=20 > >> later and test to see if they work. > >> > >> For Shawn: I added a few extra checks, so when you request=20 > a certain=20 > >> interface, Javaclient should never return another one. > >> > >> Cheers, > >> Radu. > >> > >> Kurt Konolige wrote: > >>> Hmm, not much traffic on this user group... > >>> > >>> requestInterfaceXXXX() functions can't be called after > >> runThreaded() > >>> is invoked, they hang or return the wrong result, or do other bad=20 > >>> things like run out of heap space if called repeatedly. > >>> > >>> Cheers --Kurt > >> -- > >> | Radu Bogdan Rusu | http://rbrusu.com/=20 > >> | http://www9.cs.tum.edu/people/rusu/ > >> | Intelligent Autonomous Systems > >> | Technische Universitaet Muenchen > >> > >> Using Tomcat but need to do more? Need to support web services,=20 > >> security? > >> Get stuff done quickly with pre-integrated technology to make your=20 > >> job easier Download IBM WebSphere Application Server > >> v.1.0.1 based on Apache Geronimo > >> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057& > >> dat=3D121642 > >> _______________________________________________ > >> Java-player-users mailing list > >> Jav...@li... > >> https://lists.sourceforge.net/lists/listinfo/java-player-users > >> > >=20 > > ______________________ > > Este mensaje, y en su caso, cualquier fichero anexo al=20 > mismo, puede=20 > > contener informacion clasificada por su emisor como=20 > confidencial en=20 > > el marco de su Sistema de Gestion de Seguridad de la Informacion=20 > > siendo para uso exclusivo del destinatario, quedando prohibida su=20 > > divulgacion copia o distribucion a terceros sin la autorizacion=20 > > expresa del remitente. Si Vd. ha recibido este mensaje=20=20 > erroneamente,=20 > > se ruega lo notifique al remitente y proceda a su borrado. > > Gracias por su colaboracion. > > ______________________ > > This message including any attachments may contain confidential=20 > > information, according to our Information Security=20 > Management System,=20=20 > > and intended solely for a specific individual to whom they=20 > are addressed. > > Any unauthorised copy, disclosure or distribution of this=20 > message is=20 > > strictly forbidden. If you have received this transmission=20 > in error,=20=20 > > please notify the sender immediately and delete it. > > ______________________ > >=20 > > Using Tomcat but need to do more? Need to support web=20 > services, security? > > Get stuff done quickly with pre-integrated technology to=20 > make your job=20 > > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > > Apache Geronimo > >=20 > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D1216 > > 42 _______________________________________________ > > Java-player-users mailing list > > Jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-player-users >=20 > --=20 > | Radu Bogdan Rusu | http://rbrusu.com/ > | http://www9.cs.tum.edu/people/rusu/ > | Intelligent Autonomous Systems > | Technische Universitaet Muenchen >=20 > Using Tomcat but need to do more? Need to support web=20 > services, security? > Get stuff done quickly with pre-integrated technology to make=20 > your job easier Download IBM WebSphere Application Server=20 > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057& > dat=3D121642 > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users >=20 ______________________ Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la=20 Informacion siendo para uso exclusivo del destinatario, quedando=20 prohibida su divulgacion copia o distribucion a terceros sin la=20 autorizacion expresa del remitente. Si Vd. ha recibido este mensaje=20 erroneamente, se ruega lo notifique al remitente y proceda a su borrado.= =20 Gracias por su colaboracion. ______________________ This message including any attachments may contain confidential=20 information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it. ______________________ |
From: Shawn L. <sla...@at...> - 2006-06-30 18:40:14
|
Hey Radu! Thanks for all your work today! We'll get to checking it out early next week and let you know how things turn out. ~ Shawn Radu Bogdan Rusu wrote: > Okay, fixed this one too (I think). > > I am committing everything to the SVN now, so please check them out later and test to see > if they work. > > For Shawn: I added a few extra checks, so when you request a certain interface, Javaclient > should never return another one. > > Cheers, > Radu. > > Kurt Konolige wrote: >> Hmm, not much traffic on this user group... >> >> requestInterfaceXXXX() functions can't be called after runThreaded() is >> invoked, they hang or return the wrong result, or do other bad things >> like run out of heap space if called repeatedly. >> >> Cheers --Kurt > |
From: Radu B. R. <ru...@cs...> - 2006-06-30 10:20:01
|
Fixed! Thanks for the notice. Initially, the Graphics2D support was broken in Stage so I had to do a dirty hack to get it to work. Since then, Richard fixed it, so it was about time that we fix it too. You can get the updated code from SVN now. Usage example: g2di.clearScreen (); // PlayerGraphics2dCmdPoints p = new PlayerGraphics2dCmdPoints (); PlayerGraphics2dCmdPolyline p = new PlayerGraphics2dCmdPolyline (); PlayerColor color = new PlayerColor (); color.setAlpha (0); color.setRed (0); color.setGreen (0); color.setBlue (0xff); p.setCount (200); for (double r = 0; r < 1.0; r += 0.05) { PlayerPoint2d[] points = new PlayerPoint2d[64]; for (int j = 0; j < 64; j++) { points[j] = new PlayerPoint2d (); points[j].setPx ((float)(r * Math.cos (j * Math.PI / 32))); points[j].setPy ((float)(r * Math.sin (j * Math.PI / 32))); } p.setPoints (points); p.setColor (color); g2di.drawPolyline (p); } Best, Radu. Jorge Santos Simon wrote: > Hi folks! > > I have two troubles when using Javaclient2 with Stage: > > - I'm unable to draw anything with the Graphics2D interface (or I can't > see the effects) > - The speech interface doesn't work with Stage (ok, this is not very > important at all) > > I have noticed from the P/S users forum that the those problems are > solved in Stage, > so I guess the problem can be in Javaclient. Have anyone experienced > such problems? > > I'm using CVS/SVN up to date versions of both P/S and Javaclient2 > > Thank you a lot > Jorge > > >> -----Mensaje original----- >> De: jav...@li... >> [mailto:jav...@li...] En >> nombre de Radu Bogdan Rusu >> Enviado el: viernes, 30 de junio de 2006 11:09 >> Para: jav...@li... >> Asunto: Re: [Java-player-users] requestInterface() restrictions >> >> >> Okay, fixed this one too (I think). >> >> I am committing everything to the SVN now, so please check >> them out later and test to see if they work. >> >> For Shawn: I added a few extra checks, so when you request a >> certain interface, Javaclient should never return another one. >> >> Cheers, >> Radu. >> >> Kurt Konolige wrote: >>> Hmm, not much traffic on this user group... >>> >>> requestInterfaceXXXX() functions can't be called after >> runThreaded() >>> is invoked, they hang or return the wrong result, or do other bad >>> things like run out of heap space if called repeatedly. >>> >>> Cheers --Kurt >> -- >> | Radu Bogdan Rusu | http://rbrusu.com/ >> | http://www9.cs.tum.edu/people/rusu/ >> | Intelligent Autonomous Systems >> | Technische Universitaet Muenchen >> >> Using Tomcat but need to do more? Need to support web >> services, security? >> Get stuff done quickly with pre-integrated technology to make >> your job easier Download IBM WebSphere Application Server >> v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& >> dat=121642 >> _______________________________________________ >> Java-player-users mailing list >> Jav...@li... >> https://lists.sourceforge.net/lists/listinfo/java-player-users >> > > ______________________ > Este mensaje, y en su caso, cualquier fichero anexo al mismo, > puede contener informacion clasificada por su emisor como confidencial > en el marco de su Sistema de Gestion de Seguridad de la > Informacion siendo para uso exclusivo del destinatario, quedando > prohibida su divulgacion copia o distribucion a terceros sin la > autorizacion expresa del remitente. Si Vd. ha recibido este mensaje > erroneamente, se ruega lo notifique al remitente y proceda a su borrado. > Gracias por su colaboracion. > ______________________ > This message including any attachments may contain confidential > information, according to our Information Security Management System, > and intended solely for a specific individual to whom they are addressed. > Any unauthorised copy, disclosure or distribution of this message > is strictly forbidden. If you have received this transmission in error, > please notify the sender immediately and delete it. > ______________________ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users -- | Radu Bogdan Rusu | http://rbrusu.com/ | http://www9.cs.tum.edu/people/rusu/ | Intelligent Autonomous Systems | Technische Universitaet Muenchen |
From: Jorge S. S. <js...@gm...> - 2006-06-30 09:20:08
|
Hi folks! I have two troubles when using Javaclient2 with Stage: - I'm unable to draw anything with the Graphics2D interface (or I can't see the effects) - The speech interface doesn't work with Stage (ok, this is not very important at all) I have noticed from the P/S users forum that the those problems are solved in Stage, so I guess the problem can be in Javaclient. Have anyone experienced such problems? I'm using CVS/SVN up to date versions of both P/S and Javaclient2 Thank you a lot Jorge =20 > -----Mensaje original----- > De: jav...@li...=20 > [mailto:jav...@li...] En=20 > nombre de Radu Bogdan Rusu > Enviado el: viernes, 30 de junio de 2006 11:09 > Para: jav...@li... > Asunto: Re: [Java-player-users] requestInterface() restrictions >=20 >=20 > Okay, fixed this one too (I think). >=20 > I am committing everything to the SVN now, so please check=20 > them out later and test to see if they work. >=20 > For Shawn: I added a few extra checks, so when you request a=20 > certain interface, Javaclient should never return another one. >=20 > Cheers, > Radu. >=20 > Kurt Konolige wrote: > > Hmm, not much traffic on this user group... > >=20 > > requestInterfaceXXXX() functions can't be called after=20 > runThreaded()=20 > > is invoked, they hang or return the wrong result, or do other bad=20 > > things like run out of heap space if called repeatedly. > >=20 > > Cheers --Kurt >=20 > --=20 > | Radu Bogdan Rusu | http://rbrusu.com/ > | http://www9.cs.tum.edu/people/rusu/ > | Intelligent Autonomous Systems > | Technische Universitaet Muenchen >=20 > Using Tomcat but need to do more? Need to support web=20 > services, security? > Get stuff done quickly with pre-integrated technology to make=20 > your job easier Download IBM WebSphere Application Server=20 > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057& > dat=3D121642 > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users >=20 ______________________ Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la=20 Informacion siendo para uso exclusivo del destinatario, quedando=20 prohibida su divulgacion copia o distribucion a terceros sin la=20 autorizacion expresa del remitente. Si Vd. ha recibido este mensaje=20 erroneamente, se ruega lo notifique al remitente y proceda a su borrado.= =20 Gracias por su colaboracion. ______________________ This message including any attachments may contain confidential=20 information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it. ______________________ |
From: Radu B. R. <ru...@cs...> - 2006-06-30 09:09:02
|
Okay, fixed this one too (I think). I am committing everything to the SVN now, so please check them out later and test to see if they work. For Shawn: I added a few extra checks, so when you request a certain interface, Javaclient should never return another one. Cheers, Radu. Kurt Konolige wrote: > Hmm, not much traffic on this user group... > > requestInterfaceXXXX() functions can't be called after runThreaded() is > invoked, they hang or return the wrong result, or do other bad things > like run out of heap space if called repeatedly. > > Cheers --Kurt -- | Radu Bogdan Rusu | http://rbrusu.com/ | http://www9.cs.tum.edu/people/rusu/ | Intelligent Autonomous Systems | Technische Universitaet Muenchen |