Go to Post Wow, my dad's sadistic nature is rubbing off on me. - Lil' Lavery [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 08-12-2009, 20:04
TheIndian771's Avatar
TheIndian771 TheIndian771 is offline
Registered User
FRC #1182
 
Join Date: Feb 2008
Location: USA
Posts: 7
TheIndian771 will become famous soon enoughTheIndian771 will become famous soon enough
[FTC]: IR sensor

just want to see how many people are using the IR sensor and what they are using it for
we did not use it on our robot but I'm going back now and learning more about it and was just wondering what people used it for
__________________
Team 1182
Reply With Quote
  #2   Spotlight this post!  
Unread 08-12-2009, 21:37
rzoeller rzoeller is offline
MN GOFIRST Recruitment Officer
AKA: Ryan Zoeller
FRC #2169 (RI3D 'Snow Problem; KING TeC)
Team Role: Alumni
 
Join Date: Nov 2009
Rookie Year: 2007
Location: Savage, MN
Posts: 111
rzoeller is a jewel in the roughrzoeller is a jewel in the roughrzoeller is a jewel in the rough
Re: [FTC]: IR sensor

We are using two very briefly in autonomous to line up our shooter. Does anyone know how to use the IR seeker to measure distance in ROBOTC?
Reply With Quote
  #3   Spotlight this post!  
Unread 09-12-2009, 01:12
jamie_1930's Avatar
jamie_1930 jamie_1930 is offline
Registered User
FRC #2228 (Cougartech)
Team Role: Student
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Rush-Henrietta
Posts: 371
jamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to beholdjamie_1930 is a splendid one to behold
Re: [FTC]: IR sensor

Quote:
Originally Posted by rzoeller View Post
We are using two very briefly in autonomous to line up our shooter. Does anyone know how to use the IR seeker to measure distance in ROBOTC?
I suppose you could mount it on it's side and then it just becomes trigonometry, but the problem will be the large range that is given will make it difficult to triangulate. Also make sure to encorporate the actual sensor values into your design so that it fires when the sensor reads an even number, that should increase accuracy a little more.

IR Seeker Information

I support the ambition of this design idea, but it's not practical for competition. At Clarkson we found that the majority of robots had no autonomous at all so if you can put balls in the low goal your already ahead of the curve, but if you can put them in the high goal reliably (like our alliance partners harley) you become a sure finalist). From what I've seen, from harley's program you can score in the high goal with completely time based programming, if you make sure to have the right time values. I suggest that you set all time values to variables in your programming so that you can change them quickly. The program will most likely look somewhat like this. Also if you do time based instead of seeker based for competition I would encourage doing so after competition to prepare for the future.

int forward_1 = 0500;
int forward_2 = 1500;
int turn90 = 0250;
int motorspeed = 25;

motor[A] = motorspeed;
motor[b] = motorspeed;
wait1Msec(forward_1);
motor[A] = -motorspeed;
motor[b] = motorspeed;
wait1Msec(turn90);
motor[A] = motorspeed;
motor[b] = motorspeed;
wait1Msec(forward_2);
motor[A] = 0;
motor[b] = 0;

FIRE!!

The time values are my estimates, but you should change the motorspeed and time values in order to best fit your robot. Also remember you need to test and test for this, but if it's done, and works, you should jump up to the top of the ranks. In addition just cause your at competition doesn't mean you can't tinker. At Clarkson we started off sitting in autonomous and by the end of the day were getting all 8 balls in the low goal (only place our design allowed).

Good Luck!

Last edited by jamie_1930 : 09-12-2009 at 01:15.
Reply With Quote
  #4   Spotlight this post!  
Unread 09-12-2009, 06:49
JohnFogarty's Avatar
JohnFogarty JohnFogarty is offline
Trapped under a pile of MECANUMS :P
AKA: @doctorfogarty
FTC #11444 (Garnet Squadron) & FRC#1102 (M'Aiken Magic)
Team Role: Mentor
 
Join Date: Aug 2009
Rookie Year: 2006
Location: SC
Posts: 1,582
JohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond reputeJohnFogarty has a reputation beyond repute
Re: [FTC]: IR sensor

What use it for is lineing up as well though more so in autonomous i tell the robot to drive forward and turn until the infared value is 5. drive forward .5 seconds and shoot. I also have a button on the controllers that when next to the goal it automatically lines it up for us so we can fire away.
__________________
John Fogarty
2010 FTC World Championship Winner & 2013-2014 FRC Orlando Regional Winner
Mentor FRC Team 1102 M'Aiken Magic
"Head Bot Coach" FTC Team 11444 Garnet Squadron
Former Student & Mentor FLL 1102, FTC 1102 & FTC 3864, FRC 1772, FRC 5632
2013 FTC World Championship Guest Speaker
Reply With Quote
  #5   Spotlight this post!  
Unread 09-12-2009, 10:01
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 753
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: [FTC]: IR sensor

We used the IR Sensor to tell us when the High Goal had rotated out of our shooting window.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
Reply


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
[FTC]: ultra sonic sensor saaby FIRST Tech Challenge 1 27-03-2009 20:43
[FTC]: Compass Sensor saaby FIRST Tech Challenge 5 26-03-2009 19:56
[FTC]: Compass Sensor Interference. ttldomination FIRST Tech Challenge 3 02-02-2009 20:19
[FTC]: Lego compass sensor and pucks KayyPii FIRST Tech Challenge 3 23-11-2008 10:59


All times are GMT -5. The time now is 08:11.

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