To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 541 (-20)
  Q: Determining state of outputs
 
Hello everybody! For the building of my next robot an answer to the following question could be very helpful: Is there any possibility in NQC to get the state of an output (on, off, direction). While running a program I would like to control one (...) (25 years ago, 13-Apr-00, to lugnet.robotics.rcx.nqc)  
 
  Re: location of NQC group?
 
(...) Safest thing is a multi-step process: 1. Announce that a new group/list lugnet.robotics.nqc will soon be replacing lugnet.robotics.nqc (i.e., a "heads-up"). 2. [A day or so later] Create lugnet.robotics.nqc and associated web areas and mailing (...) (25 years ago, 9-Apr-00, to lugnet.admin.general, lugnet.robotics.rcx.nqc)  
 
  Re: NQC Ignores based on your pbrink
 
(...) Yep, you can #ifdef however you want, and NQC supports -D and -U options on the command line that allow you to define (or undefine) symbols before the compile takes place. This is handy if you're using Makefiles, but even in an ordinary shell (...) (25 years ago, 9-Apr-00, to lugnet.robotics.rcx.nqc)  
 
  Re: NQC Ignores based on your pbrink
 
I definitely intended to mean portable source. And that the "__FIRMWARE" would be used in compiler directives rather than in the code. It is a simple matter for me to define my own __FIRMWARE (or anything else, right?) and do #ifdef's to my heart's (...) (25 years ago, 9-Apr-00, to lugnet.robotics.rcx.nqc)
 
  Re: location of NQC group?
 
(...) Personally I like the move to robotics.nqc I don't like the idea of splitting it up. Cross posting would make reading the groups very annoying. I'd say make the current one archive only putting a LARGE message like the rules pop up to new (...) (25 years ago, 9-Apr-00, to lugnet.admin.general, lugnet.robotics.rcx.nqc)
 
  Re: NQC Ignores based on your pbrink
 
(...) I agree wholeheartedly. I don't want to see people selling their bot code. It's all about sharing and learning. Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (25 years ago, 9-Apr-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC Ignores based on your pbrink
 
(...) This seems reasonable to me. Plus, it has the added benefit of being inherently open: source is all about "here's how to do this"; binaries are "here's a thing that does this". It's nice to encourage the first attitude. (25 years ago, 9-Apr-00, to lugnet.robotics.rcx.nqc)  
 
  Re: NQC Ignores based on your pbrink
 
(...) This first define (__RCX = 2) will happen automatically in NQC when you select RCX 2.0 as the target for compilation. Selecting an RCX 1.0 target will cause the symbol to be defined as 1. (...) I hope I don't have to add a __FIRMWARE symbol... (...) (25 years ago, 9-Apr-00, to lugnet.robotics.rcx.nqc)  
 
  Re: NQC Ignores based on your pbrink
 
Have you considered adding the firmware build version to that symbol or to a new one? __RCX = 2 __FIRMWARE=3.21 This would facilitate creation of portable, work-around code that would accomodate an end-user who hasn't updated their firmware (or has (...) (25 years ago, 9-Apr-00, to lugnet.robotics.rcx.nqc)
 
  Re: location of NQC group?
 
(...) Just a long term tickler. Long term, it should come to pass that this is not true, and that moving a group is not an impossible thing to do. ++Lar (25 years ago, 9-Apr-00, to lugnet.admin.general, lugnet.robotics.rcx.nqc)
 
  Re: location of NQC group?
 
(...) Yes, I think that would be a good move. (...) I'd prefer not to proliferate too many newsgropus. Personally I don't think the nqc traffic is presently so high that people need to filter it based on target. Odds are that this would even cause a (...) (25 years ago, 8-Apr-00, to lugnet.admin.general, lugnet.robotics.rcx.nqc)  
 
  Re: NQC Ignores based on your pbrink
 
(...) Yes, I agree with the approach to using __RCX for conditional compile - that's really why its there. I had thought about adding some of the functions (SetSensor() etc.) as no-ops in the Scout API, but this really didn't feel right to me. I (...) (25 years ago, 8-Apr-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC Ignores based on your pbrink
 
(...) Very True. Does anyone know when downloading to Scout with RCXCC will be ready? Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (25 years ago, 8-Apr-00, to lugnet.robotics.rcx.nqc)
 
  Re: location of NQC group?
 
(...) Yah, DaveB & I were talking about this a while back -- and since then the non- RCX support has gotten even stronger. Dave indicated that he'd like to move the group up a level, which is possible but we'll have to actually start a new group (...) (25 years ago, 8-Apr-00, to lugnet.admin.general, lugnet.robotics.rcx.nqc)  
 
  Re: NQC Ignores based on your pbrink
 
(...) Coincidentally, I think someone just posted the answer to your question a few hours ago.... (URL) (25 years ago, 8-Apr-00, to lugnet.robotics.rcx.nqc)
 
  NQC Ignores based on your pbrink
 
Dave Can you setup NQC to automatically ignore things a pbrink doesn't understand? For example The scout. I have a program that I use in my 2 RCX's and my 1 scout. But Constantly have to /* */ the offending code for the scout. Is there some way we (...) (25 years ago, 8-Apr-00, to lugnet.robotics.rcx.nqc)
 
  Re: problem building bugbot3.nqc in cybermaster
 
(...) Why not do something like this? #ifdef __RCX SetSensor(...) ; #endif (25 years ago, 8-Apr-00, to lugnet.robotics.rcx.nqc)
 
  Re: NQC in Boston University Linux :)
 
(...) cool :) Heh, did you look at 6.2 yet? I installed it today, though I haven't noticed any major difference yet... :) Dan btw, since you're at BU, have you ever heard of Three Kingdoms, or more commonly, 3K? ;) (25 years ago, 7-Apr-00, to lugnet.robotics.rcx.nqc, lugnet.off-topic.geek)
 
  NQC in Boston University Linux :)
 
So, when we release BU Linux R1 next Tuesday [1], it will be the first [2] Linux distribution to ship with NQC included. (URL), if you care. [1] or maybe Wednesday or Thursday. Hopefully Tuesday. Depends on the wheels of bureaucracy. [2] not (...) (25 years ago, 7-Apr-00, to lugnet.robotics.rcx.nqc, lugnet.off-topic.geek)  
 
  Re: problem building bugbot3.nqc in cybermaster
 
(...) Just delete the SetSensor() lines. CyberMaster only supports touch sensors, so the entire sensor configuration thing isn't needed...in fact CyberMaster doesn't support some of those bytecodes (which is why many of the constants and functions (...) (25 years ago, 3-Apr-00, to lugnet.robotics.rcx.nqc)  


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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