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 / 147
    legOS —Alex Fort
   Hi, do any of you think that you can program the scout in legOS? My NQC is not working it says "could not open serial port" and it aborts the download so legOS would mabe work. Alex (24 years ago, 9-Feb-01, to lugnet.robotics.scout)
   
        Re: legOS —Dean Husby
     (...) The scout does NOT have replaceable firmware. What you have is all it will ever be... So it's NQC or nothing at this point. Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (24 years ago, 11-Feb-01, to lugnet.robotics.scout)
   
        Re: legOS —Dave Baum
   (...) "could not open serial port" generally means one of these things: 1) You told NQC to use a serial port that doesn't exist. By default, it will try to use Mac - modem port Win - COM1 Unix - /dev/ttyS0 You can override this with a -S option. 2) (...) (24 years ago, 12-Feb-01, to lugnet.robotics.scout)
   
        Re: legOS —Alex Fort
    (...) How would you tell NQC to use COM2? like this? NQC -s COM2 or somthing like that? (24 years ago, 12-Feb-01, to lugnet.robotics.scout)
   
        Re: legOS —Dave Baum
   (...) nqc -SCOM2 You need to be careful about upper/lower case for options. I know its annoying, but there are a *lot* of options, so case is important. In the case of specifying the serial port, the option is immediately followed by the serial port (...) (24 years ago, 13-Feb-01, to lugnet.robotics.scout)
   
        Re: legOS —Alex Fort
   (...) I tried what you said quite a bit but it just says "usage error: try nqc-help' to display options" My serial port works fine for my Scout Tool program. and I have tried to switch the RCX to the scout like this "nqc -T Scout" and "nqc -TScout" (...) (24 years ago, 13-Feb-01, to lugnet.robotics.scout)
   
        Re: legOS —Dave Baum
   (...) 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 (...) (24 years ago, 14-Feb-01, to lugnet.robotics.scout)
   
        Re: legOS —Alex Fort
   (...) 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 (...) (24 years ago, 14-Feb-01, to lugnet.robotics.scout)
   
        Re: legOS —Dean Husby
     (...) 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 (...) (24 years ago, 14-Feb-01, to lugnet.robotics.scout)
    
         Re: legOS —Alex Fort
     (...) 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 (...) (24 years ago, 15-Feb-01, to lugnet.robotics.scout)
    
         Re: legOS —Alex Fort
     Sorry my E-mail address is neo@fortworks.com Alex (24 years ago, 15-Feb-01, to lugnet.robotics.scout)
   
        Re: legOS —Dave Baum
   (...) 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 (...) (24 years ago, 15-Feb-01, to lugnet.robotics.scout)
   
        Re: legOS —Alex Fort
     (...) 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 (24 years ago, 15-Feb-01, to lugnet.robotics.scout)
    
         Re: legOS —Dave Baum
     (...) 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 (...) (24 years ago, 16-Feb-01, to lugnet.robotics.scout)
   
        Re: legOS —Dean Husby
   (...) Dave, doesn't NQC support the 3rd motor port as the light? I would assume that the speed would just be ignored? At least that's what the Lego Remote does... Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (23 years ago, 5-Apr-01, to lugnet.robotics.scout)
 

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