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

android_tutorial_image_transport cannot receive image

asked 2013-03-15 03:20:27 -0600

maoqizhen gravatar image

I run android_tutorial_image_transport on android, but cannot receive image from PC, image node on PC is ok,but logcat says :03-15 13:56:37.209: E/UpdatePublisherRunnable(10447): java.lang.RuntimeException: java.net.UnknownHostException: ubuntu

edit retag flag offensive close merge delete

Comments

I have the same problem as you. Did you find any solution?

aitana gravatar image aitana  ( 2014-07-21 11:33:22 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2013-03-17 05:22:22 -0600

LeopoldPodmolík gravatar image

The problem is in translate host name 'ubuntu' ... probaly you haven´t set ROS_IP variable

export ROS_IP=192.168.0.1 ... for example

and maybe too

export ROS_HOSTNAME=ubuntu

edit flag offensive delete link more

Comments

I need to set ros_ip in every terminal, and need to run roscore at the same time, any idea to set ros_ip so I don't need to set it in every terminal ?

maoqizhen gravatar image maoqizhen  ( 2013-03-19 02:26:10 -0600 )edit

set ROS_IP in .bashrc file in your home folder ;-)

LeopoldPodmolík gravatar image LeopoldPodmolík  ( 2013-03-19 13:47:51 -0600 )edit

Question Tools

Stats

Asked: 2013-03-15 03:20:27 -0600

Seen: 272 times

Last updated: Mar 17 '13