|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Controlling motors using vision processing help
The rectangular target processing produces a Target info array. Each element of that array is a bundle containing X,Y coordinates and computed distance of each recognized rectangle.
|
|
#2
|
||||
|
||||
|
Re: Controlling motors using vision processing help
got it, we have been using the distance, but not the x, y coordinates,
thank u |
|
#3
|
|||
|
|||
|
Re: Controlling motors using vision processing help
There is a camera servo example that does a search pattern, moves the camera to point at a colored object, and has a small state machine for overshoot and other situations. You may be able to adapt it or to get the general idea from it.
Greg McKaskle |
|
#4
|
|||
|
|||
|
Re: Controlling motors using vision processing help
Quote:
Thanks! |
|
#5
|
|||||
|
|||||
|
Re: Controlling motors using vision processing help
It's with all the other LabVIEW examples on your programming computer.
When you launch LabVIEW, the "Getting Started" window appears. It has a number of tabs down the left side. One of those tabs is "Support", and it leads to a set of links including "Find FRC Examples..." I think the specific example Greg is talking about is named "Servo Camera Example.lvproj". It resides in the FRC Robotics > Vision folder. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|