To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.scoutOpen lugnet.robotics.scout in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Scout / 161
160  |  162
Subject: 
Re: legOS
Newsgroups: 
lugnet.robotics.scout
Date: 
Thu, 15 Feb 2001 11:51:45 GMT
Viewed: 
5406 times
  
> Most of the programs out there are for the RCX, not the Scout.  Where
> possible, the APIs are the same between the two, but there are a lot of
> unavoidable problems.  For example, the RCX has configurable sensor
> ports, so the program must make calls to tell the RCX what sort of
> sensor is attached to the port.  The Scout has fixed ports (1 and 2 are
> for touch sensors, 3 is the built-in light sensor), so configuration
> calls do not exist.
> 
> Assuming that the program does not make use of resources that simply
> don't exist on the scout (third motor, rotation sensor, multiple light
> sensors, datalog, etc), then porting the RCX program to the Scout
> shouldn't be too difficult.
> 
> Dave

How would you use the built in light sensor like this?
"SetSensor(SENSOR_3,SENSOR_LIGHT);" or somting like that?
Oh and can you use the temprature sensor on the scout?

Alex



Message has 1 Reply:
  Re: legOS
 
(...) SetSensor() doesn't work at all on the Scout. By definition, SENSOR_3 is the light sensor and configured in a somewhat unusual mode (it reads 0, 1, or 2). Its been a long time since I've worked on the Scout. I think you set the light (...) (26 years ago, 16-Feb-01, to lugnet.robotics.scout)

Message is in Reply To:
  Re: legOS
 
(...) Most of the programs out there are for the RCX, not the Scout. Where possible, the APIs are the same between the two, but there are a lot of unavoidable problems. For example, the RCX has configurable sensor ports, so the program must make (...) (26 years ago, 15-Feb-01, to lugnet.robotics.scout)

15 Messages in This Thread:




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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

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