 | | 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 (...) (25 years ago, 16-Feb-01, to lugnet.robotics.scout)
|
| |
 | | Re: legOS
|
|
(...) How would you use the built in light sensor like this? "SetSensor(SENSOR_3,...R_LIGHT);" or somting like that? Oh and can you use the temprature sensor on the scout? Alex (25 years ago, 15-Feb-01, to lugnet.robotics.scout)
|
| |
 | | Re: Problem
|
|
(...) When I try to compile the program there are 13 compilation errors like "Undefined Variable 'LIGHT'" and "Undefined variable 'right'" and stuff like that, all undefined variables. What version of NQC do you have? I have version 2.3 a, mabey I (...) (25 years ago, 15-Feb-01, to lugnet.robotics.scout)
|
| |
 | | Re: Problem
|
|
What do you mean? Please tell me more detail? I think it is no problem as I am using it. Zhengrong (...) (25 years ago, 15-Feb-01, to lugnet.robotics.scout)
|
| |
 | | 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 (...) (25 years ago, 15-Feb-01, to lugnet.robotics.scout)
|
| |
 | | Re: legOS
|
|
Sorry my E-mail address is neo@fortworks.com Alex (25 years ago, 15-Feb-01, to lugnet.robotics.scout)
|
| |
 | | Re: legOS
|
|
(...) Just (...) Thank I figured out how to use the sensors I must have an old version or somthing because i have to write the "#ifdef"decleration and the "#endif" decleration on top and on the bottom of the "SetSensor(SENSOR_1, SENSOR_TOUCH);" here (...) (25 years ago, 15-Feb-01, to lugnet.robotics.scout)
|
| |
 | | Re: legOS
|
|
(...) As far as sensors go for the SCOUT you DO NOT have to declare them at all. Just comment out anything to do with declaring Sensors. The scout uses a different command to get the RAW values. For the Scout the the sensors are always TOUCH. Hope (...) (25 years ago, 14-Feb-01, to lugnet.robotics.scout)
|
| |
 | | Re: legOS
|
|
(...) Thanks I got the test.nqc flie to download and it worked....but when I try any program from the unoffical guide to lego mindstorms robots like the Hank The Bumper Tank program, it gives me the undifined variable error it says "undifined (...) (25 years ago, 14-Feb-01, to lugnet.robotics.scout)
|
| |
 | | Re: legOS
|
|
(...) If you're using a Scout then you need to add the -Tscout option... nqc -Tscout -d test.nqc Unless you are using NQC 2.3 b1, you'll need to manually set the Scout in "power mode" before trying to download. (version 2.3 b1 will do this (...) (25 years ago, 14-Feb-01, to lugnet.robotics.scout)
|