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

android_tutorial_image_transport cannot receive image

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

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: ubuntu

edit retag flag offensive close merge delete


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

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

1 Answer

Sort by » oldest newest most voted

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

LeopoldPodmolík gravatar image

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

export ROS_IP= ... for example

and maybe too

export ROS_HOSTNAME=ubuntu

edit flag offensive delete link more


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 -0500 )edit

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

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

Question Tools


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

Seen: 264 times

Last updated: Mar 17 '13