while(True):
clock.tick()
img = sensor.snapshot()
lines = image.find_lines(roi = l_roi,x_stride=2,y_stride=1,threshold=1000,theta_margin=25,rho_margin=25)
if lines:
a_theta = line.theta()
a_rho = line.rho()
print(a_theta,a_rho)
请问这段代码哪里有问题啊为什么给报错了、