Subject:
|
RE: Light sensor sampling freq?
|
Newsgroups:
|
lugnet.robotics.nxt
|
Date:
|
Sat, 9 Sep 2006 00:22:11 GMT
|
Reply-To:
|
<DICKSWAN@SBCGLOBAL.spamcakeNET>
|
Viewed:
|
9585 times
|
| |
| |
Standard Lego firmware samples every 3 msec. BricOS is much faster. I
believe it is faster than once per second. RobotC on NXT is programmable
to be 0.5 msec scan, 1 msec, 2 msec, ... up to 255 msec.
But remember the readings are not persistent. If your program doesn't
check while the sensor is illuminated (e.g. support it only polls the
light sensor every 10 msec), so you have to worry about how fast your
program is executing. Remember, standard LEGO firmware only does one
opcode every 2 or 3 msec.
|
|
Message has 1 Reply: | | Re: Light sensor sampling freq?
|
| (...) Hmm, so speed isn't the issue, the issue is that the 'laser' must hit the detector head on. But luckily that was solved by inserting a thin slice of paper inside the 2x1 red transpararent brick and moving it tone stud in front of the sensor. (...) (18 years ago, 9-Sep-06, to lugnet.robotics.nxt)
|
Message is in Reply To:
| | Light sensor sampling freq?
|
| I'm working on a little nav idea that my robot can find my 'base' which is sweping a bright red led 'laser' over the area. I have to admit that I ventured into the Xacto and crazy glue area by using a 'laser' pointer and glueing four tiny mirrors (...) (18 years ago, 9-Sep-06, to lugnet.robotics.nxt)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in NXT programmable brick
|
|
|
|