Go to Post Arguing about the rules doesn't change them. Fighting doesn't change them-and neither does feeling righteous. - David66 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-02-2012, 23:36
Thundrio Thundrio is offline
Dedicated Racer
FRC #3673
 
Join Date: Feb 2011
Rookie Year: 2010
Location: The Internet
Posts: 67
Thundrio is on a distinguished road
Use of the Line Following Sensor from last year?

We are using a belt to run basketballs up to the shooter part of our robot for this year. We are planning on using the line following sensor from last year to determine when there is a ball in place. Mechanical insists that it is possible (and I think it is too), but I am not sure how to do this exactly.

Any help or ways to get me started would be useful.

TYIA
__________________
Interested in a new way of playing old games?
visit http://www.speedrunslive.com for a way to make single player games multiplayer!
visit http://www.zeldaspeedruns.com to open up a new world for zelda lovers!
pm me here or at zsr for more information!
Reply With Quote
  #2   Spotlight this post!  
Unread 08-02-2012, 23:49
Intel i7 Intel i7 is offline
Registered User
FRC #3540 (Wildcat Robotics)
Team Role: Driver
 
Join Date: Feb 2010
Rookie Year: 2010
Location: N.C.
Posts: 39
Intel i7 is an unknown quantity at this point
Re: Use of the Line Following Sensor from last year?

Maybe a limit switch or even sonar sensors would work better, line trackers tend to be unreliable when there isn't a big light difference and when the lighting isn't exactly right
__________________
Driver
Programmer
Webcoder/Designer

Code:
http://www.chiefdelphi.com/forums/showthread.php?t=102329
Making our own custom dashboard system/framework!
Reply With Quote
  #3   Spotlight this post!  
Unread 08-02-2012, 23:57
Thundrio Thundrio is offline
Dedicated Racer
FRC #3673
 
Join Date: Feb 2011
Rookie Year: 2010
Location: The Internet
Posts: 67
Thundrio is on a distinguished road
Re: Use of the Line Following Sensor from last year?

That's my thought too, although the mech head insists it can be done, so I will show him for tomorrow, and we can see.

Thanks for the advice though, and I think I figured out the code anyway.

=)
__________________
Interested in a new way of playing old games?
visit http://www.speedrunslive.com for a way to make single player games multiplayer!
visit http://www.zeldaspeedruns.com to open up a new world for zelda lovers!
pm me here or at zsr for more information!
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2012, 00:21
jesusrambo jesusrambo is offline
Self-Proclaimed Programmer Messiah
AKA: JD Russo
FRC #2035 (Robo Rockin' Bots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Carmel, CA
Posts: 114
jesusrambo is an unknown quantity at this point
Re: Use of the Line Following Sensor from last year?

Best thing to do would be to set up a line sensor, plop a ball in front of it, and play with the line sensor adjustment to see if you can reliably get it to detect a ball and not anything else. It won't take long at all and it'll give you a definite answer. Please let us know what you find out
Reply With Quote
  #5   Spotlight this post!  
Unread 09-02-2012, 00:26
Intel i7 Intel i7 is offline
Registered User
FRC #3540 (Wildcat Robotics)
Team Role: Driver
 
Join Date: Feb 2010
Rookie Year: 2010
Location: N.C.
Posts: 39
Intel i7 is an unknown quantity at this point
Re: Use of the Line Following Sensor from last year?

The best way that I can think to do it is it you put some sort of light near the sensor so your not relying on ambient light which will always be changing
__________________
Driver
Programmer
Webcoder/Designer

Code:
http://www.chiefdelphi.com/forums/showthread.php?t=102329
Making our own custom dashboard system/framework!
Reply With Quote
  #6   Spotlight this post!  
Unread 09-02-2012, 00:29
jesusrambo jesusrambo is offline
Self-Proclaimed Programmer Messiah
AKA: JD Russo
FRC #2035 (Robo Rockin' Bots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Carmel, CA
Posts: 114
jesusrambo is an unknown quantity at this point
Re: Use of the Line Following Sensor from last year?

