|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Line Sensor Code
can someone send me the line sensor code??????????????
|
|
#2
|
|||||
|
|||||
|
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
|
|
#3
|
||||
|
||||
|
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
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |