java - rosjava (android_core) pub sub example nodes isolated -


I am trying to add Android Pub tutorial to android_core with a master core in my server.

In fact, the example runs fine and I am capable of receiving messages in an activity listening to an Android subscriber, which is sent from the spoken node written in Roshwaw.

And when I run an additional listener node, it subscribes properly:

  Rostopic information / nonsense type: std_msgs / string publisher: * / rosjava_tutorial_pubsub / talker (Http://10.0.2.15:45508/) Members: * / listener_6323_1412952506377 (http: // laptop: 37300 /) * / android_gingerbread / ros_text_view (http://10.0.2.15:47832/)   

The graph should look like this:

| / Listener_6323_1412952506377 | ------- & gt; | / Rosjava_tutorial_pubsub / talker | | / Android_gingerbread / ros_text_view | - & gt; | --------------------------------- |

So, the problem is that even if it is subscribed, it will not show anything, the emulator send the message to the listener in the emulator, but the external audience does not. Apart from this, I tried to send a message from the console, and the listener received it properly in the console, but the listener will not see it in the emulator. Besides, I saw that when I run rqt_graph, then it immediately after launching the Android APP Work ceases.

I am using the ROS_MATAURI set on my IP, in both the console and the emulator, so the namespace is unmatched.

What's going on here?, The namespace problem of messages ?, version dissonance problem ?. IDK

Regards

itemprop = "text">

The problem was the Android emulator, which separates the network virtual device The interface 2 solutions are: 1) Forward ports to show nodes out. 2) Get rid of emu and use a real device.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -