View Single Post
  #2   Spotlight this post!  
Unread 15-01-2014, 17:26
faust1706's Avatar
faust1706 faust1706 is offline
Registered User
FRC #1706 (Ratchet Rockers)
Team Role: College Student
 
Join Date: Apr 2012
Rookie Year: 2011
Location: St Louis
Posts: 498
faust1706 is infamous around these partsfaust1706 is infamous around these parts
Re: Processed Image > Robot Movement Help Needed

Quote:
Originally Posted by BenGrapevine View Post
I have spent the last week or so modifying the dashboard to be able to process the vision system for this year's game.



As you can see above, the dashboard is able to take our live incoming image and give back the specific scores pertaining to left and right, etc. We can also see the distance to the wall (not pictured because it's cut off currently, and it's also a little off on the math).

With that information and knowledge handy, I'm completely stumped on how to integrate it into the teleop or autonomous VIs and make the robot do things (such as move to 10 feet away from the wall, or turn 60 degrees to the left, etc.) based on score or distance away. If anyone considers themself a guru of vision, any help with pictured examples or a .pdf or something like that would be fantastic.
To my understanding, you are getting distance to the wall like you said. My team has used closed loop control (PID) to do similar tasks such as moving a certain distance. A some what older CD thread is about a mentor's book he wrote about labview, and in it he goes into detail about pid control. I think that would be a great start to your problem at hand.

http://www.chiefdelphi.com/forums/sh....php?p=1297945
__________________
"You're a gentleman," they used to say to him. "You shouldn't have gone murdering people with a hatchet; that's no occupation for a gentleman."
Reply With Quote