android_core pubsub tutorial
Hi!
I would like to modify the pubsub tutorial in order to have the subscriber running on the AVD and the publisher on my PC.
The pubsub tutorial without modifications works, but if I use the command "rostopic pub /chatter std_msgs/String "..."" I don't see the string on the avd screen and if I call "rostopic echo /chatter" I can't see what is published by talker.
Using "rostopic list" I get:
/chatter<br>
/rosout<br>
/rosout_agg
Using "rostopic info /chatter":
Type: std_msgs/String
Publishers:
* /rosjava_tutorial_pubsub/talker (http://127.0.0.1:42623/)
* /rostopic_5792_1348480888907 (http://camilla-TECRA-A5:35002/)
Subscribers:
* /android_gingerbread/ros_text_view (http://127.0.0.1:43231/)
Therefore what should I do to put in communication a talker and a subscriber that are running on an avd and on a PC?
Did you managed to solved this issue? I'm having the same problem, but the selected answer isn't helping me. NodeConfiguration is already public, I have the Master URI correctly setted (I think), and I still can't see anything outside the emulator.
The problem is to get to the net interface of the virtual device. The same setup on a real device work fine. Solution: use a real device.