Go to Post Dave Lavery, Lou Rosanio and Karthik are all Woodie Flowers winners this year. So mentors it seems like if ya want the WFA it might be a good idea to put on a kilt :) - Kyle [more]
Home
Go Back   Chief Delphi > FIRST > Robot Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-03-2010, 21:24
TotalChaos's Avatar
TotalChaos TotalChaos is offline
Registered User
AKA: Austin
FRC #2837 (Freebird Robotics)
Team Role: College Student
 
Join Date: Apr 2008
Rookie Year: 2006
Location: Gilbert AZ
Posts: 112
TotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud of
Send a message via MSN to TotalChaos
Team 39: Target AND Field Oriented Drive (Target tracking)

Greeting CDer's!

Just wanted to share a video with you all of Team 39's 2010 Drive system!
http://www.youtube.com/watch?v=LVtHI6fpeGM

Most of the features are listed in the "More Info" section of the video. The centerpeice of the video is our Target-Field Oriented drive mode. Similar to what's seen in 1058's thread about field oriented drive, we also have field oriented mecanum drive with the ability to track the goal target and hold our heading so we are always facing the goal while we move around relative to the field.

Enjoy!

- Austin
__________________
The 39th Aero Squadron - Team 39! (Visit our website!)
Team Role: 3 Years as Driver - College Student/Mentor!


Freebird Robotics - On a 1 year hiatus! (Visit our website!)
Arizona 2009: Semifinalists! (69 and 498), Delphi "Driving Tomorrow's Technology" Award
  #2   Spotlight this post!  
Unread 01-03-2010, 21:32
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Team 39: Target AND Field Oriented Drive (Target tracking)

That is wicked awesome. Enough to make me reconsider using the camera.
  #3   Spotlight this post!  
Unread 01-03-2010, 21:54
BEEKMAN BEEKMAN is offline
Registered User
AKA: Brendan McLeod
FRC #0190 (Gompei and the Herd)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Londonderry, NH
Posts: 138
BEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to behold
Re: Team 39: Target AND Field Oriented Drive (Target tracking)

Quote:
Originally Posted by TomBot View Post
That is wicked awesome. Enough to make me reconsider using the camera.
you will most deffinatly want to use teh camera!!



I like the concept here, i'm assuming most of the time you Arn't facing the target..I just imagine it being hard to aquire balls while tracking like this. We have this as well, but on a more "on-demand" level, where as, most of our driving is done perpendicular to us (aka, shooter facing us) then we hit a button, and now we're facing the target....it gives us better ball controll
  #4   Spotlight this post!  
Unread 01-03-2010, 22:12
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Team 39: Target AND Field Oriented Drive (Target tracking)

Quote:
Originally Posted by BEEKMAN View Post
you will most deffinatly want to use teh camera!!
That all depends on your strategy and how you see the game played. In autonomous, I can see it beneficial to not use the camera, since it will un-align you when you try to continue on to further balls (mid and far positions only). You could align, track the heading delta, and then turn back, but that all takes much more time. In teleop, I can see many times where the camera dosen't have a target while you are not facing it (e.g. getting balls) and then suddenly turning and wanting to fire. The camera takes a little while to get the target after turning quickly, so this would cause problems. This is all for the far and mid fields, the close field has many more applications for camera tracking and probably actually needs it less since the shot is so easy to line up.

That said, with Mecanum and Swerve drives, the ability to translate in an arbitrary direction without changing orientation makes the camera much more useful, especially where you don't plan on changing orientation enough to knock the camera off target.

You might find the camera useful, maybe not. It all depends on your strategy.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #5   Spotlight this post!  
Unread 01-03-2010, 22:12
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Team 39: Target AND Field Oriented Drive (Target tracking)

Cool!

Does the target-facing rely on the update rate of the camera or are you using the distance-from-target in conjunction with the heading from the gyro to figure out how the robot should move inter-frame from the camera? or is the heading adjustment recalculated based on camera data alone?

I'm a big fan. It would be cool to see a video of your robot switching between field and target oriented modes.

-q
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
  #6   Spotlight this post!  
Unread 01-03-2010, 22:22
jblay's Avatar
jblay jblay is offline
Here comes StuyPulse
AKA: Joe Blay
FRC #0694 (StuyPulse)
Team Role: Coach
 
Join Date: Feb 2008
Rookie Year: 2006
Location: New York, NY
Posts: 983
jblay has a reputation beyond reputejblay has a reputation beyond reputejblay has a reputation beyond reputejblay has a reputation beyond reputejblay has a reputation beyond reputejblay has a reputation beyond reputejblay has a reputation beyond reputejblay has a reputation beyond reputejblay has a reputation beyond reputejblay has a reputation beyond reputejblay has a reputation beyond repute
Re: Team 39: Target AND Field Oriented Drive (Target tracking)

This is one of the coolest drive trains I've seen so for. I can't wait to see it in action.
__________________
It's pronounced StighPulse like HighPulse
2016 Curie Champions
2016 New York City Champions
2016 New York City Engineering Inspiration
2015 New York City Finalists
2013 New York City Champions
2012 Connecticut Chairman's
2011 Connecticut Chairman's
2010 Connecticut Chairman's

2010 New York City Champions
2008 New York City Engineering Inspiration
2007 New York City Finalists
2006 New York City Finalists
2005 New York City Chairman's
2003 New York City Champions
2002 New York City Engineering Inspiration
2001 New York City Finalists
  #7   Spotlight this post!  
Unread 01-03-2010, 22:47
sparrowkc sparrowkc is offline
Registered User
AKA: Mark
FRC #1986 (Team Titanium)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Lees Summit
Posts: 114
sparrowkc is a splendid one to beholdsparrowkc is a splendid one to beholdsparrowkc is a splendid one to beholdsparrowkc is a splendid one to beholdsparrowkc is a splendid one to beholdsparrowkc is a splendid one to beholdsparrowkc is a splendid one to beholdsparrowkc is a splendid one to behold
Re: Team 39: Target AND Field Oriented Drive (Target tracking)

I wouldn't have dreamed that frame rates like that were possible, let alone the lag-free ellipse drawing on the dashboard. Would you mind giving any hints? What development system are you using?
  #8   Spotlight this post!  
Unread 02-03-2010, 00:23
lynca's Avatar
lynca lynca is offline
Andrew Lynch
FRC #2587 (DiscoBots)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Houston, TX
Posts: 1,611
lynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond repute
Send a message via AIM to lynca
Re: Team 39: Target AND Field Oriented Drive (Target tracking)

Quote:
Originally Posted by sparrowkc View Post
I wouldn't have dreamed that frame rates like that were possible, let alone the lag-free ellipse drawing on the dashboard. Would you mind giving any hints? What development system are you using?
This is an idea our team has considered but we also thought it was too difficult.

I second the request for more details ! Thanks,
__________________
History: 624 - Cryptonite --> 118 - Robonauts --> 2158 - AusTIN CANS --> 2587 DiscoBots
Bio: Andrew Lynch "How I Work" ---- LinkedIn , Facebook, Twitter
  #9   Spotlight this post!  
Unread 02-03-2010, 00:33
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,513
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Team 39: Target AND Field Oriented Drive (Target tracking)

After playing with the labview vision extensively, they may be using the 160x120 resolution. If so, after adjusting and in bright light like they have, I was able to obtain 70-100 millisecond timing (12 fps). At 320x240 I was only able to get it down to the 180 millisecond time frame (5 FPS).

I am curious as well as to how they are obtaining such seemingly excellent framerates. To be fair, mine have been running off the development computer and I'm unsure if theirs were deployed to the robot permanently and simply using the Driver station or not. At the 160x120 I begin losing the target at more than 18 feet.

Stunning work guys!
  #10   Spotlight this post!  
Unread 02-03-2010, 01:02
CraigHickman
 
Posts: n/a
Re: Team 39: Target AND Field Oriented Drive (Target tracking)

It's drive systems coupled with incredible programming like this that make me want to discard my dislike of holonomic drive systems... In fact, I think it's time to prototype one.
  #11   Spotlight this post!  
Unread 02-03-2010, 08:33
AmoryG AmoryG is offline
Registered User
FRC #2423 (KwarQs)
Team Role: Alumni
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Watertown, MA
Posts: 221
AmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud of
Re: Team 39: Target AND Field Oriented Drive (Target tracking)

I haven't done much experimenting with the AxisCamera class, but I found something that might be useful:

Code:
/**
327	 * @param Valid values are 0, 50, 100.
328	 * 0 = Prioritize image quality
329	 * 50 = None
330	 * 100 = Prioritize frame rate
331	 */
332	void AxisCamera::writeExposurePriority(int exposurePriority) {
333	    char param[50];
334	    char* baseString = "Source.I0.Sensor.exposurePriority=%i";
335	    sprintf(param, baseString, exposurePriority);
336	    updateCamParam(param);
337	}
I'm not sure what the default is, but I bet giving it a value of 100 might increase your FPS.

