-
Hello, I was trying to use
When the two ports are not connected, it prints:
Once I connect the ports through the
Could you please help me with that? Why does the function still return false? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @paliasgh, it is a while since I don't work on YARP so my memories could be wrong, but if I recall correctly that Your ports are connected using yarp::os::Network::isConnected("/icub-pli/tagsRight:o","/icub-pli/tagsRight:i", "fast_tcp",false);
Unfortunately, this is not made explicit in the documentation. |
Beta Was this translation helpful? Give feedback.
Hi @paliasgh,
it is a while since I don't work on YARP so my memories could be wrong, but if I recall correctly that
isConnected
you invoked checks if there is a connection between thesrc
anddst
using the default carrier, i.e.tcp
.Your ports are connected using
fast_tcp
, then you should use this function as follows:Unfortunately, this is not made explicit in the documen…