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

can't send image over network [closed]

asked 2014-03-20 19:13:17 -0500

ondra gravatar image

updated 2014-03-20 19:50:23 -0500


I have 2 machines, a server and client.

config on server:



config on slave:



I have two executables, one for master one for client. Client jus reads an image, use cv_bridge and publishes it as "camera/image". Server subscribes to "camera/image" and displays it on a screen. If I run both (client = "image_publisher" and server executables) on a single machine, everything works. If I run client on a different machine, it doesn't.

I checked ping, netcap, everything seems to be fine... If I use rat_graph and run it on a single machine, image_publisher (client) appears as "/image_publisher". If I run it on two different machines, it doesn't work and image_publisher appears as "_image_publisher".

client runs fuerte and server runs groovy

what can be wrong???

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2014-10-22 19:23:51.786637



Did you check rosnode ping?

Wolf gravatar image Wolf  ( 2014-03-20 20:30:37 -0500 )edit

On the system running the master and openni I only have: ROS_MASTER_URI set to http://localhost:11311 On the system running rqt I have: ROS_MASTER_URI set to NOTE - your IP would be different for master ROS_HOSTNAME= NOTE - this is IP of system running rqt I can get images ok. I did not set ROS_IP on either system. I am running hydro

billtecteacher gravatar image billtecteacher  ( 2014-03-23 12:44:52 -0500 )edit

hey, so I've made it working on my local network, however it doesn't work trough wifi... although I'm able to use netcat in either way, it seems to me, that some port is's quite weird as my port on master is opened, but I do not receive I need to unblock any port on slave?

ondra gravatar image ondra  ( 2014-03-24 09:45:03 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-03-25 17:11:25 -0500

billtecteacher gravatar image

The example i gave in comment worked over a wifi. Were you able to ping over wifi each way?

edit flag offensive delete link more


yes, I'm able to ping ip addresses over wifi both ways, I'm able to use netcat with port 11311 bot ways, but I do not receive any image over wifi for some reason although it works fine over lan...

ondra gravatar image ondra  ( 2014-03-25 17:36:23 -0500 )edit

Question Tools


Asked: 2014-03-20 19:13:17 -0500

Seen: 532 times

Last updated: Mar 25 '14