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 / 154
153  |  155
Subject: 
Re: legOS
Newsgroups: 
lugnet.robotics.scout
Date: 
Wed, 14 Feb 2001 17:35:44 GMT
Viewed: 
2762 times
  
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
automatically for you via some IR commands).


Dave

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 variable 'SENSOR_TOUCH'" same with Zangs light seeker program.
the only program that works is your test.nqc program...am I not saving the
program right? I save it as "Hank.nqc" but when I put in that name it cant
find the file I have to put in "Hank.nqc.txt"
kinda weird


Alex



Message has 2 Replies:
  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 (...) (24 years ago, 14-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 (...) (24 years ago, 15-Feb-01, to lugnet.robotics.scout)

Message is in Reply To:
  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 (...) (24 years ago, 14-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
    

Custom Search

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