To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.robolabOpen lugnet.robotics.rcx.robolab in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / ROBOLAB / 501
500  |  502
Subject: 
Proximity detections in ROBOLAB?
Newsgroups: 
lugnet.robotics.rcx.robolab
Date: 
Mon, 7 Aug 2006 05:06:50 GMT
Viewed: 
17445 times
  
Proximity detections in ROBOLAB?

It is possible to use the IR port on the RCX for proximity detection in NQC but
I can'y find a way to do the same in ROBOLAB - is there anyone that has done
that?

You send messages from the RCX and use the lightsensor to detect the light that
bounce back from some object in front of the RCX, if the the light that bounce
back is "brighter" the object is closer then before - more or less.


Regards,
Stefan - Sweden



Message has 1 Reply:
  Re: Proximity detections in ROBOLAB?
 
(...) I can't think of why not. Sample the light sensor, then send an IR message, then sample the light sensor very shortly afterwords. Compare those two light sensor readings: if the second is much greater than the first, there's something (...) (18 years ago, 7-Aug-06, to lugnet.robotics.rcx.robolab)

2 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