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 / *1742 (-20)
  Re: New NQC API for RCX-Spybot or RCX-RC communication
 
(...) I forgot to include a few #defines: #define SERIAL_PACKET_RC 0 // default #define SERIAL_PACKET_SPYBOT 0 #define SERIAL_COMM_RC 7 // 4800/76KHZ/25% #define SERIAL_COMM_SPYBOT 7 // was SERIAL_COMM_4800 + SERIAL_COMM_76KHZ The RC function, by (...) (20 years ago, 12-Jan-05, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
 
  New NQC API for RCX-Spybot or RCX-RC communication
 
Recently I happened across the MindScript headers for the RCX in the SDK and saw some interesting macros for RCX communication. I decided to port them to NQC and possibly add them to the official built-in NQC API. I would be extremely grateful if (...) (20 years ago, 12-Jan-05, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
 
  Re: NQC API for the new Swan firmware
 
(...) I would in this case prefer the second - I actually use a "kMyNamedConstant" convention in my code, and find it very nice to have the API constants very easily seperable from my constants. (...) Again, personally I would prefer that, as it (...) (20 years ago, 11-Jan-05, to lugnet.robotics.rcx.nqc)
 
  NQC API for the new Swan firmware
 
I am working feverishly on updates to NQC which will include extensions to the built-in API in support of Dick Swan's new firmware. My intent is to be consistent with the existing NQC API. However, there are some issues I am debating and I would (...) (20 years ago, 11-Jan-05, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 1.0 compatibility mode
 
(...) I know I got stung with it when I first installed the IDE, not having it woulda saved me a couple of posts to Lugnet :) ROSCO (20 years ago, 7-Jan-05, to lugnet.robotics.rcx.nqc)
 
  Re: NQC 1.0 compatibility mode
 
(...) I think if they need NQC V1, they won't have this new IDE. If they have the new IDE, they won't have NQC V1.x (20 years ago, 7-Jan-05, to lugnet.robotics.rcx.nqc)
 
  NQC 1.0 compatibility mode
 
Would anyone miss terribly the NQC 1.x compatibility mode if I were to remove it? At this point it seems like it is a very useless feature, but maybe someone out there is still using the 1.x API. What do you think? John Hansen (20 years ago, 6-Jan-05, to lugnet.robotics.rcx.nqc)
 
  Re: Swan Firmware
 
(...) The Swan firmware is Dick Swan's replacement firmware which is compatible with the standard LEGO firmware (firm0328.lgo). The Swan firmware is available at the link mentioned in this post: (URL) use swan.nqh (available in the zip file (...) (20 years ago, 4-Jan-05, to lugnet.robotics.rcx.nqc)
 
  Re: Swan Firmware
 
(...) what is the swan firmware? what have I missed? Thomas (20 years ago, 4-Jan-05, to lugnet.robotics.rcx.nqc)
 
  Re: questions on events
 
(...) This is where you use the event fork(s) that you asked about in a different message. You nest these forks to determine which event has been triggered. (...) Robolab is just a LabVIEW program. Viewed in that context, it is an amazing bit of (...) (20 years ago, 3-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
 
  Re: questions on events
 
(...) Yeah, my fault. I said two things that do not have to follow. Yes, you can use one event monitor to watch more than one event... and yes, you can't nest event monitoring statements. I've not used an event watcher to monitor more than one event (...) (20 years ago, 3-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
 
  Swan Firmware
 
I have installed the new Swan Firmware via Brixcc 3.3.7.8 using standard nqc coding works ok. I'm having problems trying to include any of the new code. Question 1 How do we use the Swan.nqh file Question 2 Can we use the new variables defined in (...) (20 years ago, 3-Jan-05, to lugnet.robotics.rcx.nqc)
 
  RE: Formula container?
 
Ok, I got it... Thanks to the Tufts site. (URL) is kind of odd that the navigation is to "create ---> constant"... "constant?" Hmmm... -- E (...) (20 years ago, 3-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
 
  Formula container?
 
I am trying to compare the light value of two sensors, namely s1, & s2 . I don't want to go through the long route which is to save the light values from different sensors to different container, then, compare them. How about using "formula (...) (20 years ago, 3-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
 
  RE: questions on events
 
(...) Hmm..., notice that the start monitoring icon allows to watch for multiple events within the same task. If each task can only monitor a single event, that feature being there does not quite make sense. (...) This is why I suspect the "event" (...) (20 years ago, 3-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
 
  RE: Define Event icon...
 
Yes, Tom. This is exactly what I was trying to do... To trigger an event when it becomes 3. Great! Thank you very much! Cool! (...) (20 years ago, 3-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
 
  Re: questions on events
 
(...) See previous post for the "I-don't-actually-do-Robolab" disclaimer, but, since Robolab & NQC both work on the same firmware... You can monitor multiple events, but only in *different* tasks. In other words, (to my knowledge) you can not "nest" (...) (20 years ago, 2-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
 
  Re: Define Event icon...
 
(...) I fear I became very frustrated with Robolab, so can't help you *specificly* with that enviroment, but... at a firmware level, events can "watch" several different sources: sensors, timers, three simple counters... however, they can not be (...) (20 years ago, 2-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
 
  Re: Define Event icon...
 
(...) Elizabeth, you are a few steps ahead of me in working with 'Events'. Could you explain, in plain English, what exactly an 'Event' is? ...it's not a 'State' because it can be a constant or a variable. Yet you can have an 'Event Fork' which is (...) (20 years ago, 2-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
 
  Define Event icon...
 
Hi I'd like to set up an event to watch for a containers value = 3. I am trying to use the "Define Event" icon, but has no luck yet. Just wonder if there is anyone out there has suggestion. The official doc does not explain much different from what (...) (20 years ago, 2-Jan-05, to lugnet.robotics.rcx.robolab, 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