I'm not really sure the frame rate needs to be much higher, though. Our robot turns very quickly (probably can rotate more than 360 degrees/s). Even while turning at full speed, our camera was good enough to track the target using a hacked up version of the vision sample code. For us, a full rotation a second is not reasonable. If our team were to improve our vision/tracking code, we would not look to improve frame rate, but the quality of our image.
__________________
KwarQs 2423

2008 Boston Regional Rookie Allstars

http://whsrobot.blogspot.com/

Last edited by AmoryG : 02-03-2010 at 08:47.
  #12   Spotlight this post!  
Unread 02-03-2010, 13:09
TotalChaos's Avatar
TotalChaos TotalChaos is offline
Registered User
AKA: Austin
FRC #2837 (Freebird Robotics)
Team Role: College Student
 
Join Date: Apr 2008
Rookie Year: 2006
Location: Gilbert AZ
Posts: 112
TotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud ofTotalChaos has much to be proud of
Send a message via MSN to TotalChaos
Re: Team 39: Target AND Field Oriented Drive (Target tracking)

Quote:
Originally Posted by Qbranch View Post
I'm a big fan. It would be cool to see a video of your robot switching between field and target oriented modes.
Thanks! We enter targeting mode by pressing and holding a button on our joystick, you actually see the transition in the video from the robot right side view as it turns around from looking at us, we just turn around so we generally face the target, hold the button and go! I would have like to include better video of the transitioning but we had limited space since it was raining outside all day!


Quote:
Originally Posted by sparrowkc View Post
What development system are you using?
We are using LabView!


Quote:
Originally Posted by Tom Line View Post
After playing with the labview vision extensively, they may be using the 160x120 resolution. If so, after adjusting and in bright light like they have, I was able to obtain 70-100 millisecond timing (12 fps). At 320x240 I was only able to get it down to the 180 millisecond time frame (5 FPS).
I believe in this video we are using 320x240, though we have tested and driven using 640x480. With 640x480 we get around 5-7 FPS, using 320x240 the FPS counter jumps around between 7-14 FPS, though generally around 8 FPS.



As to how we did this, Im not sure what technical info my team would prefer me to divulge. But I can say that we looked at the image processing capabilities of the cRio, then we read the rules:
Quote:
Custom circuits may be used to indirectly affect the robot outputs by providing enhanced sensor feedback to the cRIO-FRC to allow it to more effectively control the ROBOT.
And then drew a logical conclusion.

- Austin
__________________
The 39th Aero Squadron - Team 39! (Visit our website!)
Team Role: 3 Years as Driver - College Student/Mentor!


Freebird Robotics - On a 1 year hiatus! (Visit our website!)
Arizona 2009: Semifinalists! (69 and 498), Delphi "Driving Tomorrow's Technology" Award

Last edited by TotalChaos : 02-03-2010 at 16:57. Reason: better grammar :P
  #13   Spotlight this post!  
Unread 02-03-2010, 15:53
BornaE's Avatar
BornaE BornaE is offline
Registered User
FRC #0842 (Formerly 39)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Gilbert, Arizona
Posts: 359
BornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant future
Re: Team 39: Target AND Field Oriented Drive (Target tracking)

Just an update:

After a few tweaks to optimize the code, we are tracking the target at 640x480, 30! frames per second. I Don't think it can get any better.
of course, unless we get a camera with 60fps capability

Will try to get a video posted if possible.
__________________
-Borna Emami
Team 0x27
  #14   Spotlight this post!  
Unread 02-03-2010, 15:55
BornaE's Avatar
BornaE BornaE is offline
Registered User
FRC #0842 (Formerly 39)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Gilbert, Arizona
Posts: 359
BornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant future
Re: Team 39: Target AND Field Oriented Drive (Target tracking)

Quote:
Originally Posted by CraigHickman View Post
It's drive systems coupled with incredible programming like this that make me want to discard my dislike of holonomic drive systems... In fact, I think it's time to prototype one.
Exactly the reason we have the middle wheels, Best of both worlds.
The actuall middle wheels are in the crate at the moment, too heavy to hold back. They will be 8" x 1.75" roughtop wheels.
__________________
-Borna Emami
Team 0x27
Closed Thread


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
Target Tracking Igor1201 NI LabVIEW 5 26-01-2010 22:14
2009 Target Tracking Uberbots NI LabVIEW 0 16-01-2009 02:18
Field-Oriented Mecanum Drive ZZII 527 Programming 6 15-01-2008 16:56
Autonomous Target Tracking at Regionals PhilBot Control System 49 23-03-2007 13:38
Camera Tracking Target Jade Programming 3 20-01-2007 01:41


All times are GMT -5. The time now is 19:24.

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