Go to Post "Programming is 1% talent and 99% not getting distracted by the Internet." - FRC4ME [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-01-2005, 23:00
Zalumaskov's Avatar
Zalumaskov Zalumaskov is offline
Premier
no team
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Place
Posts: 12
Zalumaskov is on a distinguished road
Ideas distingushing between middle goals?

I was just wondering about how to get the robot cam to find the middle of the three goals. I am considering having it scan for all three and use the middle pan value to get the center goal. Does anyone have any suggestions/other ideas?
__________________
I would change the world but I don't have the source code.
  #2   Spotlight this post!  
Unread 23-01-2005, 23:10
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Re: Ideas distingushing between middle goals?

Quote:
Originally Posted by Zalumaskov
I was just wondering about how to get the robot cam to find the middle of the three goals. I am considering having it scan for all three and use the middle pan value to get the center goal. Does anyone have any suggestions/other ideas?
I just thought of it, the height. I have to look at the drawings, which I can't right now. Can someone check up and tell me if the height is different?
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson
  #3   Spotlight this post!  
Unread 23-01-2005, 23:16
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Ideas distingushing between middle goals?

Quote:
Originally Posted by Bharat Nain
I just thought of it, the height. I have to look at the drawings, which I can't right now. Can someone check up and tell me if the height is different?
The camera would be finding the yellow triangle under the goal, not the goal itself, so the height wouldn't help. AFAIK, the triangles under each goal are identical.

I plan on using other sensors to find the goal. I have a bad feeling about trying to use those yellow triangles.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_

Last edited by jgannon : 23-01-2005 at 23:18.
  #4   Spotlight this post!  
Unread 23-01-2005, 23:24
Chris Bright's Avatar
Chris Bright Chris Bright is offline
Registered User
#1023 (Bedford Express)
Team Role: Webmaster
 
Join Date: Feb 2003
Rookie Year: 2003
Location: Temperance, MI
Posts: 54
Chris Bright will become famous soon enough
Send a message via AIM to Chris Bright
Re: Ideas distingushing between middle goals?

I don't know if you have heard of wildstang's stangps but i thought of tracking our position using trig while the camera is leading the bot to the goal. Once the robot picks up the tetra you will know where you are and you will know where you have to go. It might be a little complex though.
__________________
2003 - National Rookie All-stars
2003 - Great Lake Rookie All -stars
  #5   Spotlight this post!  
Unread 24-01-2005, 00:41
russell's Avatar
russell russell is offline
Registered User
#1430 (WRONG)
Team Role: Electrical
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Anchorage AK
Posts: 402
russell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to all
Re: Ideas distingushing between middle goals?

Do you mean you are going to use the camera servo values for trig? Because those are not very acurate, at least not if you are just using slightly modified (or unmodified) default camera code. Does anyone know how I can change the servo resolution in default camera code?
  #6   Spotlight this post!  
Unread 24-01-2005, 00:52
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Ideas distingushing between middle goals?

Quote:
Originally Posted by Chris Bright
I don't know if you have heard of wildstang's stangps but i thought of tracking our position using trig while the camera is leading the bot to the goal.
Using something like StangPS would be an effective strategy for finding the goal every time (hint, hint), but I wouldn't use the camera for that, because as russell noted, it's really not accurate enough for that.
Quote:
Originally Posted by russell
Does anyone know how I can change the servo resolution in default camera code?
From what I can tell, that's in the firmware of the camera board, not in the user code. I would love it if someone could prove me wrong, though.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #7   Spotlight this post!  
Unread 24-01-2005, 00:54
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,522
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: Ideas distingushing between middle goals?

Quote:
Originally Posted by Zalumaskov
I was just wondering about how to get the robot cam to find the middle of the three goals. I am considering having it scan for all three and use the middle pan value to get the center goal. Does anyone have any suggestions/other ideas?
This is something I kinda cooked up--season to taste:

Step 1: Know where you're starting, and make sure the robot knows, too. (A couple of switches on the digital inputs will solve that.)
Step 2: Via dead-reckoning or counting revolutions or something like that, get somewhere in the ballpark of the center goal. (Your robot should, after all, know how to get within a few feet, even if you're bumping a tetra out of the way.)
Step 3: Now let the camera do its thing.

As long as you don't have a really huge field of view, I'm willing to bet you should be good to go when it comes to the center goal.

Hope this helps!
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

94 events (more than will fit in a ChiefDelphi signature), 14 seasons, over 61,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
  #8   Spotlight this post!  
Unread 24-01-2005, 01:00
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Ideas distingushing between middle goals?

Quote:
Originally Posted by Billfred
This is something I kinda cooked up--season to taste:

Step 1: Know where you're starting, and make sure the robot knows, too. (A couple of switches on the digital inputs will solve that.)
Step 2: Via dead-reckoning or counting revolutions or something like that, get somewhere in the ballpark of the center goal. (Your robot should, after all, know how to get within a few feet, even if you're bumping a tetra out of the way.)
Step 3: Now let the camera do its thing.

As long as you don't have a really huge field of view, I'm willing to bet you should be good to go when it comes to the center goal.

Hope this helps!
I would suggest (read: I will be) reversing steps two and three. Measure where you are (with encoders, or an absolute positioning system like StangPS) WHILE letting the camera track. Then, once you've got the vision tetra, you should be able to figure out what you have to do to get over the center goal.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #9   Spotlight this post!  
Unread 24-01-2005, 01:14
russell's Avatar
russell russell is offline
Registered User
#1430 (WRONG)
Team Role: Electrical
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Anchorage AK
Posts: 402
russell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to all
Re: Ideas distingushing between middle goals?

That is what I was thinking before I realised that there are yellow triangles in the goals. Our problem comes from using 4wd with skid steer, which I cannot immagine would work very well with dead reckoning stuff. Am I right on that, or do robots tend to always skid the same way?
  #10   Spotlight this post!  
Unread 24-01-2005, 02:22
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Ideas distingushing between middle goals?

Quote:
Originally Posted by russell
That is what I was thinking before I realised that there are yellow triangles in the goals. Our problem comes from using 4wd with skid steer, which I cannot immagine would work very well with dead reckoning stuff. Am I right on that, or do robots tend to always skid the same way?
Blind dead reckoning works with any kind of robot, because its path is determined experimentally. Unfortunately, while that would have worked great last year, and it will work fine this year for knocking down the hanging tetras, it won't do you any good for finding the vision tetra. You do get a lot of inaccuracy with encoders and skid steer, because your powered wheels do a lot of slipping, and it's hard to estimate how much they are actually going to slip.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #11   Spotlight this post!  
Unread 24-01-2005, 06:58
Chris Bright's Avatar
Chris Bright Chris Bright is offline
Registered User
#1023 (Bedford Express)
Team Role: Webmaster
 
Join Date: Feb 2003
Rookie Year: 2003
Location: Temperance, MI
Posts: 54
Chris Bright will become famous soon enough
Send a message via AIM to Chris Bright
Re: Ideas distingushing between middle goals?

Quote:
Originally Posted by russell
Do you mean you are going to use the camera servo values for trig? Because those are not very acurate, at least not if you are just using slightly modified (or unmodified) default camera code. Does anyone know how I can change the servo resolution in default camera code?
I don't think my post was very clear lol. The camera would just be tracking the tetra. While the camera is tracking we would be keeping tabs on our position with quadrature encoders and a gyro. We would use the position they gave us after we pickup the tetra. I also thought of creating a boundary around the goal so if the robot crossed we would switch back to the camera from trig tracking. So basically the would be two separate systems.
__________________
2003 - National Rookie All-stars
2003 - Great Lake Rookie All -stars
  #12   Spotlight this post!  
Unread 24-01-2005, 15:11
gnormhurst's Avatar
gnormhurst gnormhurst is offline
Norm Hurst
AKA: gnorm
#0381 (The Tornadoes)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Trenton, NJ
Posts: 138
gnormhurst will become famous soon enoughgnormhurst will become famous soon enough
Re: Ideas distingushing between middle goals?

Quote:
Originally Posted by jgannon
Blind dead reckoning works with any kind of robot, because its path is determined experimentally. Unfortunately, while that would have worked great last year, and it will work fine this year for knocking down the hanging tetras, it won't do you any good for finding the vision tetra. You do get a lot of inaccuracy with encoders and skid steer, because your powered wheels do a lot of slipping, and it's hard to estimate how much they are actually going to slip.
This is a great example of why the software and hardware design teams need to talk to each other. As the software guy, I told the hardware design guys that I strongly preferred using wheel encoders, which meant I wanted a drive system that did not have wheel slippage inherent in the design. Four-wheel drive systems must slip when turning, unless special measures are taken (like car-steering or those crazy roller wheels that slide sideways).

Two wheel systems are very easy to drive and control, and they don't slip while turning, so wheel encoders have a chance of being useful.
__________________
Trenton Tornadoes 381
2004 Philadelphia Regional Winners
2006 Xerox Creativity Award
---
My corner of the USPTO.
My favorite error message from gcc: main is usually a function
My favorite error message from Windows: There is not enough disk space available to delete this file.
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
[Official 2005 Game Design] OK, so YOU design the 2005 game... dlavery FRC Game Design 37 26-10-2004 23:15
Problems with rookie ideas?!? Tton General Forum 7 08-01-2003 22:10
Curie Division Robots information... (not complete) archiver 2001 3 24-06-2002 03:13
WOW ! Mike Schroeder General Forum 12 12-03-2002 21:32
Robot Types (post your ideas here) Rick Rules/Strategy 30 10-02-2002 12:09


All times are GMT -5. The time now is 02:50.

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