View Single Post
  #1   Spotlight this post!  
Unread 26-02-2014, 16:32
Jarren Harkema's Avatar
Jarren Harkema Jarren Harkema is offline
Dancing Drive Coach
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Sep 2013
Rookie Year: 2013
Location: Michigan
Posts: 163
Jarren Harkema is a name known to allJarren Harkema is a name known to allJarren Harkema is a name known to allJarren Harkema is a name known to allJarren Harkema is a name known to allJarren Harkema is a name known to all
Process one Image

Hi everyone. For the life of me I cannot wrap my head around how to go about vision processing.

All I want to do:
1. Take 1 picture at the beginning of autonomous.
2. Identify the presence of the dynamic vision target.
3a. If present, drive forward and launch ball. (This code already in place)
3b. If not present, wait 5 seconds, then drive forward and launch ball.

I have ran the 2014 Image Processing VI, and it can identify the targets. I have also gone through Tutorial 8 - "Integrating Vision into the robot code" on the Getting Started screen. I understand the basics of how the VI identifies and scores the targets.

At this point I'm stuck. I can't seem to find any resources for how to actually capture the image, process it, and decide to shoot or wait. I understand that processing on the cRIO is slow, but would it work if it is just processing one image?

It's difficult being the only programmer! I just want to thank the CD community for the help they have given on other topics, I hope to be able to learn enough this year to get more team members on board with programming next year.
Reply With Quote