On Wed, Jun 8, 2011 at 3:56 PM, Abhishek Verma wrote: > Hi Damon, > There are no errors. Ok. > Talker is publishing message but Listener is not getting it. Can you see the messages using rostopic echo? What about if you use roscore instead of the RosCore class in rosjava? > They are not in same channel I mean Listener and Talker cant reach each > other. > I suppose by giving same master uri, both should be able to communicate. Correct. > is xmlRpcPort is used in this communication? Which argument is it exactly you're asking about? I don't see it specified in your code snippet. In general, a port argument of 0 means that the OS should pick an available port to bind to. > Thanks and Regards > Abhishek Verma > > > On Wed, Jun 8, 2011 at 2:06 PM, Damon Kohler wrote: >> >> Hi, >> >> Could you add some additional information? >> >> Are you getting any errors? How about stack traces? >> >> Thanks, >> Damon >> >> On Wed, Jun 8, 2011 at 2:59 PM, Abhishek Verma >> wrote: >> > Hi Friends, >> > I am new to Ros an rosjava and tying to do something on my PC. >> > I am not sure its correct or not. >> > I am using rosjava on my Linux (ubuntu 10.4). >> > Currently I am trying to run rosjava alone. and trying to use Talker and >> > Listener example available in source. >> > I am starting Ros core and talker and listener by following commands >> > RosCore -- >> > rosCore = new RosCore(11311); >> > nodeRunner = NodeRunner.createDefault(); >> > nodeRunner.run(rosCore, Lists.newArrayList("RosCore", >> > "__master:=http://localhost:11311")); >> > Talker >> >  nodeRunner.run(new Talker(),Lists.newArrayList("talker", >> > "__ip:=127.0.0.1", >> > "__master:=http://localhost:11311")); >> > Listener >> >  nodeRunner.run(new Listener(),Lists.newArrayList("listener", >> > "__ip:=127.0.0.1", "__master:=http://localhost:11311")); >> > Publisher and subscriber are not able to communicate. AndI am trying to >> > understand why.. >> > I found that value of xmlRpcPort is 0 and not changed anywhere. >> > Am I doing right thing by running rosjava alone? >> > Is xmlRpcPort port need to set? whats is it for? I suppose it might be >> > for >> > remote communication with RcpCore (or MasterServer) >> > in my case rosroot and ros package paths are empty...is that ok? >> > Thanks and Regards >> > Abhishek Verma >> > >> > _______________________________________________ >> > ros-users mailing list >> > ros-users@code.ros.org >> > https://code.ros.org/mailman/listinfo/ros-users >> > >> > >> >> >> >> -- >> ---------------------------------------------- >> Damon Kohler >> Software Engineer >> >> Google Germany GmbH >> Dienerstr. 12 >> 80331 München >> ---------------------------------------------- >> AG Hamburg, HRB 86891 >> Sitz der Gesellschaft: Hamburg >> Geschäftsführer: John Herlihy, Graham Law, Lloyd Martin, Kent Walker >> ---------------------------------------------- >> Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat >> sind, leiten Sie diese bitte nicht weiter, informieren den Absender >> und löschen Sie die E-Mail und alle Anhänge. Vielen Dank. >> >> This email is confidential. If you are not the right addressee please >> do not forward it, please inform the sender, and please erase this >> e-mail including any attachments. Thanks. >> _______________________________________________ >> ros-users mailing list >> ros-users@code.ros.org >> https://code.ros.org/mailman/listinfo/ros-users > > > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users > > -- ---------------------------------------------- Damon Kohler Software Engineer Google Germany GmbH Dienerstr. 12 80331 München ---------------------------------------------- AG Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Geschäftsführer: John Herlihy, Graham Law, Lloyd Martin, Kent Walker ---------------------------------------------- Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind, leiten Sie diese bitte nicht weiter, informieren den Absender und löschen Sie die E-Mail und alle Anhänge. Vielen Dank. This email is confidential. If you are not the right addressee please do not forward it, please inform the sender, and please erase this e-mail including any attachments. Thanks.