ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

When publishing to topic from laptop, on the robot I recieve no data

asked 2020-07-14 05:45:47 -0500

kamilmlody gravatar image

Hi! I have two machines: robot (robot40) and laptop (Kamil-Dell). On the robot I'm running ROS Master. When publishing to topic from laptop, on the robot I recieve no data (but on laptop I can view it no problem. I also see data from robot on laptop) I have set ROS_IP, ROS_MASTER_URI and ROS_HOSTNAME in all the ways possible, but nothing changes.

All the variables on laptop (IP: 192.168.1.196):

ROS_IP = 192.168.1.196
ROS_HOSTNAME = 192.168.1.196
ROS_MASTER_URI= http://robot40:11311

and /etc/hosts on laptop:

127.0.0.1       localhost
#127.0.1.1      Kamil-Dell # Tried also these with this uncommented and second one commented
192.168.1.196   Kamil-Dell
192.168.1.58    robot40

Variables on robot40 (IP:192.168.1.58):

ROS_IP = (empty)
ROS_HOSTNAME = (empty)
ROS_MASTER_URI= http://robot40:11311

/etc/hosts on robot40:

127.0.0.1       localhost
192.168.1.196   Kamil-Dell
127.0.1.1       Robot4.0-upper  Robot4
192.168.1.58    robot40

roswtf run on robot40 (with running node /object_detection on laptop, but works the same way with any publisher on laptop):

Loaded plugin tf.tfwtf
No package or stack in the current directory
================================================================================
Static checks summary:

No errors or warnings
================================================================================
Beginning tests of your ROS graph. These may take a while...
analyzing graph...
... done analyzing graph
running graph rules...
connection to [/object_detection] timed out
... done running graph rules
running tf checks, this will take a second...
... tf checks complete

Online checks summary:

Found 2 warning(s).
Warnings are things that may be just fine, but are sometimes at fault

WARNING The following node subscriptions are unconnected:
 * /move_group:
   * /collision_object
   * /planning_scene_world
 * /joint_states:
   * /head_controller/joint_states
   * /base_controller/joint_states
 * /arm_controller/ur_driver:
   * /arm_controller/ur_driver/joint_speed
   * /arm_controller/ur_driver/URScript
 * /controller_robot40:
   * /optoforce_0
   * /trajectory_planned
   * /controller_ur/order

WARNING These nodes have died:
 * head_controller/dynamixel_workbench-5


Found 3 error(s).

ERROR Could not contact the following nodes:
 * /object_detection

ERROR The following nodes should be connected but aren't:
 * /object_detection->/rosout (/rosout)

ERROR Errors connecting to the following services:
 * service [/object_detection/set_logger_level] appears to be malfunctioning: Unable to communicate with service [/object_detection/set_logger_level], address [rosrpc://192.168.1.196:40113]
 * service [/object_detection/get_loggers] appears to be malfunctioning: Unable to communicate with service [/object_detection/get_loggers], address [rosrpc://192.168.1.196:40113]

Thank you all for help!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-07-15 04:13:20 -0500

kamilmlody gravatar image

Solved by turning off firewall

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

1 follower

Stats

Asked: 2020-07-14 05:45:47 -0500

Seen: 83 times

Last updated: Jul 15 '20