Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
pan_output=pan_pid.get_pid(pan_error,1)/2 tilt_output=tilt_pid.get_pid(tilt_error,1) 这两个的输出是角度吗?因为后面用 pan_servo.angle和tilt_servo.angle在调用这个。
谢谢老师
是PID获得的数据,在这里是角度。