 | | Re: Light sensor initialization?
|
|
Matthew's program takes one reading at initialization time to determine a baseline value. Any reading that falls 7 units below this is assumed to be a dark line. I take a somewhat more conservative approach, taking 10 readings over one second and (...) (27 years ago, 15-Jul-99, to lugnet.robotics.rcx)
|
| |
 | | Re: Light sensor initialization?
|
|
(...) [snip] (...) Yes -- check out my RoboTag program at (URL) RoboTag, the sensor is pointing at the ground, which is probably grey/brown/white, with black border lines. My program reads the light level at start, and assumes that it isn't on a (...) (27 years ago, 14-Jul-99, to lugnet.robotics.rcx)
|
| |
 | | Re: Light sensor initialization?
|
|
I haven't done that yet. But if you're doing a line follower, I would suggest the following: 1. First, build the line follower in such a way that it can rotate in place and make the light sensor sweep out a circle on the ground as it rotates. 2. (...) (27 years ago, 13-Jul-99, to lugnet.robotics.rcx)
|
| |
 | | Lots of new FAQ answers and some revisions
|
|
I have just sumbitted a large number of answers to FAQ questions that hadn't been answered yet, and revisions to other answers. There is also just one answer that I did not change (-: The answers are in the lugnet.faq newsgroup. Here is an index to (...) (27 years ago, 13-Jul-99, to lugnet.robotics.rcx, lugnet.faq)
|
| |
 | | Light sensor initialization?
|
|
This should be an FAQ at this point, but I'm having trouble tracking down an answer in the LUGNET archives. I'd like my 'bot to measure ambient light levels, and make light/gray/dark decisions based on those levels. For instance, Dave Baum's line (...) (27 years ago, 13-Jul-99, to lugnet.robotics.rcx)
|