Subject:
|
RE: Compass/directional sensor
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Mon, 14 Dec 1998 07:23:14 GMT
|
Original-From:
|
Mark Hanna <MHANNAH@TCONL.COMnospam>
|
Viewed:
|
1402 times
|
| |
| |
I like this idea quite a bit. Instead of going starting white and
progressing all 360 degrees to black, though, how about having pure white
represent 0 degrees and progressing through gray to black at 180 degrees and
then back to white? You would then have shades of gray progressing through
90 and 270 degrees mirrored across the north/south line. A counter/variable
would tell you if you were on the east or west side and you could always
have your rcx rotate, say, right and detect if the gray was getting lighter
or darker for a sanity check.
Just a thought,
Mark Hanna
mhannah@tconl.com
ICQ# 17126766
> -----Original Message-----
> From: Tim McSweeney [mailto:tim@ams.co.nz]
> Sent: Sunday, December 13, 1998 7:09 PM
> To: lego-robotics@crynwr.com
> Subject: RE: Compass/directional sensor
>
>
> You could mount a printed disk on a comapss needle and use some sort of
> encoding via the light sensor to determine your direction.
>
> By changing the shade from white to black you'd probably be able to get a
> decent angle reading. The only tricky bit is what happens at the
> black-white meeting, If the light sensor detects this as a
> mid-gray you'd be
> out be 180deg.
>
> Tim
>
>
>
|
|
Message is in Reply To:
| | RE: Compass/directional sensor
|
| You could mount a printed disk on a comapss needle and use some sort of encoding via the light sensor to determine your direction. By changing the shade from white to black you'd probably be able to get a decent angle reading. The only tricky bit is (...) (26 years ago, 14-Dec-98, to lugnet.robotics)
|
6 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|