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 |