Subject:
|
Re: rotation sensor mystery solved?
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Wed, 26 Jan 2000 00:08:02 GMT
|
Viewed:
|
1389 times
|
| |
| |
In lugnet.robotics.rcx.legos, Martin Cornelius writes:
> Hi Ben, you wrote:
> >
> > With my batteries down to 8.6v and the
> > rotation sensor connected by an extension the values moved too far for the old
> > table. This version does very well (in dsensor.c):
>
> Will this version also work with fresh batteries and short cable, or do
> we have to change tables depending on the battery state ?
The version I posted works with all cable lengths and battery strengths I have
access to. I just extended the range of each state a bit toward the low
battery end of the scale.
--Ben
|
|
Message has 1 Reply: | | Re: rotation sensor mystery solved?
|
| I put in some debug code to catch rotations which skip a state (transitions like 3->1 or 0->2) which the legOS table `diff2change' currently translates to 0 steps (because we can't be sure whether that was 2 steps forward or 2 steps back). These (...) (25 years ago, 26-Jan-00, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
12 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
|
|
|
|