| | 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: 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: 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
|
|
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)
|
|
| | 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: 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 Id like to solicit some feedback. This is definitely a facility that Id like to see in BrickOS. The implementation doesnt have to be my one. But I thought that Id just (...) (21 years ago, 8-Jan-04, to lugnet.robotics.rcx)
|
|
| | 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: 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: 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: 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: Does RIS2.0 set use the fiber optics cable?
|
|
"Luke W" <lwenke@dont_spam_me...tmail.com> wrote in message news:Hr03BI.1Bsz@lugnet.com... (...) Look right. I can't find any use for it in the instructions either. (...) of (...) In my RIS 2.0 set it is actually 25L (25 studs) long. What is the (...) (21 years ago, 5-Jan-04, to lugnet.robotics.rcx)
|
|
| | Re: Does RIS2.0 set use the fiber optics cable?
|
|
(...) USB tower is in the in the mindstorms ! And other functionnalities can be found ! Light transmission is something usefull in some way (...) Ask to LEGO :) nanobapt (21 years ago, 5-Jan-04, to lugnet.robotics.rcx)
|