Go to Post Even as a "mentor", I am still being mentored by engineers who work with the team. - Tom Bottiglieri [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #61   Spotlight this post!  
Unread 31-03-2011, 16:40
theNerd's Avatar
theNerd theNerd is offline
Registered User
FRC #3329 (Cam Bots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2110
Location: St. Marys
Posts: 51
theNerd is an unknown quantity at this point
Re: Autonomy: How Did You Guys Do It?

Quote:
Originally Posted by Jetweb View Post
We used the camera 100%
Wow! I've never done this before! I attempted to "track" still objects in various still pictures - a ball, a stick, a box - all color and at different lightings but I never was able to do this successfully. My main question is not how to apply an hsl threshold or clean up the photo after a threshold, but what to do with all that data I get using the stat VI's and such - I'm using labview. What does it all mean? and what on earth am i supposed to do with it to make my program know that it's looking at the target? thanks
  #62   Spotlight this post!  
Unread 03-04-2011, 20:05
aaronweiss74's Avatar
aaronweiss74 aaronweiss74 is offline
Lead Programmer
AKA: Aaron Weiss
FRC #1923 (The MidKnight Inventors)
Team Role: Programmer
 
Join Date: Apr 2011
Rookie Year: 2011
Location: New Jersey
Posts: 13
aaronweiss74 is an unknown quantity at this point
Send a message via AIM to aaronweiss74
Re: Autonomy: How Did You Guys Do It?

We used light sensors for line tracking, encoders for auto-correction, and an encoder on the arm for height determination. It's never failed. It's also kind of showy since instead of placing the tube it throws it down onto the peg.
  #63   Spotlight this post!  
Unread 03-04-2011, 20:16
RoBoTiCxLiNk's Avatar
RoBoTiCxLiNk RoBoTiCxLiNk is offline
King of All That is Digital
AKA: Dan Egan
FRC #2791 (Shaker Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2006
Location: Latham, New York
Posts: 25
RoBoTiCxLiNk is on a distinguished road
Re: Autonomy: How Did You Guys Do It?

I used a gyro on the base to keep it straight, an encoder for distance, and a second gyro to determine arm angle. I'm hoping to rig up another encoder so as to have two straight-correcting sensors and average the two corrections, or use one as a safety net in case one malfunctions.
__________________
2009: Electronics, Scout, Turret Operator
2010: Programmer, Electronics, Safety Captain
2011: Lead Programmer, Lead Electronics, Forum Admin, Design Committee Member, Arm Operator/Driver, Safety Captain, Pit Captain

2012: Alum of 2791, Programming and Electronics Mentor for 2791
  #64   Spotlight this post!  
Unread 03-04-2011, 22:35
Jeremy Germita's Avatar
Jeremy Germita Jeremy Germita is online now
Co-Advisor/Lead Engineering Mentor
AKA: wood is good. plastic is fantastic.
FRC #5012 (Gryffingear) / (Antelope Valley FIRST Teams)
Team Role: Coach
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Lancaster, CA
Posts: 289
Jeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond repute
Re: Autonomy: How Did You Guys Do It?

I was told by several older members and mentors to abandon the use of sensors altogether because of our history with sensors. Essentially, don't use them because we've never used them. What I thought was hilarious about this discussion was that half of these guys were mechanical, and couldn't tell between a potentiometer and an encoder.
</rant>

The autonomous program I've been using in San Diego and Los Angeles was dead reckoning with timers. It worked about 70% of the time. Aim for middle peg, score on left peg.

I plan to have a basic autonomous program using the encoders and gyro. This will at least go straight. I will test and implement this this week in Utah. Another variation of this program will attempt to put up two tubes. But this is a long shot...

If we make it to STL, I want to mount an ultrasonic sensor for distance sensing.

Sensors on James Bot:
Potentiometer on arm shoulder
Encoders on drivetrain
Gyro on drivetrain
CAN Bus Current Sensors(Used in our roller claw to sense tubes)

I've had KOP light sensors mounted, but 2/3 were mangled during practice on concrete, the other one doesn't seem to calibrate. I have abandoned these.
__________________
Drive Coach Team 5012 Gryffingear / Antelope Valley FIRST teams / EWCP - (2013 - Current)
Student / Driver / Programmer / CAD - FRC Team 399: Eagle Robotics / FTC Team 72: GarageBots - (2009 - 2013)
Los Angeles Region FTC FTA/CSA/Head Ref
[FF] FIRST Pick
2014 FTC Los Angeles Regional Compass Award Winner.

2017 - San Diego Regional / Sacramento Regional / Las Vegas Regional
2016 - Los Angeles Regional Creativity + Winners (1197, 987, 5012) / Las Vegas Regional Team Spirit + SF (5012, 5851, 5049) / Galileo Subdivision
2015 - Inland Empire QF (597, 5012, 4413) / Las Vegas Imagery + Winners (148, 987, 5012) / Newton Subdivision and World Champions (118, 1678, 1671, 5012)
2014 - Inland Empire Rookie All Star + Highest Rookie Seed + SF (2339, 1967, 5012) / Las Vegas Rookie All Star / Galileo Division Imagery
  #65   Spotlight this post!  
Unread 11-04-2011, 15:24
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,171
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: Autonomy: How Did You Guys Do It?

Quote:
Originally Posted by jeremypg399 View Post
I was told by several older members and mentors to abandon the use of sensors altogether because of our history with sensors. Essentially, don't use them because we've never used them. What I thought was hilarious about this discussion was that half of these guys were mechanical, and couldn't tell between a potentiometer and an encoder.
Man, that is some questionable advice!

We used encoders on all 4 wheels, a pot on the arm and an ultrasonic sensor on the front and rear. Our bot simple rolled forward X feet (measured by the encoders), raised the arm to the 9' height (measured by the pot), released the ubertube and backed off some. We used the ultrasonic sensors to align for minibot deployment.

Reliable sensors are a HUGE advantage in autonomous mode and can be used to automate certain movements in teleop mode (like releasing a tube and lowering an arm in perfect sequence). If you understand them, program them correctly and test them thoroughly - USE THE SENSORS!

HTH
  #66   Spotlight this post!  
Unread 12-04-2011, 07:40
Robby Unruh's Avatar
Robby Unruh Robby Unruh is offline
*insert random dial-up tone here*
FRC #3266 (Robots R Us)
Team Role: Coach
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Eaton, OH
Posts: 338
Robby Unruh will become famous soon enough
Re: Autonomy: How Did You Guys Do It?

I'm less interested in how they did it, instead what I want to know but is kind of mishaps occured during autonomous period?

One match, our robot drove straight backward and rammed another, pushing them in to their scoring zone, giving my team a red card, instead of just line sensing. Sooo unexpected.
__________________
[Robots R Us #3266]
2015: Georgia Southern Classic (Winners / Thanks 1319 & 1648!), Queen City
2014: Crossroads, Queen City
2013: Buckeye, Queen City, Crossroads
2012: Buckeye, Queen City

2011: Buckeye
2010: Buckeye
  #67   Spotlight this post!  
Unread 12-04-2011, 19:14
stuart2054 stuart2054 is offline
Controls Mentor
AKA: Stuart Sebright
FRC #2054 (TECH Vikes)
Team Role: Mentor
 
Join Date: Apr 2011
Rookie Year: 2010
Location: Hopkins Michigan
Posts: 102
stuart2054 is just really nicestuart2054 is just really nicestuart2054 is just really nicestuart2054 is just really nicestuart2054 is just really nice
Smile Re: Autonomy: How Did You Guys Do It?

Quote:
Originally Posted by davidthefat View Post
From the looks of it, a lot of teams did the whole "drive forward for x seconds/feet and score" method. Others used line trackers, some might have used cameras.

How did you guys do it?
We Use two electric eyes for line tracking and an utrasonic distance sensor for distance we got from Pololu.com. The distance sensor is awesome, with in +/- an inch. You have to correct a little for coasting when the motors are put to zero speed. Our arm is pneumatic so it just goes to the top position which is good for either the middle or left and right pegs. We also have two distances which are selected by the driver by moving the right hand joystick throttle either fully up or fully down. WQe need to be closer to the wall when we stop and hang the tube if we play the middle Y tape position.

At the correct distance we stop and let go of the uber tube and lower the arm. Then back up sending equal speed signals to the motors at 13 seconds in we lower the arm.

At our first district we never missed a top level uber tube score. We did not back up there and almost dropped the tube because when the arm fully retracted we hit the middle peg.

So we added the backing up before district competition #2. We had a couple of misses there because the the joy stick was set for the middle Y tape positon and we got too close and the arm joint caught on the middle peg and shook off the tube.

At MSC we did not miss except for when an partner robot veered into us and one other time when at end of day Friday match the tape was screwed up and the robot veered off. Our driver now check the tape on the floor before every match.
  #68   Spotlight this post!  
Unread 12-04-2011, 19:29
stuart2054 stuart2054 is offline
Controls Mentor
AKA: Stuart Sebright
FRC #2054 (TECH Vikes)
Team Role: Mentor
 
Join Date: Apr 2011
Rookie Year: 2010
Location: Hopkins Michigan
Posts: 102
stuart2054 is just really nicestuart2054 is just really nicestuart2054 is just really nicestuart2054 is just really nicestuart2054 is just really nice
Wink Re: Autonomy: How Did You Guys Do It?

Quote:
Originally Posted by Robby Unruh View Post
I'm less interested in how they did it, instead what I want to know but is kind of mishaps occured during autonomous period?

One match, our robot drove straight backward and rammed another, pushing them in to their scoring zone, giving my team a red card, instead of just line sensing. Sooo unexpected.
I seen almost the same thing in the Niles, MI district Finals match. It happened in the last finals match. The other alliance called a time out and when the match started a robot went backwards al the way into our safe zone. I felt sorry for them and especially the programmer. (But for the grace of GOD it could have been me)

We did not know what they were working on in the time out but I assume the autonimous program for that robot was a part of it.

At MSC one of of our alliance partners did not use the tape but instead lined up right beside our robot. They veered into ours and knocked it off the tape and it missed. I seen a lot of the teams doing this there ( I don't know how they were programed) and I was not impressed with it. Some worked well but most missed and many stopped an alliance partner from scoring.
  #69   Spotlight this post!  
Unread 12-04-2011, 20:41
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,722
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Autonomy: How Did You Guys Do It?

- 1 encoder on SuperShifting transmissions
- Transmissions in low gear
- 1 Gyro with semi-aggressive PID control for "drive straight"

1. Finely tune the encoder distances
2. DO NOT turn the robot on until it is set down. If they gyro init's before it's set down, then it's game over
3. Push the bot backwards a little so that the chains are pre-tensioned. This should help alleviate drive straight problems from lurching
4. Ramp up the speed rather than going 100% full blast
5. Dead-reckon to the peg

Once it was tuned, we had 9 straight auto-modes score.
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
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


All times are GMT -5. The time now is 03:52.

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