Go to Post "It's not a bug, it's an unlisted feature." - Barry Craig [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 18-02-2004, 15:44
st28 st28 is offline
Registered User
#1219
 
Join Date: Feb 2004
Location: toronto
Posts: 4
st28 is an unknown quantity at this point
Line Sensor Code

can someone send me the line sensor code??????????????
  #2   Spotlight this post!  
Unread 18-02-2004, 15:52
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: Line Sensor Code

sorry to let you down, but its realy hard to write "canned" line sensor code. things like the mounting of the sensors; how close/far they are apart, how high they are off the ground, even how many of them there are; all go into the code. you could have a very simple 2 sensor tracker with 2 if statements, or you could have 8 sensors and historisas with the acceleromitor from last year helping to. there is the some old PBASIC code here if you have no idea where to start. best of luck, Jacob
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #3   Spotlight this post!  
Unread 18-02-2004, 15:57
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Line Sensor Code

How many sensors do you have and what is their configuratation? (I.E. We have three sensors. The middle one and one of the side ones read the line when the robot is going off the moving away from the line.) If you can give some details like that, somebody will probably whip a quick example up. (Maybe me... )
__________________

  #4   Spotlight this post!  
Unread 18-02-2004, 18:31
Catastrophy Catastrophy is offline
Registered User
AKA: Vince
#0704
Team Role: Programmer
 
Join Date: Feb 2004
Location: Grand Prairie
Posts: 18
Catastrophy is an unknown quantity at this point
Send a message via AIM to Catastrophy Send a message via MSN to Catastrophy
Re: Line Sensor Code

Ya if someone could post thiers' with mounting information that would be extremely helpful! I have one I'm working on but am having problems actually keeping it on the line. It does fine in straight aways but curves and corners well... lets just say its a work in progess. If anyone would like the information/code im working on IM or PM me.
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
Line sensor wire gauge questions Dinush Electrical 6 13-02-2004 18:41
Sprockets and Roller Chain Models Madison Inventor 3 04-02-2003 11:51
Q&A Discuss: Does the line continue up the ramp? CD47-Bot Extra Discussion 5 18-01-2003 01:01
iParts on firstcadlibrary.com Ed Sparks Inventor 3 08-01-2003 23:30
emulationFIRST v0.04 Matt Leese Programming 7 09-07-2002 08:54


All times are GMT -5. The time now is 14: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