Subject:
|
Re: Sensor monitoring
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 20 Jan 1999 22:25:15 GMT
|
Original-From:
|
Chris Stanley <cstanley@^nomorespam^usit.net>
|
Viewed:
|
1086 times
|
| |
| |
according to the sdk, all tasks are run in parallel, with each task being
visited round-robin and executing one instruction. this would mean they are not
being monitored at *exactly* the same time, but i would think a tight loop in
two tasks monitoring the input should be fast enough to be quite accurate for
your application.
--
Chris Stanley
cstanley@usit.net
"Bible, Bryan" wrote:
> I have a project that I am building, it is a finish line monitor for a
> pinewood derby track. What I am doing is putting two light sensors above the
> track pointing down so the ambient light will change when the car crosses
> the finish line. One sensor for each track. I am using NQC to monitor the
> sensors, so my question is can I monitor both the sensors in parallel so
> neither one has an advantage? Which ever sensor changes first then it will
> flag that lane as the winner.
>
> Any ideas?
>
> Thanks,
>
> Bryan Bible ---
> __o --- __o
> Tandem Computers --- _ \<,_
> --- _ \<,_
> Austin Texas --- (*) /
> (*) --- (*) / (*)
> bryan.bible@compaq.com
>
> --
> Did you check the web site first?: http://www.crynwr.com/lego-robotics
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics
|
|
Message is in Reply To:
| | Sensor monitoring
|
| I have a project that I am building, it is a finish line monitor for a pinewood derby track. What I am doing is putting two light sensors above the track pointing down so the ambient light will change when the car crosses the finish line. One sensor (...) (26 years ago, 20-Jan-99, to lugnet.robotics)
|
10 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|