ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

To debug this problem you can check the topic that you are publishing and subscribing to by using

rostopic info /topic_name

If you see that the address in front of the subscriber node and publisher node is not the same which i am guessing in your case for publisher node will be something like http://paaila-MS-7A:xxxxx and for subscriber node will be an ip-adress then that is your problem. To resolve this, in case you are publishing from a terminal on your pc, try running

export ROS_IP="your machine's ipaddress"

and then the "rostopic pub" command in the same terminal window and your android device subscribing to this topic should receive the message.