![]() |
Tracking Goal Reflective Tape
In team 3494's so far discussion on designing an Offensive robot, we've determined that the most reliable way to score other than the "slam dunk" method is by using a camera to track the reflective tape targets on the goals. I have no experience programming this, how feasible is it to program a tracking method with Labview as a fairly new (1 year exp) programmer? I have'nt been able to look at the available prebuilt software, but is there any that would make this a good dependable design option? Also, is it easier to track, program, and test tracking the lines with the Kinect as opposed to the Axis camera? Thanks in advance for any help!
|
Re: Tracking Goal Reflective Tape
The example code called Rectangular Target Processing may be interesting to look at. Additionally, a white paper that describes the code should be on the NI site before long. The example runs on the laptop using just the camera and the ring light.
While the Kinect has a good RGB camera on it, it is much simpler to connect an Axis than a Kinect. Greg McKaskle |
Re: Tracking Goal Reflective Tape
Can I pull up any similar example code for Java?
|
Re: Tracking Goal Reflective Tape
I'm not sure about that, but I believe the functions are probably wrapped so that they can be called from C++ and Java. If not, it is not much work to have them wrapped and added to WPILib.
Greg McKaskle |
Re: Tracking Goal Reflective Tape
Quote:
|
Re: Tracking Goal Reflective Tape
|
Re: Tracking Goal Reflective Tape
As you brainstorm, it's also worth noting that robots don't have to do things the way that humans do things. To aim at the target, you don't have to be able to see the target, you just have to know where it is in relation to the robot (angle, distance, height, the last of which is constant for any given basket).
Astute students could devise a way, for example, to use the geometry of floor lines (detected with an array of color sensors) to line up shots from particular points on the field, wherein the robot will be in perfect position for nuthin'-but-net. (Please note that I'm not necessarily advocating that as the ideal method to line up shots -- I'm just trying to give kids a prod in the alternative-functionality direction.) |
Re: Tracking Goal Reflective Tape
Bingo. Look for all of the known field entities that can be used to localize the robot on the field, especially those that may get you to a position where your robot has a high chance of scoring, and then look for the simplest way to identify those and incorporate them into your targeting system.
As an example, exercise, my HS basketball coach told players to focus on either the front or rear of the rim, depending on how their shooting motion tended to loft the ball. Then he admitted that he still focussed on the net, and that when he was a youngster he started at a solar eclipse long enough to scar his retina. Since he couldn't actually make out the rim reliably, he looked at the net. I'm sure other players look at some portion of the backboard rectangle. The field has nice lines on the floor to follow to a known location. It has a fender to align against or locate with a sensor. And it is worth mentioning that the walls of the field are nice for alignment. The retro-reflective tape was definitely put on the backboard as a possible vision target, but it is one of many. Don't let it limit your possibilities. Greg McKaskle |
| All times are GMT -5. The time now is 16:38. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi