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 / *8455 (-100)
  RE: IR problems
 
Hmmm The blip and LCD clearing, while useful for debugging may be messing things up. The characters are coming in way faster than the blip time, so you may not be reading the buffer fast enough. I would put code at the end of getHeader that (...) (21 years ago, 24-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  Re: IR problems
 
(...) snip snip (...) ===...=== Ralph, any idea on this? Thanks (21 years ago, 23-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  Re: BricxCC release 3.3.7.7
 
(...) Unfortunately, BricxCC is still not downloading the brickOS firmware correctly. I will look into this problem and try to fix it. In the mean time, you can use firmdl3 which works correctly. John Hansen (21 years ago, 23-Jan-04, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
 
  BricxCC release 3.3.7.7
 
I've released version 3.3.7.7 of BricxCC today. It adds a Spybot EEPROM tool window. It adds a new configurable watch tool window. It adds a new generic set source value tool window. It adds a hot key (F2) for the pbForth console. The position of (...) (21 years ago, 22-Jan-04, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
 
  Re: brickOS & Cygwin with BricxCC
 
(...) Thanks again for testing this for me! (...) The Send Messages tool window can send any IR message from 0 to 255 to a brick. John Hansen (21 years ago, 22-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: brickOS & Cygwin with BricxCC
 
(...) Its true, Before John "fixed" the older OS issues, I was at my whit's end and was prepared to do damage to myself with a fork -- after unsuccessfully trying to install BrickOS.... but now, thanks to John and Bricxcc my cutlery is safely (...) (21 years ago, 22-Jan-04, to lugnet.robotics.rcx.legos)
 
  brickOS & Cygwin with BricxCC
 
Yesterday, I replaced the two installers I have up on my bricxcc.sourceforge.net site with slightly modified versions. The new installers contain a new cross compiler which I built from 2.95.2 myself (rather than the one Hitachi provided some time (...) (21 years ago, 22-Jan-04, to lugnet.robotics.rcx.legos)
 
  Has anybody successfully added an RCX to 7471 Mars Rover?
 
Ever since I picked up the 7471 Mars Rover a few months ago, I thought it screamed out for an RCX modification. I saw a lot of discussion about the possibility, but didn't find where anybody had actually successfully done it. Now that BrickFest PDX (...) (21 years ago, 22-Jan-04, to lugnet.space, lugnet.robotics, lugnet.org.ca.rtltoronto, lugnet.robotics.rcx.legos, lugnet.org.us.smart, lugnet.org.scibrick)
 
  Re: NEWBIE question : installing BrickOS
 
(...) Or you can just skip the make strip step entirely. All it does is reduce the size of your executables but that has no bearing whatsoever on whether they function. Try opening a DOS box, change directory (without entering the BASH shell) into (...) (21 years ago, 21-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: NEWBIE question : installing BrickOS
 
(...) Try make fontdesign in the util directory to build fontdesign.exe, and then do the make strip again. (21 years ago, 21-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: BrickOS Assembler
 
(...) Volatile tells the compiler that should assume the value can change without the compiler's knowledge. So yes, it gets reloaded every time. (...) To find this stuff, you need to read through documentation for GCC. It has been a few years since (...) (21 years ago, 21-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: WORDLIST
 
(...) Long time no see:) Below is source for .S DUMP WORDS and SEE. Usage of the individual words should be basically clear, but I have some remarks nontheless: - Those words were originally embedded in a collection of words that I always load. I (...) (21 years ago, 21-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  Re: BrickOS Assembler
 
(...) Oh, I see. That's nifty. So a 'volatile' keyword ensures that it's reloaded every time? (...) Which doc is this? The only ones I have are the BrickOS command reference (it's a shorter HTML one), and the software manual from Hitachi. (...) (...) (21 years ago, 20-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: BrickOS Assembler
 
(...) Glad to help! (...) However, it *does* work for bytes... See the program below. In your example program, you declared the "total" variable as an unsigned short (which is a 16-bit word), but accessed it using an 8-bit move instruction. Instead, (...) (21 years ago, 20-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: BrickOS Assembler
 
(...) PERFECT. That was exactly what I was looking for. Clearly, the @_variablename method only works for words and not bytes. This had been my problem. Thanks very much. And thanks to everyone else who contributed too... I'm just a sucker for the (...) (21 years ago, 19-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: BrickOS Assembler
 
(...) One more answer... :-) Mark #include <unistd.h> #include <conio.h> int x = 10; int y = 5; int z; int main() { __asm__(" mov @_x,r0 mov @_y,r1 add r1,r0 mov r0,@_z "); lcd_int(z); msleep(5); return 0; } (21 years ago, 19-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: BrickOS Assembler
 
(...) In rethinking I think that compiling with the -S option will do what you want. It should create a file with a .s suffix. -S makes the compiler compile, but not assemble. Kevin "YOU ARE A GENIUS!!!!!! you can put that in your sig file!!!" Chris (...) (21 years ago, 19-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: BrickOS Assembler
 
(...) I recommend compiling with the -gstabs+ option (by modifying the makefile). After your .lx file is generated use "h8300-hms-objdump --disassemble-all --source > my.lst" to get a disassembled file with the C source intermixed.into the file (...) (21 years ago, 19-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: BrickOS Assembler
 
(...) Hi Mike, Check out the source for memcpy.c in the C library. It's not immediately clear, but the directives at the end of the __asm__ section beginning with "r" associate the %n macros with the given variables. I'm not sure of the exact syntax (...) (21 years ago, 18-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: BrickOS Assembler
 
(...) I need to access elements of a 2d array. I don't think this is an option for that. Nevertheless, could you post code that demonstrates this? (...) How do I do that? (...) ??? (...) Hmm... this sounds more like what I'm trying to do. Someone? (...) (21 years ago, 18-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: BrickOS Assembler
 
Hi, Michael. I had some trouble with getting variables into registers, as well. I can think of three ways: 1) Pass the variable to a function - the first function argument seems to be r0. You can easily experiment with this by inspecting the (...) (21 years ago, 18-Jan-04, to lugnet.robotics.rcx.legos)
 
  RE: WORDLIST
 
Ernst! Good to see you're still among us. I'd be happy to post your WORDS and SEE (with appropraite credit) and write up a little tutorial on their usage. You can post them here and also email them to me directly. Cheers, Ralph (...) (21 years ago, 17-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  Re: Brickos fun and games!
 
(...) I actually had this exact problem at the Hobby Show. I was in a hurry and didn't want to think about it (all I was doing was tweaking the light sensor thresh), so I just rebooted every time. Chris: I had lots of trouble too, but the final (...) (21 years ago, 17-Jan-04, to lugnet.robotics.rcx.legos, FTX)
 
  Re: NEWBIE question : installing BrickOS
 
I hate to see questions go unanswered. Steve H replied to me saying it took him 12 hours under these conditions, and now that I have done it I can say it took my P233 laptop a full 24 hours to install brickOS under Paolo's instructions. I'm also sad (...) (21 years ago, 17-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: WORDLIST
 
(...) I wrote WORDS and SEE and some other useful stuff for pbforth 1.21. SEE is a bit rough, it doesn't handle IF, LOOP etc. very graciously but just dumps out bytes. If the dictionary structure hasn't changed in 2.0 they should still work. If (...) (21 years ago, 17-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  BrickOS Assembler
 
Okay, I'm working on a proc in ASM, and I need help with using MOV to move stuff back and forth between memory and registers. I have the following (very simple) program working, but I can't for the life of me get the MOV to work. I've got the (...) (21 years ago, 17-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: WORDLIST
 
(...) Well, not *very* important, perhaps (no need to hurry), but it'd be useful. I haven't done very much FORTH programming since the 80's, and I even then I wasn't exactly a pro FORTHer. Also, I was used to F-PC (and/or TCOM), and my FORTH (...) (21 years ago, 17-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  Re: WORDLIST
 
(...) Ah, I didn't know of that. (...) BTW, I'd like to suggest (to Ralph, not you) that the pbForth scripts included in the release should use .4th or .fth or something a bit more distinctive. They're now .txt, so BricxCC does not recognize them. (...) (21 years ago, 17-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  Re: WORDLIST
 
(...) snip A while ago, I started to work on a few words that I find useful,including WORD and SEE. I still have to finish them, but what would help is to know the structure of the dictionary (starting with the execution address obtained by tick (...) (21 years ago, 17-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  Re: WORDLIST
 
(...) The pbForth documentation which is included with the latest release of BricxCC indicates which of the ANS FORTH words are supported by pbForth. If you open a forth document (one with an extension which BricxCC recognizes as a forth document) (...) (21 years ago, 16-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  RE: WORDLIST
 
Good questions Juanma! If WORDS is very important for you, I can write up a quick tutorial on how to do that. I'm pretty sure all of the CORE or REQUIRED ANS Forth words are supported. I'll need to update my build script to output a list of the (...) (21 years ago, 16-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  WORDLIST
 
Is there any way in pbForth to list the currently defined words, à la WORDS? Also, is there any document that list which ANS FORTH words are supported by pbForth (other than reading the source, I mean)? Thanks. (21 years ago, 16-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  NEWBIE question : installing BrickOS
 
HI, preface, I wouldn't know a cygwin from a GCC if it him me in the head. I just want to D/L a .c prg into my RCX I need advice on the process of installing BrickOS on a p233 laptop running W98se. my question is this: What is a reasonable amount (...) (21 years ago, 16-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: Brickos fun and games!
 
(...) Looks like a nasty one, hopefully someone can offer some specific help. If you'd prefer to use a more recent gcc you can, I posted some info (URL) here>. My problem seemed to be the version of binutils I had. It may be time consuming, but with (...) (21 years ago, 16-Jan-04, to lugnet.robotics.rcx.legos, FTX)
 
  Re: PIC-RCX half-duplex IR receive and transmit
 
(URL) forgot my website with the documentation, sorry! (21 years ago, 16-Jan-04, to lugnet.robotics.rcx)
 
  PIC-RCX half-duplex IR receive and transmit
 
I just finished a PIC16F84A application which receives IR commands from the RCX or RCX remote control, saves them and transmits another command back again. You can put your own command(s) in EEPROM for transmission. The firmware is commented (well, (...) (21 years ago, 16-Jan-04, to lugnet.robotics.rcx)
 
  Re: BricxCC release 3.3.7.6
 
(...) You are welcome! I'm glad you were able to get the pre-built tools installed and working. The brickOS root that BricxCC had configured on your system was a result of having a previous installation of BricxCC where I had used that path as the (...) (21 years ago, 15-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: BricxCC release 3.3.7.6
 
Hi John, Thanks to your pre-built BrickOS tools, I have finally installed it on my Windows 2000 machine (I tried several times in the past... no luck !). The installation was really fast and easy, the only problem I got was that the default BrickOS (...) (21 years ago, 15-Jan-04, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
 
  Re: RotationNavigator accuracy
 
"Michael Wisse" <mwisse@hs-harz.de> wrote in message news:40065F0D.70202@...harz.de... (...) a (...) Check out (URL) the "Peeves" Mindstorms robot. If page is not accessible then just do a search on "peeves mindstorm lego" and you'll probably find (...) (21 years ago, 15-Jan-04, to lugnet.robotics.rcx.java)
 
  Re: RotationNavigator accuracy
 
Hi Robert, thanks for your response. Indeed, the main problem seems to be slippage. The more speed the motors produce, the bigger the slippage is and the less is the resulting angle. Probably a tank is bad for odometric navigation. It is a pitty, (...) (21 years ago, 15-Jan-04, to lugnet.robotics.rcx.java)
 
  RE: Problem with rcxTcl.exe and the USB IR tower
 
(...) I'll check this out on a system that has absolutely no Tcl support, but as you might expect - it works fine here :-) (...) I'm sure John Hansen would appreciate any feedback on BricxCC - even if it'a a problem report. (...) That's the spirit! (...) (21 years ago, 15-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  Re: RotationNavigator accuracy
 
(...) rotation sensor counts tread rotation, but, because of skidding, the tank doesn't turn exactly the same way as treads do (...) rotation point position/drive length depends on tread width, center of weight position, speed and geometry of treads (...) (21 years ago, 14-Jan-04, to lugnet.robotics.rcx.java)
 
  Re: RotationNavigator accuracy
 
(...) I guess it's more hardware related problem turning with tank-style robot is ALWAYS a trouble because tank doesn't have defined centre of rotation. If you imagine the simple robot - two wheels and a castor - there is rotation center well (...) (21 years ago, 14-Jan-04, to lugnet.robotics.rcx.java, FTX)
 
  Re: The BrickOS Task Manager
 
(...) C++ is more particular with types than regular ol' C. However, I think BrickOS's definition of NULL in mem.h is incorrect (as this was causing one of the problems in the execi call). IMO, it should be defined like so: #ifdef __cplusplus (...) (21 years ago, 13-Jan-04, to lugnet.robotics.rcx.legos)
 
  RotationNavigator accuracy
 
Hi, I just try the rotation navigator class and have some problems with turning accuracy. My robot is a tank with treads and moving without turning works well, travel() moves the correct distance. Turning with rotate() or gotoAngle() is problematic. (...) (21 years ago, 13-Jan-04, to lugnet.robotics.rcx.java)
 
  Re: The BrickOS Task Manager
 
(...) When saved as multi.c, but not when saved as multi.cpp (...) Start multiple tasks within a program that uses objects. I could rewrite a number of parts to use structs instead, but I just wanted to check that there wasn't some easy solution. (...) (21 years ago, 13-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: The BrickOS Task Manager
 
(...) Were you able to compile it as is? What are you trying to do? What errors are you getting? I tested that with version xx.09, not the latest one. Steve (21 years ago, 13-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: NQC's future
 
"Brian Davis" <brdavis@iusb.edu> wrote in message news:HrB87H.17p1@lugnet.com... (...) future one) for NQC (...) I think your question probably meant "can I use FastTimer in defining events because I want better resolution than is possible with (...) (21 years ago, 12-Jan-04, to lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
 
  Re: The BrickOS Task Manager
 
(...) Thank you again for the help, but unfortunately it only compiles when saved as a '.c' file. Some of my code depends pretty heavily on classes... is there any easy change to make this work as object oriented code? *just spent two hours trying (...) (21 years ago, 12-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: BricxCC release 3.3.7.6
 
(...) I will make this change. Thanks for the report! John Hansen (21 years ago, 12-Jan-04, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
 
  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)
 
  ...2 years later... :-) (was: newbie again part 2)
 
Hello All, In lugnet.robotics.rcx.nqc, Dave Baum wrote (almost two years ago, Thu, 17 Jan 2002 00:34:56 GMT -- your words are cherished, Dave! :-): (...) [...] (...) Well, I am not (yet) a Java programmer, but try to become one, and would like to (...) (21 years ago, 8-Jan-04, to lugnet.robotics.rcx.nqc)
 
  Re: Implementation of Installable Timers
 
Iain McInnes wrote: [snip] (...) Great idea! (...) In your implementation, would it be possible for the client task to be killed (in the case of a run-away task)... causing the struct to be deallocated... while the struct is still in the linked (...) (21 years ago, 8-Jan-04, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  Points to: 'Implementation of Installable Timers'
 
Hi, ppl. I posted this one in the wrong place :0 (URL) Enjoy ! Iain. (21 years ago, 8-Jan-04, to lugnet.robotics.rcx.legos)
 
  Points to 'Design by Contract'
 
Hi, Folks, I posted some stuff on an assert() macro - in the wrong place - (D'oH). The thread is here: (URL) Enjoy ! Iain. (21 years ago, 8-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: Design by Contract (long post)
 
(...) I agree it seems to be the wrong way round. That's the standard implementation. NDEBUG seems to stand for "No debug". One advantage of making it negative, is that you get the assert()s if you don't do anything (ie dont define NDEBUG). BTW, (...) (21 years ago, 8-Jan-04, to lugnet.robotics.rcx, FTX)
 
  Re: Design by Contract (long post)
 
(...) D'oH! Thanks, Tim. I was very careful composing the original post, but added the example in as an after thought - Well spotted. Iain. (21 years ago, 8-Jan-04, to lugnet.robotics.rcx, FTX)
 
  RE: NQC's future
 
(...) Ha Ha, very funny :-) Seriously, Philippe, why not give pbForth a try? I know that NQC works great on both the Spybots and the RCX, and even Cybermaster. But if you're looking for speed, higher precision, lots of variables and generally more (...) (21 years ago, 8-Jan-04, to lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics, lugnet.robotics.rcx.pbforth)
 
  Re: NQC's future
 
(...) Something I'd like to see implemented in NQC is a mixed-mode multiply/divide, similar to the */ operator in Forth, with an intermediary 32bits product. That would greatly ease precision calculations without requiring major structural (...) (21 years ago, 8-Jan-04, to lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
 
  Re: Design by Contract (long post)
 
(...) <delurk> The first definition of assert is the correct, standard definition. However there is a slight boo boo in the original post in the line: assert (myptr = malloc (sizeof (mystruct)); Which will delete the malloc when NDEBUG is defined. (...) (21 years ago, 8-Jan-04, to lugnet.robotics.rcx, FTX)
 
  USB Tower range
 
Hi, I recently bought the RCX2.0 and I am a little disappointed at the range for the USB tower. Though configured to be at long range I doubt I can implement a range greater then 5 or 6 feet. Is this normal.? Am I missing something.? Paul Reedman (21 years ago, 7-Jan-04, to lugnet.robotics.rcx)
 
  Re: Design by Contract (long post)
 
(...) Hi Iain! (...) Cool! (...) I have a question about this: If NDEBUG is defined, shouldn't it still execute x? That is, shouldn't the code in assert.h (or wherever) be: #ifdef NDEBUG #define assert(x) (x) #else #define assert(x) if (x) else (...) (21 years ago, 8-Jan-04, to lugnet.robotics.rcx, FTX)
 
  Design by Contract (long post)
 
Hi, people. The reason for the flood of posts is that I've been trying to get authenticated on LUGNET for the last week :( But as you can see, I'm authenticated now :) On to the topic of this post (sorry for such a long post): I have created an (...) (21 years ago, 8-Jan-04, to lugnet.robotics.rcx, FTX)
 
  How man Space?
 
Hy How many free space has the RCX? I mean, how great can a NQC-Scipt be? I've read in the help-File, that a script mustn't be greater than 16Kb. Is that true? (21 years ago, 8-Jan-04, to lugnet.robotics.rcx)
 
  Max. Space of RCX?
 
Hy@all I've wrote a Programm for Roboter who has to play "Ship sink". The problem is, that the programm doesn't work and i can't find the failure. It's very long, so i shouldn't post it here. I ask if i can send the skript to somebody who has time (...) (21 years ago, 8-Jan-04, to lugnet.robotics.rcx)
 
  Implementation of Installable Timers
 
Hello everybody. I have an implementation of installable timer handlers, and I’d like to solicit some feedback. This is definitely a facility that I’d like to see in BrickOS. The implementation doesn’t have to be my one. But I thought that I’d just (...) (21 years ago, 8-Jan-04, to lugnet.robotics.rcx)
 
  Hello World !
 
Hello everybody. I’ve been fooling around with BrickOS in the last few weeks, becoming familiar with it. BrickOS is very cool. Thank you, those who have made it what it is, and thank you, those who help out those with the common problems (yes, I had (...) (21 years ago, 8-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: motor repair
 
(...) Hi Stef, I have added a link to your page in my 43362 motor disassembly stuff (URL) also wanted to thank you for your great Mindstorms sensor pages, especially this one: (URL) do you know a web translation tool that can do Duth to English or (...) (21 years ago, 7-Jan-04, to lugnet.robotics.rcx, lugnet.technic, lugnet.robotics)
 
  Re: Happy new year!!!
 
(...) Thanks Dave, it works now ! Stef Mientki (21 years ago, 6-Jan-04, to lugnet.robotics.rcx.nqc)
 
  Re: Does RIS2.0 set use the fiber optics cable?
 
(...) The USB tower can be connected to the Scout and MicroScout bricks with the FO light tube contained in the RIS2.0 set. Have a look at WinVLL: (URL) (21 years ago, 6-Jan-04, to lugnet.robotics.rcx, lugnet.robotics.vll)
 
  Re: Does RIS2.0 set use the fiber optics cable?
 
(...) I think it is supposed to connect the USB tower to something, notice the hole in front of the LED that is used in VLL mode. That something might be a CodePilot, MicroScout or Spybotics brick, but I never tried it. Jürgen (21 years ago, 6-Jan-04, to lugnet.robotics.rcx)
 
  Re: Events in robolab
 
(...) As part of some of our robotics outreach work, we have produced various materials that may be of use. Some of the stuff we have got round to putting on the web can be found at: (URL) particular in the resources section towards the end of the (...) (21 years ago, 6-Jan-04, to lugnet.robotics.rcx.robolab, FTX)
 
  Re: Does RIS2.0 set use the fiber optics cable?
 
(...) Thanks for that info! Unfortunately they seem pretty hard to find on bricklink... (...) It could be used in the same way it is in the spybotics set... (though the spybotics set has a 12L one). Maybe spybotics uses it to send light through (for (...) (21 years ago, 6-Jan-04, to lugnet.robotics.rcx)
 
  Re: The BrickOS Task Manager
 
IIRC the issue was that Task, Process and Thread were all used to represent the same item/concept in the Kernel code. After some discussion, it was decided that the word Task would be used in all cases. This improves readability, etc... (ie. Task (...) (21 years ago, 6-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: Sensor Power
 
(...) Take a look at the functions ds_power_on() & ds_power_off() as defined in the dsensor.c kernel file. When you've set the sensor to passive mode, you should be able to manipulate the sensor power bits using these functions[1] or just use the (...) (21 years ago, 6-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: Motor Display
 
(...) This problem has been fixed in the most recent CVS source file (dmotor.c), but as far as I can tell it hasn't been part of an offical release yet: (URL) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: RCX low battery indicator problem
 
(...) I've tried the RCX2 firmware (firm0328.lgo). Same results: after downloading the firmware the RCX beeps (low battery signal) and is locked. In BrickOS when I read the battery sensor and write it's value on the display it says 620 (mV, Ithink) (...) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx)
 
  Re: The BrickOS Task Manager
 
tid_t -> thread ID pid_t -> process ID ? "nanobapt" <nanobapt@wanadoo.fr> wrote in message news:3FF95FD4.608020...adoo.fr... (...) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)
 
  Re: New Robolab user saying hello!
 
In lugnet.robotics.rcx.robolab, Paul Britton wrote: <snip> I am an electronics test development engineer for satellite payloads and (...) <snip> Paul, you must have seen my 'Satellite Tracker'. If not, go to (URL) and navigate to that project. (...) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.robolab)
 
  Sensor Power
 
ok, I have a real question. I'm interested in sending messages between RCXs using only the sensor ports. I've tested and found by switching between active and passive, signals can be sent, however, when the port is set to active, it is not powered (...) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)
 
  Motor Display
 
For some silly reason, I was browsing through the BrickOS code and I noticed this: void motor_a_dir(MotorDirection dir) { dm_a.dir = dm_a_pattern[dir]; dlcd_hide(LCD_A_LEFT); dlcd_hide(LCD_A_RIGHT); if (dir == fwd || dir == brake) (...) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more | 100 more

Redisplay Messages:  All | Compact

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