Go to Post Although I have much yet to go, in my short time in FIRST I have learned there is no such thing as a waste of time, especially when a) fundraising, b) mentoring students, or c) reading directions. - Amanda Morrison [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy
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 25-02-2005, 18:44
Andrew Blair's Avatar
Andrew Blair Andrew Blair is offline
SAE Formula is FIRST with Gasoline.
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry
Posts: 1,193
Andrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond repute
Send a message via AIM to Andrew Blair Send a message via Yahoo to Andrew Blair
Autonomous: CMUCam or dead reckoning?

As far as I can see, the CMUCam doesn't have any real depth perception, so programming it seems like a waste when you still have to put in you're forward commands. Since the tetras are always in a couple positions, wouldn't it make more sense to have a few variable autonomous modes on switches, using the Hall-Effect sensors to guide? It seems you would need to limit the CMUCam anyway in order to avoid collisions with teammates going for the same tetra.
  #2   Spotlight this post!  
Unread 25-02-2005, 18:48
Elgin Clock's Avatar
Elgin Clock Elgin Clock is offline
updates this status less than FB!
AKA: the one who "will break into your thoughts..."
FRC #0237 (Black Magic)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2001
Location: H20-Town, Connecticut
Posts: 7,773
Elgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond repute
Send a message via AIM to Elgin Clock
Re: Autonomous: CMUCam or dead reckoning?

I tend to disagree. We have successfully gotten the robot to seek the tetra with teh CMU cam, at different locations on the field, pick it up, find a goal, and stack.

Not that hard to do..

In theory anyways, then again.. I'm not on the programming team, so it looked simple from a bystanders perspective.
Then again again, It may change at the actual venue, as opposed to the conditions during testing. But it did work, and I hope it does during competition as well.. Cause that would be sweet.
__________________
The influence of many leads to the individuality of one. - E.C.C. (That's me!!)

  #3   Spotlight this post!  
Unread 25-02-2005, 19:13
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Autonomous: CMUCam or dead reckoning?

Quote:
Originally Posted by Elgin Clock
In theory anyways, then again.. I'm not on the programming team, so it looked simple from a bystanders perspective.
I wish the code was as simple as it looked, Elgin.
__________________
http://www.mikesorrenti.com/
  #4   Spotlight this post!  
Unread 25-02-2005, 19:14
Unsung FIRST Hero
miketwalker miketwalker is offline
Robot Lifeguard
FRC #1902 (Exploding Bacon)
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Orlando, FL
Posts: 878
miketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond repute
Send a message via AIM to miketwalker
Re: Autonomous: CMUCam or dead reckoning?

Quote:
Originally Posted by Andrew Blair
wouldn't it make more sense to have a few variable autonomous modes on switches, using the Hall-Effect sensors to guide?
Like Elgin said, it can be done with the programming on the CMUCam. As to what you're saying with just using hall-effect sensors... think bout this... I am a defensive robot... I run across the field and drive around trying to bump things *whoops* I hit you from the side... you now have no clue where you're at cause your wheels have slid... and your robot doesn't know where it's at. Now, there are two solutions to this... you make a positioning system using free spinning wheels and a gyro and such, or just the camera (or both if you want full control). Plus... the positions of the tetras are over a pretty broad area, in 15 seconds I'd doubt you could cover half of them even by just driving around, and thats if you don't hit anything.
  #5   Spotlight this post!  
Unread 25-02-2005, 19:34
Andrew Blair's Avatar
Andrew Blair Andrew Blair is offline
SAE Formula is FIRST with Gasoline.
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry
Posts: 1,193
Andrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond repute
Send a message via AIM to Andrew Blair Send a message via Yahoo to Andrew Blair
Re: Autonomous: CMUCam or dead reckoning?

We weren't thinking about grabbing more than 1 tetra during an autonomous period. We're pretty strapped as far as programmers go, having none of them, and myself and another team member have taken it upon ourselves to do. I was considering the value of programming and using the CMUCam cam vs. simply using dead reckoning, not considering the possibility of an occasional bump. I'm pretty sure, except if an alliance partner goes haywire, that a calculated strike like the one you metioned would be penalized by the officials. I'm not sure about in autonomous, but the offensive high speed ramming is in the rules for the human controlled period.
  #6   Spotlight this post!  
Unread 25-02-2005, 19:40
Andrew Blair's Avatar
Andrew Blair Andrew Blair is offline
SAE Formula is FIRST with Gasoline.
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry
Posts: 1,193
Andrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond repute
Send a message via AIM to Andrew Blair Send a message via Yahoo to Andrew Blair
Re: Autonomous: CMUCam or dead reckoning?

you now have no clue where you're at cause your wheels have slid


Unfortunately for us, or maybe not, we can't slide. Our wheels simply do not allow it. If hit from the side we have two options: fall over with a loud crash, or start figuring out how to fix a dented side rail. I am interested in the flywheel idea; wouldn't it be better to place two accelerometers 90 degrees from each other to gauge hits?
  #7   Spotlight this post!  
Unread 25-02-2005, 19:44
Cody Carey's Avatar
Cody Carey Cody Carey is offline
,':-)
AKA: C. Carey
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry, PA
Posts: 1,137
Cody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond repute
Send a message via AIM to Cody Carey Send a message via Yahoo to Cody Carey
Re: Autonomous: CMUCam or dead reckoning?

Okay, excuse my friend and my ignorance, we have no idea what we're doing with programming the CMUCam, so he was trying to find a way to do basically the same thing whithout using it . I would like to point out, Andrew, that it would not have to be a "calculated strike" to have the described effect.
Also, could you describe to us what we would have to put in our programming to get the CMUCam to judge depth?
__________________

Last edited by Cody Carey : 25-02-2005 at 19:48.
  #8   Spotlight this post!  
Unread 25-02-2005, 19:55
Cody Carey's Avatar
Cody Carey Cody Carey is offline
,':-)
AKA: C. Carey
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry, PA
Posts: 1,137
Cody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond reputeCody Carey has a reputation beyond repute
Send a message via AIM to Cody Carey Send a message via Yahoo to Cody Carey
Re: Autonomous: CMUCam or dead reckoning?

and does anyone know how it judges depth without two lenses?
__________________
  #9   Spotlight this post!  
Unread 25-02-2005, 19:56
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Autonomous: CMUCam or dead reckoning?

Quote:
Originally Posted by Cody C
...Also, could you describe to us what we would have to put in our programming to get the CMUCam to judge depth?
elevation...
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #10   Spotlight this post!  
Unread 25-02-2005, 19:57
Unsung FIRST Hero
miketwalker miketwalker is offline
Robot Lifeguard
FRC #1902 (Exploding Bacon)
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Orlando, FL
Posts: 878
miketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond repute
Send a message via AIM to miketwalker
Re: Autonomous: CMUCam or dead reckoning?

Quote:
Originally Posted by Andrew Blair
wouldn't it be better to place two accelerometers 90 degrees from each other to gauge hits?
I spent 4.5 weeks trying to get those accelerometers to work in a positioning system (I used 2 of them just like you're saying)... 3 days before ship I gave up. A) They're so sensitive and need to be so precise that it's hard to mount
B) The way it's values come back, it is majorly biased and doesn't measure rates equally on positive and negative because of wire resistance.

It's too much work imho.

Quote:
Originally Posted by Cody C
Also, could you describe to us what we would have to put in our programming to get the CMUCam to judge depth?
Pretty much what I'm doing (since I had to abandon the positioning system like I said above) to judge distances from tetras and goals... is using simple math to find how far away the tetra is. Think of depth... when an object is closer to you, it's bigger... further away smaller. So, in using the camera I just use the width to know the tetra is where I want it to be to pick up by doing a simple math calculation (cam.x2 - cam.x1), and you have to test with the bot and put it where you want it to be for picking it up and plug in the number. (If you are confused what cam.x2 and cam.x1 are, refer to the Start Here manual on pages 20 and 22). Then make sure your cam.x (the center of mass) is in the center of your view so you know your lined up with the tetra. Then, do the same with the yellow piece in the goal. Does that make sense? You'll have to play with it on the practice field, but it can be done.
  #11   Spotlight this post!  
Unread 25-02-2005, 19:58
Mike Ounsworth's Avatar
Mike Ounsworth Mike Ounsworth is offline
Roboticist
FRC #3710 (Cyber Falcons)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Montreal, Qc, Canada
Posts: 22
Mike Ounsworth is a jewel in the roughMike Ounsworth is a jewel in the roughMike Ounsworth is a jewel in the rough
Re: Autonomous: CMUCam or dead reckoning?

From what the programmers have explained to me I think that the best way to have the CMUcam judge distance is to calculate the area of green that it sees by what % of teh field os vision it occupies and compare that to the actual area of the pannel. Hope this makes sense :S
__________________
I am doing graduate work on autonomous aerial and underwater vehicles with McGill University's Mobile Robotics Lab.

I have been Lead Programming Mentor with Teams 296 and 3710, as well as Head Mentor for 2 years at 3710.
  #12   Spotlight this post!  
Unread 25-02-2005, 20:11
Andrew Blair's Avatar
Andrew Blair Andrew Blair is offline
SAE Formula is FIRST with Gasoline.
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry
Posts: 1,193
Andrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond repute
Send a message via AIM to Andrew Blair Send a message via Yahoo to Andrew Blair
Re: Autonomous: CMUCam or dead reckoning?

Thanks much guys! We are completly devoid of programming knowledge and anything helps! I was wondering about the object getting bigger thing. I had asked a mentor about it, but they had thought that we couldn't do it.
Obviously it's possible!
  #13   Spotlight this post!  
Unread 25-02-2005, 20:22
Unsung FIRST Hero
miketwalker miketwalker is offline
Robot Lifeguard
FRC #1902 (Exploding Bacon)
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Orlando, FL
Posts: 878
miketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond repute
Send a message via AIM to miketwalker
Re: Autonomous: CMUCam or dead reckoning?

Quote:
Originally Posted by Andrew Blair
Thanks much guys! We are completly devoid of programming knowledge and anything helps! I was wondering about the object getting bigger thing. I had asked a mentor about it, but they had thought that we couldn't do it.
Obviously it's possible!
I've been focusing on using a positioning system, a range sensor to detect range from 3"-60" and just using the CMUcam for color... but when the positioning system went out the window, I found and was pretty quickly able to program the camera to do the object width trick. If you run into any issues, feel free to send me a PM or an e-mail. If you read through the coding section of the manual I talked about, it should explain pretty well how to make your code retrieve the data from the camera you need, then all you need to code is how to work with it (telling the robot to turn to find the objects, moving an arm up and down at the right time, etc.). I hope this helps.
  #14   Spotlight this post!  
Unread 26-02-2005, 01:14
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,825
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Autonomous: CMUCam or dead reckoning?

From what I know (admittedly not much as I am not on the camera/accelerometer/gyro crew), our camera guys managed to use the camera as a rangefinder. The theory as I heard it is something like "the camera is at z angle at x height, the vision panels are at y height, so we can use the camera to find distance"- apparently using trig. As for accelerometers, we have two at right angles to each other, but I don't know what the status is on the program. It also helps that we have an onboard processor for incoming data from the camera, gyro, and accelerometer department that sends the data to the RC. I don't know how well it will work- or if it will work- yet because I haven't been around when the program was tested.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #15   Spotlight this post!  
Unread 26-02-2005, 01:17
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,031
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: Autonomous: CMUCam or dead reckoning?

Wow, did you guys really manage to judge distance based on the size of what the camera is seeing? I'm impressed.

We did it by mounting the camera about three feet up and using trig to calculate the distance to the tetra based on the angle of depression to it.
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
White Paper Discuss: 2003 Automated Dead Reckoning Test Code CD47-Bot Extra Discussion 10 07-09-2005 11:25
CMUcam autonomous programming kshot Programming 1 17-01-2005 19:18
Dead Reckoning Ryan Cumings Programming 3 24-02-2004 10:57
Answers for Dead Reckoning... FOR BEGINNERS actorindp Programming 6 20-02-2004 23:56


All times are GMT -5. The time now is 12: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