To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 168
167  |  169
Subject: 
Re: Rotation sensor bug found
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 20 Apr 1999 22:06:04 GMT
Viewed: 
1055 times
  
Kekoa Proudfoot wrote:
Why doesn't somebody finish up the decoding of the ROM, specifically the
routine at 14c0.  This routine takes the raw sensor samples and converts
them to usable values, including handling the temperature and rotation
sensors.  The standard firmware calls this function to do all its sensor
dirty work.

Excellent idea. This would yield the default settings dead-on.

Incidentally, I have a rotation sensor.  According to my notes, the final
output of the sensor is an angle measured in units of 1/16ths of a
rotation, represented as a signed short.  If you want to scale to something
standard, scale to that.

Scaling isn't about the final output. The final output is already in the
standard format. Scaling is about shifting the raw sensor values
displayed by the firmware six digits to the left to match the A/D
converter output. This optimization was introduced to lose several ugly
run-time shift operations.

--
Markus L. Noga noga@inrialpes.fr
Check out legOS! http://www.multimania.com/legos/
"Quand on n'a pas de caractere, il faut bien se donner une methode."
-Camus on Software Engineering



Message is in Reply To:
  Re: Rotation sensor bug found
 
(...) Why doesn't somebody finish up the decoding of the ROM, specifically the routine at 14c0. This routine takes the raw sensor samples and converts them to usable values, including handling the temperature and rotation sensors. The standard (...) (25 years ago, 20-Apr-99, to lugnet.robotics.rcx.legos)

10 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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