To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 15064
15063  |  15065
Subject: 
Struggling with encoder wheel
Newsgroups: 
lugnet.robotics
Date: 
Wed, 11 Apr 2001 19:11:20 GMT
Viewed: 
737 times
  
I'm having a hard time finding a good algorithm for the encoder wheel
I came up with for use on my webcam. The way I packed the bits in the
lookup table has made it hard to get any speed out of the algorithms.

I'm using NQC, and the LEGO OS seems incredibly slow.

I've got a write-up with pictures on the whole thing at

http://www.fozztexx.com/LEGO/Webcam/

--
Chris Osborn                      Full System, Inc.
fozztexx@fullsystem.com           2160 Jefferson St., #240
http://www.fullsystem.com/        Napa, CA 94559
Webhosting that *works* - 99.99% uptime - First 3 months free



Message has 2 Replies:
  Re: Struggling with encoder wheel
 
Pretty neat Chris. You've very nearly recreated a special kind of optical encoder that was developed by my former employers called a virtual absolute encoder. It didn't use diferent colors but it used a "time-window" to read the last few states off (...) (24 years ago, 12-Apr-01, to lugnet.robotics)
  Re: Struggling with encoder wheel - Not anymore!
 
Well, I think I got it working last night. Many thanks to Steve Baker for the brilliant idea of hardcoding the lookup table array as a function. It works great! I had to gear down the rotation for the tilt mechanism, but the pan was fine as-is. When (...) (24 years ago, 14-Apr-01, to lugnet.robotics)

19 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Contact Recovery Nerd for Speedy USDT / BTC Recovery
22 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR