To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *4020 (-20)
  LNP checksum optimizations
 
In a previous post I said that some optimizations can be made in LNP. Now I have the patch ready and uploaded it on sourceforge. Sadly I made it against a custom version of the kernel, so it may need a manual intervention to apply (fuzzyness (...) (24 years ago, 31-Jan-01, to lugnet.robotics.rcx.legos)
 
  Error in program
 
Hi, can somebody tell me why this little program doesn't give any output? It just keeps running and doing nothing... int Edges[7], CounterLength=0; task main(){ SetSensor (SENSOR_2, SENSOR_TOUCH); until(CounterLength == 8){ Edges[CounterLength] = (...) (24 years ago, 31-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: Just some really basic questions...
 
(...) program (...) Dean, you are right and meanwhile I could test it. However, the definition for the global variables must be in the SAME ORDER order for both of the programs. If you would do this: SLOT 1: int testvar1 = 1; int testvar2 = 2; int (...) (24 years ago, 31-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: Power Down for RCX
 
(...) There are two commands (available on the command line or within a program). The first sets the "sleep time", which is the number of minutes before the RCX will turn itself off (0 means never sleep). The second requests that the RCX sleep (...) (24 years ago, 31-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: Just some really basic questions...
 
(...) Your example did as I have stated. Global variables are global across all program slots. Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (24 years ago, 30-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: Just some really basic questions...
 
(...) Dean, I am not sure that this is correct what you write about global variables. As far as I know, the followoing is correct: - 32 global variables are only valid WITHIN one program slot. - Within this slot, all tasks, functions and subroutines (...) (24 years ago, 30-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: Where is this part?
 
(...) If this is the part I think it is there are 2 transparent ones in the 5220 service pack (Extra parts and stickers). This is in the S@H Jan01 catalog on page 49 (24 years ago, 30-Jan-01, to lugnet.robotics.rcx)
 
  Re: Just some really basic questions...
 
(...) Yes. To be more precise I believe it's 6100 bytes of space. (The SCOUT has 400 bytes of space) (...) if message = 5 then jump off table... It's that easy... (...) Well if you can keep all the code in one program it's easier. But you get 32 (...) (24 years ago, 29-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: Where is this part?
 
I also had this prob. |I think I heard that the RCX1.0 came with RIS 1.5 though not sure. |This part is in some of the convertible models eg 8252 police buggy |Or a substitute can be made as shown on the following web page = | (URL) |For the (...) (24 years ago, 29-Jan-01, to lugnet.robotics, lugnet.robotics.rcx)
 
  Re: Just some really basic questions...
 
(...) Yes. (...) Yes. (...) You send a code from RCX #1 to RCX #2, RCX #2 is awaiting code... Based on the code number, it can perform previously defined tasks (complex tasks too, if you like) (...) ... Don't know. More complications, I'd say. (24 years ago, 29-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: Delphi to Robolab
 
(...) Delphi is a pascal based object oriented development system, similar to Visual Basic and Power Builder. To my knowledge most of the programming environments for the RCX including Robolab were not designed to be used with these specific object (...) (24 years ago, 29-Jan-01, to lugnet.robotics.rcx.robolab)
 
  Re: Just some really basic questions...
 
Okay, cool, so I get 5 slots (my bad...I knew that too...I don't know *why* I kept saying 3) and the TOTAL space I can use is 6k? Does that include the datalog feature? Can you pass variables into other programs? How do you use these 'Codes (...) (24 years ago, 29-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: legOS lcd management and thoughts on velocities
 
(...) The timeout is really "expected time till next rotation tick + 50 %". And the velocity will not drop to 0, because my code assumes, a new rotation could happen any moment. If you check for speed < 7 ticks/sec (or 142 msec/tick) you should get (...) (24 years ago, 29-Jan-01, to lugnet.robotics.rcx.legos)
 
  Re: MacNQC Beta
 
Sorry Rob, the Motors seem to be okay. I 've done the firmware download once more and the motors did the same that I switcht in the panel. But the other things still are wrong. Ralf (...) (24 years ago, 29-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: MacNQC Beta
 
Hi Rob, I 've found some beta mistakes. Downloading the firmware firm0328.lgo runs well. That 's not the problem. But controlling the result with the "RCX Information" the firmware version had the number 3.520. And switching the RCX off and (...) (24 years ago, 29-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: MacNQC Beta
 
Hi, it 's a nice work. I like working with the macintosh because most of the work happens with intuitive menu or button events. Therefor it 's important to have a simple tool like MacNQC for programming my RCX. Doing the same work with NQC needs the (...) (24 years ago, 29-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: Power Down for RCX
 
(...) nqc -sleep now shuts off an RCX. SetSleepTime(0); Sets it from in NQC. Change 0 to whatever you want, in minutes for the shutdown. Dean -- Coin-Op's For Sale!: (URL) Lego Workshop: (URL) Lego Club: (URL) (24 years ago, 29-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Re: Just some really basic questions...
 
(...) 5. You get five slots. (...) Yes, with Version 2 of the firmware. (...) From what I understand you get 6k of program space, you can use it all in a program or spread it around 2 to 5. Your choice. (...) Sort of. Computer to RCX control is (...) (24 years ago, 29-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Power Down for RCX
 
I know that in the diagnostics window for the RCX Control Center you can set the "Power Down" time, this sends a message to the RCX about how long to wait idle before power down. I would like to know the command (message) to send to the RCX to make (...) (24 years ago, 29-Jan-01, to lugnet.robotics.rcx.nqc)
 
  Just some really basic questions...
 
Okay, I'm really new to the whole NQC thing and have visited Amazon and ordered a couple books, but I've got some rather high level, I guess for lack of a better term, questions... I can store up to three program in my RCX. Correct? What's the best (...) (24 years ago, 29-Jan-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