I will raise issue and add all details to issue.<div>If I get some time this weekend Will look for fix.</div><div><br clear="all">Thanks and Regards<br>Abhishek Verma<br>
<br><br><div class="gmail_quote">On Thu, Jun 9, 2011 at 1:55 PM, Damon Kohler <span dir="ltr"><<a href="mailto:damonkohler@google.com">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;">

Interesting. Please do file an issue:<br>
<br>
<a href="http://code.google.com/p/rosjava/issues/list" target="_blank">http://code.google.com/p/rosjava/issues/list</a><br>
<br>
If you can enumerate some steps to reproduce the problem, that would<br>
be great. Or, if you make a patch to fix it, post it on the issue.<br>
<br>
Thanks,<br>
Damon<br>
<br>
On Thu, Jun 9, 2011 at 2:50 PM, Abhishek Verma<br>
<div><div></div><div class="h5"><<a href="mailto:toabhishekverma@gmail.com">toabhishekverma@gmail.com</a>> wrote:<br>
> Hi All,<br>
> My Issue get resolved.<br>
> I missed to add commons-codec-1.3.jar in my class path which was<br>
> resulting org.apache.commons.codec.DecoderException in<br>
> XmlRpcClientWorker.execute(final XmlRpcRequest pRequest,final AsyncCallback<br>
> pCallback).<br>
> As this code is using reflection to create a object (dont know why) but it<br>
> results corrupted node (NodeType) object in NodeClient(URI uri,<br>
> Class<NodeType> interfaceClass). (line 59).<br>
> I just printed Node object in constructor NodeClient() and<br>
> Its printing stacktrace of DecoderException. As I havent done much of<br>
> Reflection, dont know the reason.<br>
> Damon do you think this is a issue and should be fixed in code?<br>
> Can you add me as contributors in project? If yes I can digg down this issue<br>
> and look for fix.<br>
> Else I will like to proceed with just adding required library in path.<br>
><br>
> Thanks and Regards<br>
> Abhishek Verma<br>
><br>
><br>
> On Wed, Jun 8, 2011 at 3:19 PM, Abhishek Verma <<a href="mailto:toabhishekverma@gmail.com">toabhishekverma@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Sorry Damon, My Mistake<br>
>> NodeConfiguration has member xmlRpcPort which is 0 by default.<br>
>> Its not set any where and is used to creare tcpRosBindAddress and passed<br>
>> to SlaveServer as a parameter.(See internal node constructor)<br>
>> SlaveServer is later using it to create TcpRosServer. and so on.<br>
>> Thanks and Regards<br>
>> Abhishek Verma<br>
>><br>
>><br>
>> On Wed, Jun 8, 2011 at 3:02 PM, Damon Kohler <<a href="mailto:damonkohler@google.com">damonkohler@google.com</a>><br>
>> wrote:<br>
>>><br>
>>> On Wed, Jun 8, 2011 at 3:56 PM, Abhishek Verma<br>
>>> <<a href="mailto:toabhishekverma@gmail.com">toabhishekverma@gmail.com</a>> wrote:<br>
>>> > Hi Damon,<br>
>>> > There are no errors.<br>
>>><br>
>>> Ok.<br>
>>><br>
>>> > Talker is publishing message but Listener is not getting it.<br>
>>><br>
>>> Can you see the messages using rostopic echo? What about if you use<br>
>>> roscore instead of the RosCore class in rosjava?<br>
>>><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<br>
>>> > communicate.<br>
>>><br>
>>> Correct.<br>
>>><br>
>>> > is xmlRpcPort is used in this communication?<br>
>>><br>
>>> 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>
>>><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">damonkohler@google.com</a>><br>
>>> > 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">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<br>
>>> >> > 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<br>
>>> >> > 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<br>
>>> >> > 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">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">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">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">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>
> ros-users mailing list<br>
> <a href="mailto:ros-users@code.ros.org">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">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>