ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

ROSjava subscriber

asked 2013-02-05 10:29:52 -0600

LeopoldPodmolík gravatar image

updated 2013-02-05 22:18:10 -0600


I have problem with subscriber, when I run my android application a see in LogCat that "Unable to resolve host "ROS": No address associated with hostname".

I have set in .bashrc


In file /etc/hosts localhost , ROS

and in file /etc/hostname


If I create publisher it's all OK, but subscriber is still wrong. Do you know where is problem ?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2013-02-06 12:53:19 -0600

LeopoldPodmolík gravatar image

Problem solved.

The problem was in file .bashrc, where I had only


when I write full command

export ROS_IP=

all will be OK. I recognise by this code in shell

python -c "import; print"

because return NONE, what was wrong ...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-02-05 10:29:52 -0600

Seen: 452 times

Last updated: Feb 06 '13