You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test in Javascript/Node.js : ⚠️ FAIL ⚠️ . Bindings to the class yarp::os::ContactStyle are not implemented.
...
Other tests and obsevations:
...
Creating a persistent connection before creating the /write/read ports only works if we use the prefix topic://aTopic. Doing:
yarp topic /aTopic
yarp connect /write /aTopic
[ERROR] |yarp.os.Network| Failure: could not find source port /write
doesn't work without the --persit explicit option.
...
Conclusion
Having this in mind and the fact that Bindings to the class yarp::os::ContactStyle are not implemented, it seems easier to use topics for creating persistent connections, although the approach using the style option would be simpler if yarp::os::ContactStyle was available.
The drawback is that we won't be able to cleanup the topics once we don't need them anymore (unless we run a child process just for that of course, which we should avoid).
It might be worth trying to create the bindings for the class yarp::os::ContactStyle. If it's not straightforward enough, we'll go for the topics solutions.
Preliminary checks
yarp::os::ContactStyle
are not implemented....
Other tests and obsevations:
...
/write
/read
ports only works if we use the prefixtopic://aTopic
. Doing:--persit
explicit option....
Conclusion
Having this in mind and the fact that Bindings to the class
yarp::os::ContactStyle
are not implemented, it seems easier to use topics for creating persistent connections, although the approach using thestyle
option would be simpler ifyarp::os::ContactStyle
was available.The drawback is that we won't be able to cleanup the topics once we don't need them anymore (unless we run a child process just for that of course, which we should avoid).
It might be worth trying to create the bindings for the class
yarp::os::ContactStyle
. If it's not straightforward enough, we'll go for the topics solutions.Originally posted by @nunoguedelha in ami-iit/yarp-openmct#68 (comment)
The text was updated successfully, but these errors were encountered: