|
Re: Processed Image > Robot Movement Help Needed
Quote:
Originally Posted by BenGrapevine
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."
|