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 / 1061 (-20)
  Re: program wont stop running
 
(...) The program has stopped running. It stops as soon as it starts... You just need to STOP the motor when your done. Otherwise it just stays on... Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (23 years ago, 7-Apr-01, to lugnet.robotics, lugnet.robotics.rcx.nqc)
 
  Re: Revisions to RcxCC
 
I'm Tamotsu Kamigaki from Japan. I am teaching the Computer Science in university. I had already modified the RcxCC to support the Scout and the USB IrTower that is included in RIS2.0 set. The RIS2.0 set was released in Nov. 2000 only in Japan. My (...) (23 years ago, 7-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Revisions to RcxCC
 
(...) Looking into the way syntax highlighting is performed in RcxCC revealed a few "features" that I find undesirable. In my experience, the Undo doesn't really work right. It also appears to be counting the change of highlighting as a (...) (23 years ago, 6-Apr-01, to lugnet.robotics.rcx.nqc)
 
  program wont stop running
 
O.k., I've never had this happen before, and don't know why it's doing it now. A program as simple as: task main() { SetPower(OUT_A,7); OnFwd(OUT_A); } won't stop running after i hit the "Run" button on the rcx (1.5). Also, the little person in the (...) (23 years ago, 6-Apr-01, to lugnet.robotics, lugnet.robotics.rcx.nqc)
 
  Re: Revisions to RcxCC
 
(...) I am considering taking advantage of the -raw option on NQC or possibly the -remote option to further enable RcxCC in the absence of Spirit.ocx. Of course, most users of RcxCC will have spirit.ocx, but Scout users may not. I'm not planning on (...) (23 years ago, 5-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Exploration Mars Balloon Tires Part#
 
Hello Would anyone happen to know the LEGO Shop-At-Home part # for the Balloon Tires that come with the Exploration Mars expanion set ? Thanks Tim Goodwin (23 years ago, 5-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Revisions to RcxCC
 
hi John, Great idea, (for RCXcc is a very good application, even my children can write programs with it) I just had the same idea, but my time is limited. I've need some more ideas, here are some of mine ideas (and bugs), I wanted to implement: - (...) (23 years ago, 4-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Revisions to RcxCC
 
(...) You can probably use NQC to implement a lot of the other fancy features as well. The "-raw" option for NQC lets you send raw byte packets. You'd need to figure out the actual bytecodes from Lego's LASM document, but you wouldn't have to worry (...) (23 years ago, 4-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Revisions to RcxCC
 
(...) This is unclear. What I mean to say is that I'm revising RcxCC so that it will be able to run in the situation where you do not have the Spirit OCX installed on your system. Since NQC is all that is required to compile, download, and run a (...) (23 years ago, 4-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Revisions to RcxCC
 
I'm working on a revision to Mark Overmars' fantastic RcxCC program. I'm an experienced Delphi programmer so that's no problem. But I'm not all that experienced with NQC or the RCX generally. I've got a the latest version of NQC, a Cybermaster, an (...) (23 years ago, 3-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Electrical Data Link between 2 RCXs
 
(...) My guess is that SENSOR_1 in your receiving RCX is getting a 1 when your program starts. I imagine that OFF is the default state for OUT_B in your transmitter RCX, and that the receiver is seeing this before OUT_B is switched to FLOAT. This is (...) (23 years ago, 3-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Electrical Data Link between 2 RCXs
 
(...) Hi Dean, meanwhile I followed your suggestions and implemented a scheme that uses a pulse scheme like this: ______ ______ ______ __ ______ ______ ___...___ Start Bit3 Bit2 Bit1 Bit0 A bit value of 1 results in a long pulse, a bit value of 0 in (...) (23 years ago, 3-Apr-01, to lugnet.robotics.rcx.nqc)
 
  Re: Yet another Q: IR messages
 
(...) Hi Tobias I'm not very familiar with NQC events, but if you want to use a blocking function for receiving your message, use parts of the code i posted before. int local_message = 0; int global_message = 0; task main() { //do what you like (...) (23 years ago, 31-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: Yet another Q: IR messages
 
If I am understanding what you want correclty (I have never used the RCX-code) only NQC then try this. Assume: RCX2 is sending message # 15 to RCX1. RCX1 is in a waiting state until it gets the message RCX code: . . . While (Message() != 15){ ++i; } (...) (23 years ago, 31-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: "Speed" of control statments
 
Actually, its not a general programming question. Efficiency of something like events is heavily dependent on the operating system (in this case the Lego firmware). Efficiency of "if" vs. "switch" can be very dependent on the compiler and the CPU (...) (23 years ago, 31-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: Yet another Q: IR messages
 
Thanks for the information so far. Is there any NQC command similar to the RCX-code "wait until message"-block? --Tobias (23 years ago, 30-Mar-01, to lugnet.robotics.rcx.nqc)
 
  "Speed" of control statments
 
I have been currently working on a control program that necessitates the highest reaction time possible. Does anyone what the fastest control statements would be using NQC (making the outputs react to sensor values as fast as possible)? i.e. Which (...) (23 years ago, 30-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: Yet another Q: IR messages
 
To send a message use the following: SendMessage(<variable> or <number>); The variable must be of integer type between 1 - 255 The number must be between 1 - 255 To read a message from the IR port do <variable> = Message(); This will put whatever (...) (23 years ago, 29-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: Yet another Q: IR messages
 
Hi Tobias, this could look something like this for example : int global_message; // place to store and read messages for every task task main() { start Read_Messages; // start Receive_Message Task while(true) { switch (global_message) { case 1 : (...) (23 years ago, 29-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Yet another Q: IR messages
 
I can't figure out how to use the IR commands. I've tried, read a bit in the documentation, but still have no clue. I'd like to know how to: a) Send a message (and decide what message it should be) and b) learn how to recieve messages Thanks in (...) (23 years ago, 29-Mar-01, 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