Quote:
Originally Posted by Intel i7 View Post
The best way that I can think to do it is it you put some sort of light near the sensor so your not relying on ambient light which will always be changing
The sensor has its own IR emitter.
Reply With Quote
  #7   Spotlight this post!  
Unread 09-02-2012, 00:32
Intel i7 Intel i7 is offline
Registered User
FRC #3540 (Wildcat Robotics)
Team Role: Driver
 
Join Date: Feb 2010
Rookie Year: 2010
Location: N.C.
Posts: 39
Intel i7 is an unknown quantity at this point
Re: Use of the Line Following Sensor from last year?

Oh, right what am I thinking. Too late at night lol. There are still a lot of other variables tho, but I would be interested to see your results from test. Our team will probably be using limit switched tho is i think it will be more reliable
__________________
Driver
Programmer
Webcoder/Designer

Code:
http://www.chiefdelphi.com/forums/showthread.php?t=102329
Making our own custom dashboard system/framework!
Reply With Quote
  #8   Spotlight this post!  
Unread 09-02-2012, 00:35
jesusrambo jesusrambo is offline
Self-Proclaimed Programmer Messiah
AKA: JD Russo
FRC #2035 (Robo Rockin' Bots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Carmel, CA
Posts: 114
jesusrambo is an unknown quantity at this point
Re: Use of the Line Following Sensor from last year?

Quote:
Originally Posted by Intel i7 View Post
Oh, right what am I thinking. Too late at night lol. There are still a lot of other variables tho, but I would be interested to see your results from test. Our team will probably be using limit switched tho is i think it will be more reliable
Happens And yes there definitely are, the biggest problem I'd see with it would be ambient light interfering with it, and the spherical shape of the balls. You'd probably need to make some sort of dark chamber for them to pass into with the line sensor.

Limit switches would probably be my preference too, as with that kind of mechanical solution there seems to be a lot less margin for error (unless the squishyness of the balls presents you with issues triggering it or something), and with something like ball collection where accidentally grabbing extra balls could cost you a penalty, I'd rather be safe than sorry.
Reply With Quote
  #9   Spotlight this post!  
Unread 09-02-2012, 00:37
Intel i7 Intel i7 is offline
Registered User
FRC #3540 (Wildcat Robotics)
Team Role: Driver
 
Join Date: Feb 2010
Rookie Year: 2010
Location: N.C.
Posts: 39
Intel i7 is an unknown quantity at this point
Re: Use of the Line Following Sensor from last year?

Quote:
Originally Posted by jesusrambo View Post
Happens And yes there definitely are, the biggest problem I'd see with it would be ambient light interfering with it, and the spherical shape of the balls. You'd probably need to make some sort of dark chamber for them to pass into with the line sensor.

Limit switches would probably be my preference too, as with that kind of mechanical solution there seems to be a lot less margin for error (unless the squishyness of the balls presents you with issues triggering it or something), and with something like ball collection where accidentally grabbing extra balls could cost you a penalty, I'd rather be safe than sorry.
Also, not to mention the black lines on the balls might cause some problems.
__________________
Driver
Programmer
Webcoder/Designer

Code:
http://www.chiefdelphi.com/forums/showthread.php?t=102329
Making our own custom dashboard system/framework!
Reply With Quote
  #10   Spotlight this post!  
Unread 09-02-2012, 00:39
jesusrambo jesusrambo is offline
Self-Proclaimed Programmer Messiah
AKA: JD Russo
FRC #2035 (Robo Rockin' Bots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Carmel, CA
Posts: 114
jesusrambo is an unknown quantity at this point
Re: Use of the Line Following Sensor from last year?

Quote:
Originally Posted by Intel i7 View Post
Also, not to mention the black lines on the balls might cause some problems.
Yeah, that too. It really just doesn't seem like a very appropriate use for the line sensors; sure, you might be able to shoehorn them on, but does it make sense?
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


All times are GMT -5. The time now is 09:57.

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