Problems about mono-directional communication (yarp -> ROS) #182
randaz81
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a tricky issue: a yarp machine (A) is able to subscribe to a ros topic and receive data correctly sent by a ros machine (B). But the data that (A) publishes on a ros topic are not received by the ROS machine (B). (*)
These are the things to check when this issue is observed:
--ros
option/ros
port with ayarp name list
command. Be extremely careful when working with a wireless network: if you use theyarp clean --timeout xx.xx
there exists the risk to remove the /ros port if your system is affected by delay issues! See also: About address conflict, yarp clean etc #181yarp plugin --all
command to check that the following yarp carrier pluginsrossrv, tcpros, xmlrpc
are compiled and can be found by the system. If they are not compiled, check if they are enabled in yarp cmake (ENABLE_yarpcar_XXX
flags). If they are compiled but not found, check the$YARP_DATA_DIRS
environment variable./etc/hosts
on all the machines of your setup. Verify that all the machines are registered with their correct hostnames and ip addresses. If change an entry in this file, it's recommended to restart roscore and yarpserver. (**)On windows the host names are stored in the file:
C:\Windows\System32\drivers\etc\hosts
PS:
(*) indeed
rqt
tool shows that there are not connections from A to B.(**) it may be possible that this behavior is caused by a bug in either yarpserver or roscore. Currently under investigation.
Beta Was this translation helpful? Give feedback.
All reactions