Hi All, <div>My Issue get resolved.</div><div><br></div><div>I missed to add commons-codec-1.3.jar in my class path which was resulting org.apache.commons.codec.DecoderException in </div><div>XmlRpcClientWorker.execute(final XmlRpcRequest pRequest,final AsyncCallback pCallback).</div>

<div><br></div><div>As this code is using reflection to create a object (dont know why) but it results corrupted node (NodeType) object in NodeClient(URI uri, Class<NodeType> interfaceClass). (line 59).</div><div><br>

</div><div>I just printed Node object in constructor NodeClient() and Its printing stacktrace of DecoderException. As I havent done much of Reflection, dont know the reason.</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>

<br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Damon do you think this is a issue and should be fixed in code?</span></div>

<div><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; "><br></span></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Can you add me as contributors in project? If yes I can digg down this issue and look for fix. </span></font></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Else I will like to proceed with just adding required library in path.</span></font></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>

 </div><div>Thanks and Regards<br>Abhishek Verma<br>
<br><br><div class="gmail_quote">On Wed, Jun 8, 2011 at 3:19 PM, Abhishek Verma <span dir="ltr"><<a href="mailto:toabhishekverma@gmail.com">toabhishekverma@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Sorry Damon, My Mistake<div>NodeConfiguration has member xmlRpcPort which is 0 by default.</div><div>Its not set any where and is used to creare tcpRosBindAddress and passed to SlaveServer as a parameter.(See internal node constructor)</div>


<div>SlaveServer is later using it to create TcpRosServer. and so on.</div><div><div class="im"><br clear="all">Thanks and Regards<br>Abhishek Verma<br>
<br><br></div><div><div></div><div class="h5"><div class="gmail_quote">On Wed, Jun 8, 2011 at 3:02 PM, Damon Kohler <span dir="ltr"><<a href="mailto:damonkohler@google.com" target="_blank">damonkohler@google.com</a>></span> wrote:<br>

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