0
$\begingroup$

Rosanswers logo

I have two laptops running Ubuntu lucid and ROS electric. I have written three publishers in roscpp that are publishing input data to rostopics.

When running on one computer, I am able to see the topics and echo them to see the data being published.

For the second computer, I have set the ROS_MASTER_URI to the IP of the first computer, and when doing a rostopic list I am able to see the topics from the first computer. But when I rostopic echo, I do not see any of the data that is visible on the first computer.

I can ping back and forth, ssh and copy files, and I see the topic list change correctly as I start and kill my publishers. I do not know what the issue is. My ros_master_uri is set correctly, and the publishers are giving data to the topic. It just doesnt come through the wireless.


Originally posted by Blstinne on ROS Answers with karma: 11 on 2012-05-21

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

My guess is that you don't have ROS_IP set correctly. A resolvable ROS_IP is required for the rostopic echo node to be fully connected with your publisher. You should be able to verify that the connection exists using rxgraph. You should also set ROS_IP on both machines.

You can read more about setting up your network here.

You can read more about ROS_IP here.


Originally posted by piyushk with karma: 2871 on 2012-05-21

This answer was ACCEPTED on the original site

Post score: 1

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.