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 / *8405 (-20)
  Re: NQC's future
 
(...) According to the LEGO documentation, only the normal (source 1) Timers can be used as an event source. The ‘sensors’ for which events can be generated are: · Physical sensors (Source 9, Range 0-2, Logical number 0-2) · System timers (Source 1, (...) (21 years ago, 12-Jan-04, to lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
 
  Re: BricxCC release 3.3.7.6
 
small suggestion: when you've a syntax error in NQC, it goes like this - error is reported - you correct the error - recompile the source - code is downloaded - error message disappears In my opinion, the last 2 actions should be the other way (...) (21 years ago, 11-Jan-04, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
 
  Re: NQC's future
 
(...) Here's a suggestion/question: is it possible (either in the current incarnation or a future one) for NQC to use FastTimer() as a source for events? Timer() works, but not (it seems) FastTimer(). (21 years ago, 11-Jan-04, to lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
 
  Re: installing Robolab under Mac OS X
 
(...) Great news for MAC/OSX fans this is not a rumor according to the PITSCO 2004 catalog there will be Native OSX CD version available JUNE 2004. You will need ROBOLAB 2.5 software with training missions. If you have the 2.5 ROBOLAB RIS you can (...) (21 years ago, 11-Jan-04, to lugnet.robotics.rcx, FTX)
 
  Re: motor repair
 
hi Philippe, (...) Sorry, I don't know any translator , (with 1 Europe there should be one :-) but it's no problem for me to translate a few pages, tell me what pages you're interested in. Btw, Nice work, your laser target finder ! cheers, Stef (...) (21 years ago, 11-Jan-04, to lugnet.robotics.rcx, lugnet.technic, lugnet.robotics)
 
  Re: The BrickOS Task Manager
 
(...) Thank you very much. That was exactly what I needed. Very much appreciated. Mike (21 years ago, 10-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: ...2 years later... :-) (was: newbie again part 2)
 
Hello, for the benefit of the next guy reading this thread (probably in January 2006 :-) : Dave was right, the *.rcx file I was trying to feed to pbsim wasn't in the current directory. (I didn't notice that my Java environment, jEdit, had set the (...) (21 years ago, 10-Jan-04, to lugnet.robotics.rcx.nqc)
 
  Re: The BrickOS Task Manager
 
(...) This works. Steve ---- #include <unistd.h> #include <dbutton.h> #include <dmotor.h> int MotorSpeed = 0; int RunMotor() { while (!shutdown_requested()) { motor_a_dir(MotorSpeed); } return 0; } int CheckButton() { while (!shutdown_requested()) { (...) (21 years ago, 10-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: Design by Contract (long post)
 
Thanks, Tim. I haven't used the #x idiom myself - I like it. Your implementation with the boolean: (...) Will need an extra level of parenthesis surrounding the bool so that its declaration scope is made local. You can certainly go to town with this (...) (21 years ago, 10-Jan-04, to lugnet.robotics.rcx, FTX)
 
  Re: Implementation of Installable Timers
 
(...) I'd go with the flag, myself. (...) Its certainly possible for the client timer to reinsert itself - therefore the recurring timer is not strictly required. It could be left out for space reasons. I'd probably either take it out and make it (...) (21 years ago, 10-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: The BrickOS Task Manager
 
(...) Sorry, I'm still just not getting it at all. I have type errors all over the place trying to pass arguments to my task. Could someone please simply email me or post an example of a program that starts, runs two or more threads, and will (...) (21 years ago, 10-Jan-04, to lugnet.robotics.rcx.legos)
 
  Brickos fun and games!
 
Hello. I have finally got gcc 2.95.3 - the official brickos compiler - installed on my computer (SUSE Linux). I can type "make" and compile all the brickos directory fine. firmdl3 works fine. BUT, dll doesn't seem to work. When I use dll to download (...) (21 years ago, 9-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: Implementation of Installable Timers
 
(...) It would seem reasonable to check the location of the struct; if in kernel memory, don't remove; if in user memory, remove. However, you could add a flag to the timer struct which could use T_KERNEL and T_USER flags. (...) I looked quickly (...) (21 years ago, 9-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: ...2 years later... :-) (was: newbie again part 2)
 
Hello, and thanks for the reply. In lugnet.robotics.rcx.nqc, Dave Baum wrote: . . . (...) That's where I thought it was, but who knows. I'll continue the quest. Thanks again -- as always I am impressed how easy it is on the Net to get to the roots (...) (21 years ago, 9-Jan-04, to lugnet.robotics.rcx.nqc)
 
  Re: NQC's future
 
(...) ;o) ... but why not ? (...) You're right, I should try pbForth, actually I intend to do that for a while but never jumped in. In the late 80's, I was involved in a point of sales terminal project that was programmed with a preemptive (...) (21 years ago, 9-Jan-04, to lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics, lugnet.robotics.rcx.pbforth)
 
  Re: Design by Contract (long post)
 
(...) For more fun with asserts: See if your compiler supports the FILE and LINE macros (or something equivilant). #ifdef NDEBUG #define assert(x) ((void)0) #else #define assert(x) if (x) else assertfail(FILE,LINE); #endif your assert_fail function (...) (21 years ago, 9-Jan-04, to lugnet.robotics.rcx, FTX)
 
  Re: Implementation of Installable Timers
 
(...) You are right. I found in an app that I was using that if I pressed the run / stop button, my task would be killed, and leave a dangling timer - which would usually blow the little brick into the weeds :o) I 'solved' it in a crude way by (...) (21 years ago, 9-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: ...2 years later... :-) (was: newbie again part 2)
 
(...) It's been a long time since I looked at any of this, but I don't think the version of the NQC compiler is an issue, nor is the -1 option. The .rcx file format has been pretty stable for a long time. The -1 allows old source programs to be (...) (21 years ago, 9-Jan-04, to lugnet.robotics.rcx.nqc)
 
  Q for Ralph
 
Why, exactly, does pbForth use a terminal emulator for the PC to talk to the RCX? Although I admit I find it an interesting concept (it's got a certain nostalgic appeal, at least for me), the design seems to encourage leaving the RCX on for extended (...) (21 years ago, 9-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  IR problems
 
Hi, I was having some problems in a program I'm writing in PbForth and it seems that it could be related to the way I communicate thru IR. I use the Lego remote control. I joined the following code to demonstrate. I use the word 'getHeader' from (...) (21 years ago, 9-Jan-04, to lugnet.robotics.rcx.pbforth)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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