|
Re: Vision Tracking Help
Alan, I switched to doing the vision processing on the dashboard. In order to get just one image, I set it so that the Loop Iteration > 1, sends true to the loop condition which is stop if true. If the iteration < 1, it sends false to the loop condition. Unless I am mistaken, this should only analyze one image every time the loop runs, correct? I am also using smart dashboard variables to send the distance from Target Info[0] to the cRIO when I press button 1 on the joystick. I think I need a SD variable to send this to the dashboard also but it didn't appear to be working. For whatever reason, the cRIO CPU usage spikes when I press that button.
|