01-16-2014 04:25 AM
Hello, I recently started building a ball on plate system. A webcam tracks a ball on a plate aquires the ball position with the Vision Assistent. sends the currenty position of the ball to process variable input of the PID.vi, in both X and Y directions. The setpoint is set to the middle of the plate in pixels. The minimum and maximum are set to a Duty Cycle values that are the min and max angle for the servo motors, thus the plate. The problem is that the duty cycles that come out of the PID.vi are always the min or the max value, never in between:O!! Is there anything I'm doing wrong? Ill attach the VI.
01-16-2014 04:53 AM