Go to Post I check CD while I'm waiting for ProE to reload everytime it crashes. So that's about 20 times a day :ahh: - Gary Dillard [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
View Poll Results: How far have you gotten on coding the camera tracking?
Completed 25 22.73%
Debugging 29 26.36%
Work in progress 31 28.18%
Just started 10 9.09%
Havent started 10 9.09%
Not going to use the camera for that 5 4.55%
Voters: 110. You may not vote on this poll

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 23-01-2009, 19:08
weinbergmath's Avatar
weinbergmath weinbergmath is offline
Mentor to China FTC/FLL, FRC1230
AKA: Evan Weinberg
FRC #1230
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Hangzhou, China
Posts: 22
weinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to beholdweinbergmath is a splendid one to behold
Re: How far have you gotten on coding the camera tracking?

Hi everyone,

I'm posting two videos of an older robot with the new control system tracking the vision target.

Video 1 - http://www.youtube.com/watch?v=9l64T6wc1Lg

Video 2 - Labview Screen View - http://www.youtube.com/watch?v=HdyzfuzJs-w


We used the Two Color servo tracking vi from NI, and dropped it into the Robot Main vi to control the drive motors of the robot. Please contact me if you have questions on the implementation. The program is set to steer towards the target and maintain a certain distance, which will be adjusted to be at the correct distance to allow our manipulator to drop the moon rocks into the trailer.

I'm not thrilled with the program's ability to track the colors, particularly the green color, but we will continue to test and adjust as time goes on. You can see the intermittent tracking of green in the second video. We will be transplanting the control board to the new robot to tweak it for the new wheels very soon. I expect to be able to take the outputs of this current program and feed them into a traction control algorithm.

On another note, I want to say how enjoyable it has been teaching my students to program the robot using Labview. Most of the programming team has almost no programming experience, but something about Labview has made it less intimidating. The students really seem to enjoy looking through the various functions to find what they want to use, while finding other ones along the way that might be useful later on. Even more interesting, this year's programming team is almost exclusively female! If Labview was the missing factor in getting more girls interested in programming, I will gladly add it to the list of reasons I'm glad we made the decision to use it this year.

One more comment - has anyone found that the camera resets itself when the motors change rapidly? The only cause that makes sense is some sort of noise getting into the system. We changed our tracking to include the PID.vi from the control toolbox, and the system was resetting any time there was integral gain. The camera would reset, and the cRIO would keep doing whatever it was doing just before the camera went out....disabling and re-enabling at the driver station would stop it from moving completely. Please let me know if you have had similar experiences.

Evan
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how far have you gotten on your robot? gondorf General Forum 167 26-01-2010 07:35
How far have you gotten in "100 Bottles of Milk on the Wall"... Billfred Chit-Chat 25 29-03-2009 18:01
How far has your team gotten? Alex Burman Chairman's Award 5 21-01-2006 15:43
Have you gotten your robot to go towards the vision tetra? Bharat Nain Programming 20 25-02-2005 20:18
So how much have you all accomplished so far? team222badbrad General Forum 16 16-01-2002 18:09


All times are GMT -5. The time now is 16:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi