• Community
  • How do I release the message in the buffer?

How do I release the message in the buffer?
I checked the relevant documents and nothing was to be found.

Now I can convert the world coordinates of x, y, and z through the Script Node node.
As for the problem with XLinkOut as follows.

image_manip_script = pipeline.create(dai.node.Script)
 image_manip_script.setScript(""" 
 ****other codes**** 
 cfg = SpatialLocationCalculatorConfig() 
 cfg.addROI(config) 
 node.io['to_manip'].send(cfg)
  """) 
 image_manip_script.outputs['to_manip'].link(spatialLocationCalculator.inputConfig)
 xoutSpatialData = pipeline.create(dai.node.XLinkOut)
 xoutSpatialData.setStreamName("spatialData")
 spatialLocationCalculator.out.link(xoutSpatialData.input)
  • erik replied to this.

    Hello YaoHui ,
    Could you please share a minimal reproducible code, so we can look into it and debug this issue?
    Thanks, Erik

      Hello erik ,
      I have just mailed you the sample code.
      Thanks.

      我在腳本節點中使用“while”,這導致了問題。
      現在問題解決了(困擾了我一個星期),太好了。😀
      謝謝。

      • erik replied to this.

        Hello YaoHui , Good to know that the issue is now resolved! I just wanted to dig into this issue today.
        Thanks, Erik