View Single Post
  #7   Spotlight this post!  
Unread 29-03-2013, 01:44
bprobotics bprobotics is offline
Registered User
FRC #3288
 
Join Date: Jan 2013
Location: Big Piney
Posts: 10
bprobotics is an unknown quantity at this point
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.
Reply With Quote