Subject:
|
Re: Sensor port cross talk
|
Newsgroups:
|
lugnet.robotics.rcx.java
|
Date:
|
Thu, 1 Aug 2002 17:48:39 GMT
|
Viewed:
|
4585 times
|
| |
| |
In lugnet.robotics.rcx.java, John Barnes writes:
> ...SNIP...
> JB
>
> In lugnet.robotics.rcx, Roger Glassey writes:
> > ... SNIP...
> > This caused a problem because I was using port 1 to multiplex several touch
> > sensors, so S1 was in raw mode. A light sensor was connected to port 2 but
> > was not activated. The SensorListener monitoring S1 suffered repeated
> > calls to its stateChanged() method before any touch sensor was bumped.
> > ... SNIP...
> > Roger
Yes. I avoid using raw mode whenever possible because of the background
fluctuations I see in sensor values. These could quite easily swamp the VM
making the robot appear unresponsive. Whereever possible I use percentage
values if I need continuous readings.
- Paul.
|
|
Message is in Reply To:
| | Re: Sensor port cross talk
|
| This is certainly a known defect in the input circuitry in the RCX. I know nothing about other kernels apart from the standard Lego one (via NQC) but the results of my examining the problem indicated that the ports are scanned in reverse order, 3 - (...) (22 years ago, 1-Aug-02, to lugnet.robotics.rcx.java)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|