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 / 2444
  Light Sensor help
 
I'm a new legos user and I'm trying to get my first app working. The issue appears to be that the light sensor value isn't getting updated as frequently as I expected. When I slow down the motors my line tracking program works fine. I speed it up (...) (23 years ago, 7-Apr-02, to lugnet.robotics.rcx.legos)
 
  RE: Light Sensor help
 
Try replacing the batteries -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of Nathan Nesbit Sent: Sunday, April 07, 2002 8:25 PM To: lugnet.robotics.rcx....lugnet.com Subject: Light Sensor help (...) (23 years ago, 9-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Light Sensor help
 
The hardware can get a light sensor reading every 1 mS. Is the process that is reading the light sensor at a high enough priority? Kevin "Nathan Nesbit" <natenez@hotmail.com> wrote in message news:Gu7zno.41A@lugnet.com... (...) issue (...) motor (...) (23 years ago, 9-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Light Sensor help
 
I’ve never had any problems with the light sensor reading fast enough, and I have a robot that runs pretty fast. How are you trying to follow the line? Maybe there’s a problem with your conversion between NQC and LegOS. I’d be glad to offer (...) (23 years ago, 9-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Light Sensor help
 
(...) I had a similar problem using RoboLab. I had a task that looped and checked the light sensor once in each loop. If the light sensor changed within the loop but NOT at the time when the check was made it would be missed. I replaced it with a (...) (23 years ago, 9-Apr-02, to lugnet.robotics.rcx.legos)

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