YARP python send Properties
import yarp
yarp.Network.init();
portOutSBM = yarp.BufferedPortBottle();
print("opening yarp port")
portOutSBM.open("/artatt/out");
os.system("yarp connect /artatt/out /mind");
while 1:
bottleOutSBM = portOutSBM.prepare()
bottleOutSBM.clear()
propX = bottleOutSBM.addDict()
propX.put("x", x)
propY = bottleOutSBM.addDict()
propY.put("y", y)
propZ = bottleOutSBM.addDict()
propZ.put("z", z)