Hi, when I execute the python program with DEPTHAI_LEVEL=trace, I get the following output:
[4AD2D016838860C6] [192.168.197.55] [1711641505.091] [host] [trace] RPC: [1,1,5804304869041345055,[1.0]]
[4AD2D016838860C6] [192.168.197.55] [1711641505.100] [host] [trace] RPC: [1,1,10182484530226687077,[5000,10,true]]
What does this output exactly mean?
This is the python program:
import depthai as dai
import time
pipeline = dai.Pipeline()
script = pipeline.create(dai.node.Script)
script.setScript("""
import serial
import time
ser = serial.Serial("/dev/ttyS3", baudrate=115200)
while True:
ser.write(bytes([17]))
""")
script.setProcessor(dai.ProcessorType.LEON_CSS)
config = dai.Device.Config()
GPIO = dai.BoardConfig.GPIO
config.board.gpio[39] = GPIO(GPIO.OUTPUT, GPIO.ALT_MODE_2)
config.board.gpio[38] = GPIO(GPIO.INPUT, GPIO.ALT_MODE_2)
config.board.uart[0] = dai.BoardConfig.UART()
with dai.Device(config) as device:
print("Pipeline started")
while True:
time.sleep(1)
Thank you for your help