![]() |
Autonomy: How Did You Guys Do It?
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? |
Re: Autonomy: How Did You Guys Do It?
Quote:
Arm is only on timers... Hoping to add encoders soon. |
Re: Autonomy: How Did You Guys Do It?
Used the E4P quadrature encoders provided in the KoP. We had the robot driven the correct distance for different modes, and I plugged them in for drive distance. Had some other encoder counts noted to do some calculations without trial and error. Arm height at our starting position angle needed to go through the peg was noted. Program ended up drive robot until encoder count got close to target. When robot stops moving and the code that moves the robot mechanisms to position returns a boolean of complete another stage is triggered that lowers the arm and shoots the tube out with the rollers.
Had to do some trial and error with drive speeds at competition so lift gets out before the robot goes up to the peg. |
Re: Autonomy: How Did You Guys Do It?
Quote:
|
Re: Autonomy: How Did You Guys Do It?
Quote:
you need to do a bit of filtering, but not a big deal. |
Re: Autonomy: How Did You Guys Do It?
Our autonomous uses the encoders on the SuperShifter transmissions. The software uses the encoder values to actively make the robot drive dead straight. We also know reliably how far the robot has driven from the encoders. Encoders on the arm allow reliable positioning of the arm. The claw motors let us adjust the attitude of the tube when we reach the peg and then eject it onto the target peg. We have six different programs, one for each peg height. At GSR, we only ever ran the two for the top pegs, but have the others just in case. We can also select a delay before we start, which proved very useful in eliminations at GSR when we were on an alliance with 175 and 176 which scored 3 ubertubes in many of our elimination matches. See http://www.youtube.com/user/FRCteam1.../3/drbPrGJlroI for a match (semi-final 2) where all 3 of our alliance and 2 of our opponents scored in autonomous. Our robot is the middle blue robot which does not move until after the 4s delay we selected.
Noel |
Re: Autonomy: How Did You Guys Do It?
Encoders on our drive train, encoders on our elevator, camera tracking, gyro angle correction, and sonar sensor. Consistently scores the ubertop on the top peg every time.
|
Re: Autonomy: How Did You Guys Do It?
We decided that dead reckoning would be enough for this year given that the autonomous period is not very dynamic. Although our encoder code is done, we have had hardware problems and they are not on yet. Thankfully, our robot it pretty balanced and drives very straight. We didn't get an auto-mode in until yesterday in WI and it only scored once (in a somewhat humorous fashion), but will have one that should score pretty consistently week 4 in Midwest.
Given the hardware issues are fixed, the timing to approach will be changed to distance and a gyro would be added for turning around and getting ready. I don't think our robot functions act quickly enough to attempt a double-tube in 15 seconds. |
Re: Autonomy: How Did You Guys Do It?
We used the camera 100%. I have a feeling previous years vision targets have given the camera a bad name. The retro-reflective tape used this year is simply awesome to track and is the only target in my history that is not affected by the stage lighting used at the competitions. I hope that stuff is around for a long time to come.
|
Re: Autonomy: How Did You Guys Do It?
Quote:
|
Re: Autonomy: How Did You Guys Do It?
Quote:
|
Re: Autonomy: How Did You Guys Do It?
Our Auton code drives straight for x seconds using gyro angle correction; rotates our arm using x distance using an encoder value; rotates the tube pitch; rolls out the tube onto the peg; and backs up.
we're working on putting up two ubertubes. |
Re: Autonomy: How Did You Guys Do It?
We're using nothing but line sensors, and its working excellently for us (backing up when it hits the horizontal piece of tape)!
|
Re: Autonomy: How Did You Guys Do It?
We're using a line track and ultrasonic range finder combo, with a gyro to keep us straight. In hindsight, the line track isn't really that useful.
|
Re: Autonomy: How Did You Guys Do It?
Our team was going to have encoders on our drive wheels, but we decided they wouldn't be that helpful for the most part. As a result, our automous is drive forward x seconds, move arm down for Y seconds, and retreat. we are using a makeshift encoder for the lift, so we will be able to make it go to the right height. Whether or not this code works will be determined on Thursday.
|
| All times are GMT -5. The time now is 03:52. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi