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 / 1266
1265  |  1267
Subject: 
Rotation Sensor Values
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 24 Jul 2000 13:17:37 GMT
Viewed: 
1611 times
  
I was reading about rotation sensors for legOS for a new robot, and thought I'd
try it out. So, I made a simple program that would show rotation sensor values
on the display. What I got was not what I expected. I have never used the
rotation sensors in legOS before, so I do not know if this behavior was
expected. Anyway, I got values of 9999, -9999, 64, and -64 (more that once). I
think that these values correspond to the RAW values that I got from switchinf
quadrants in the sensor. Are these the expected values, or are you supposed to
get 0,1,2, -5,2, like in the regular lego firmware?


Andy



Message has 1 Reply:
  Re: Rotation Sensor Values
 
(...) Andy- Have you set up the rotation sensors correctly? You need to do a few things before you get reasonable values for the rotation sensor. 1) use ds_active(&SENSOR_1) to turn on the sensor. 2) use ds_rotation_on(&SENSOR_1) to turn on the (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)

16 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