View Single Post
  #3   Spotlight this post!  
Unread 16-02-2013, 16:15
mcristina444 mcristina444 is offline
Registered User
FRC #2078 (Robotic Ooze)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Covington, LA
Posts: 27
mcristina444 is an unknown quantity at this point
Re: Displaying Target Info on Dashboard

Quote:
Originally Posted by Greg McKaskle View Post
The code in the images looks like it will successfully read the target info about the largest and most likely target.

Since you are posting, I'm assuming it isn't working or isn't working well. You state that the vision code is on the robot, so you want to read the target info on the dashboard? Make sure that it is in a loop that is running. If you probe data, the probe will tell you the last time it was updated and if you don't see the data update at least once a second, you may need to look at putting it into a loop or making your own loop. Consider how often the loop should run and any logic that may affect how often it runs.

Greg McKaskle
Since we are so close to the deadline, I don't have much access to play around with code. Today I will have access to see how well it works.

I also posted here to give other users a nice reference, if they have a similar question.
Reply With Quote