Go to Post Just like it is not all about the robots, it is not all about winning the Chairman's Award. - Paul Copioli [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 08-04-2010, 15:55
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Autonomous Perception

With the goal of making a robot fully autonomous:

What information would be useful to a robot during autonomous?

How can that information be measured or acquired?
__________________
-- Marshal Horn

Last edited by kamocat : 08-04-2010 at 16:01.
  #2   Spotlight this post!  
Unread 08-04-2010, 15:56
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Autonomous Perception

Some things a robot might want to know are:
  • Where am I on the field?
  • Where are the robots around me? (what alliance are they?)
  • Where are the balls around me? (on the floor, presumably)
  • Where are the goals? The bumps? The towers? The walls?
  • Have I flipped over?
  • What are the other robots doing? Do they need help? (Inter-robot communication)
__________________
-- Marshal Horn
  #3   Spotlight this post!  
Unread 08-04-2010, 15:59
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Autonomous Perception

Quote:
Originally Posted by kamocat View Post
Some things a robot might want to know are:
  • Where am I on the field?
  • Where are the robots around me? (what alliance are they?)
  • Where are the balls around me? (on the floor, presumably)
  • Where are the goals? The bumps? The towers? The walls?
  • Have I flipped over?
  • What are the other robots doing? Do they need help? (Inter-robot communication)
I've copied this message from http://www.chiefdelphi.com/forums/sh...t=84797&page=3
Quote:
Originally Posted by biojae View Post
This is where the GDC may play nice again, and bring back something like the 2 freq. IR beacons.
But, even if they don't there are simple ways for determining where you are on a field using encoders (Assuming the wheels don't slip. Hard for last year).

Using kinematic formulas:

Code:
S = (Delta Left + Delta Right) / 2
Delta Theta = (Delta left - Delta right) / wheelbase
Theta = Theta + Delta Theta
X = X + (S * cosine ( Theta ) )
Y = Y + (S * sine    ( Theta ) )
This satisfies one item on the list, but only slightly.

As far as knowing where other robots are, that would need a lot of DSP, or an external observer telling the bots where they are, or all bots to communicate with each other
__________________
-- Marshal Horn
  #4   Spotlight this post!  
Unread 08-04-2010, 16:07
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,350
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Autonomous Perception

Continuing:

Q1) What direction am I heading.
Q2) How far have I traveled.
Q3) How fast am I moving.
Q4) Am I turning.
Q5) How fast am I turning.
Q6) Can I visualize my objective.


To answer some of these question:

A1) Read from a Gyro or Compass.
A2) Read from an Encoder.
A3) Read rate from an Encoder.
A4) Read from a Gyro or compass and compare to a previous reading.
A5) See answer "A4" and divide by time between measurements.
A6) Use camera and analyze the image.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #5   Spotlight this post!  
Unread 08-04-2010, 16:13
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Autonomous Perception

Did I run into something? (limit switches on bumper?)
Am I going to run into something? (sonar? Infrared? Something else?)
__________________
-- Marshal Horn
  #6   Spotlight this post!  
Unread 08-04-2010, 18:01
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Autonomous Perception

Here's a clarified list of things that need to be measured for field-awareness, based on the Autonomous Planning discussion.
  1. What region of the field am I in?
  2. How available are the gamepieces?
  3. What is the current score?
  4. Are there any 'bots blocking me?
  5. Are there any 'bot helping me?

(1)"region of the field" has been pretty much covered: track your location with the gyro and encoders. However, there's still a high possibility that this would get thrown off when a robot goes over a bump. Is there a way to compensate?

(2)"where are the game pieces" could probably be done with a camera. Is there a faster or more efficient way to find soccer balls?

(3) "what's the current score?" The camera has been brought up as a method of reading the scores off of the screen. I think that would be extremely difficult (due to lack of testing) to have working at competition. Would this information have to be supplied by the drivers?

(4 -5)"Finding nearby 'bots". This year, the bumpers were the key to determining a robot and their alliance. I'm still reluctant to use the camera for that, but I wonder about the possibility of a directional color sensor. I2C would probably be ideal, since it won't take up analog channels, and therefore several could be used for each side of the 'bot.
__________________
-- Marshal Horn
  #7   Spotlight this post!  
Unread 08-04-2010, 22:33
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: Autonomous Perception

actually, this would be a good use for an arduino board, communicating with the cRIO over serial.

the arduino would have a camera hooked up to the analog inputs, running a sketch that looks for either red or blue, depending on what the cRIO passes to the arduino.
  #8   Spotlight this post!  
Unread 08-04-2010, 22:44
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Autonomous Perception

I am not trusting any 8 bit micro controllers on this project, I am going for the robot boards that are pretty much the bare minimum computer boards, 8 bit MCs do not have enough juice to process all that data for autonomous IMHO
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #9   Spotlight this post!  
Unread 08-04-2010, 22:51
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: Autonomous Perception

it has the juice, but its not fast. if you bump the image quality down to QQVGA, it can find the blue/red bumpers in 2 seconds
  #10   Spotlight this post!  
Unread 08-04-2010, 22:55
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Autonomous Perception

Quote:
Originally Posted by Robototes2412 View Post
it has the juice, but its not fast. if you bump the image quality down to QQVGA, it can find the blue/red bumpers in 2 seconds
Then its use less during the fast paced matches.
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #11   Spotlight this post!  
Unread 08-04-2010, 23:05
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: Autonomous Perception

oh, yeah.

isn't there such a thing as a color sensor?
  #12   Spotlight this post!  
Unread 08-04-2010, 23:45
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Autonomous Perception

Quote:
Originally Posted by Robototes2412 View Post
oh, yeah.

isn't there such a thing as a color sensor?
I'd love for there to be an inexpensive I2C color sensor, but all the ones I can find are serial.
http://www.sparkfun.com/commerce/pro...oducts_id=8924
http://www.sparkfun.com/commerce/pro...oducts_id=8663
__________________
-- Marshal Horn
  #13   Spotlight this post!  
Unread 08-04-2010, 23:57
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: Autonomous Perception

The cRIO has a serial port, as does an arduino
  #14   Spotlight this post!  
Unread 09-04-2010, 22:51
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Autonomous Perception

Wouldn't serial limit us to one color sensor? Or can multiple sensors be on the same serial line?
If we connected an arduino to a color sensor via serial, what would we use to connect the color sensor to the robot? Analog?

Could we use three phototransistors instead?
__________________
-- Marshal Horn
  #15   Spotlight this post!  
Unread 09-04-2010, 22:57
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Autonomous Perception

Going back to the gamepieces, is the camera really the best way of finding them?
Could a robot have "whiskers" along the sides, so it could tell if it brushed up against a ball?
For now, I'm going to ignore how much IO each sensor (or set of sensors) might require.
__________________
-- Marshal Horn
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
Autonomous chinckley NI LabVIEW 17 23-02-2009 22:37
Autonomous Rafi Ahmed Rules/Strategy 13 08-01-2007 01:34
I <3 Autonomous Mike General Forum 3 26-04-2005 22:21


All times are GMT -5. The time now is 04:20.

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