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 / *2210 (-20)
  VB 6 subprocedure stumper
 
I sure could use some help. I'm trying to recreate the BugBot program from the book "Definitive Guide to Lego Mindstorms" in VB 6. It's a simple program with a tank-like robot that has two "feelers" - one if the robot hits something on the right; (...) (25 years ago, 27-Mar-00, to lugnet.robotics.rcx)
 
  Re: Battery life question
 
(...) I measured the RCX consumes about 33mA in ROM or Lego Firmware, around 26.5mA under LegOS (due to the sleep instruction in the idle task), and it will use 0.034mA when turned off. No matter how long you sleep in your task, the RCX will consume (...) (25 years ago, 26-Mar-00, to lugnet.robotics.rcx.legos)  
 
  Battery life question
 
I searched through the archives and couldn't find anything that specifically addressed this question, so I figured I might as well ask. What would the expected battery life of the RCX be while simply sitting in a loop calling sleep with large (...) (25 years ago, 26-Mar-00, to lugnet.robotics.rcx.legos)  
 
  Re: memcpy patch for gcc 2.95.2 wanted
 
(...) I don't know if Markus would approve, but it might be worthwhile to do this and put it in to CVS so that 0.2.4(?) would be compilable with 2.95.x. Does anyone have the time/skill to do this? Markus? Your two cents? -Luis ###...### Profanity is (...) (25 years ago, 26-Mar-00, to lugnet.robotics.rcx.legos)
 
  Re: memcpy patch for gcc 2.95.2 wanted
 
(...) IMHO it is better anyway to use pure assembly files when generating code like memcpy (which is completely in assembly here). Call them memcpy.S, and you won't have the problem of accidentially removing them. With this you can use 'c' style (...) (25 years ago, 26-Mar-00, to lugnet.robotics.rcx.legos)  
 
  Object recognition
 
Hi Does somebody have an experience with simple object recognition ( for example distinguishing between large obstacles and small objects using proximity detector )? I am currently experimenting with proximity detector based on 3 parallel light (...) (25 years ago, 26-Mar-00, to lugnet.robotics.rcx)
 
  Re: memcpy patch for gcc 2.95.2 wanted
 
(...) Because there were some decisions made as to what "incorrect" macros were and weren't by the egcs/gcc teams. For some time, this made compiling the Linux kernel with the newest egcs a serious problem. (...) Cool. -Luis (...) ###...### (...) (25 years ago, 26-Mar-00, to lugnet.robotics.rcx.legos)
 
  Re: memcpy patch for gcc 2.95.2 wanted
 
Les Smithson <lsmithso@hare.demon.co.uk> wrote in message news:Fs0v5B.J44@lugnet.com... (...) You saved me the trouble of posting the exact same fix. Thanks. I'm concerned there might be other problems caused by this bug. Fixing this routine treats (...) (25 years ago, 26-Mar-00, to lugnet.robotics.rcx.legos)
 
  Re: memcpy patch for gcc 2.95.2 wanted
 
(...) I think the compiler was generating incorrect code. I'm no gcc expert, but the asm macros looked OK to me, and besides, why should the macro work in one compiler version & not the other? FYI, I fixed it by compiling the source to an assembler (...) (25 years ago, 26-Mar-00, to lugnet.robotics.rcx.legos)
 
  Re: NQC 2.1 r2 released
 
(...) (25 years ago, 26-Mar-00, to lugnet.robotics.rcx.nqc)
 
  Re: memcpy patch for gcc 2.95.2 wanted
 
(...) Sorry... I was going to recommend the same thing last night, but got sidetracked (it has been a tough two days to be a Duke basketball fan.) I have a question: from where in the code is the incorrect assembly generated? i.e., could it be (...) (25 years ago, 26-Mar-00, to lugnet.robotics.rcx.legos)
 
  Re: memcpy patch for gcc 2.95.2 wanted
 
(...) That was probably me. I don't know anything about GCC asm macros so I wasn't sure if it was a bug in memcpy or a bug in GCC's code generation. I solved the problem by going to egcs-1.1.2 which generates correct code. I was hoping that someone (...) (25 years ago, 26-Mar-00, to lugnet.robotics.rcx.legos)
 
  NQC 2.1 r2 released
 
A few very minor bug fixes, no new features...probably not worth the download unless you're having problems. (URL) Baum (25 years ago, 25-Mar-00, to lugnet.robotics.rcx.nqc) ! 
 
  TinyVM 0.1.2 Released
 
A new version of TinyVM (a JVM for the RCX) is now available from: (URL) usual location is (URL) we were experiencing technical difficulties; it should be up by the time you read this). 0.1.2 has several improvements over 0.1.1, including some (...) (25 years ago, 25-Mar-00, to lugnet.robotics.rcx, lugnet.robotics.rcx.java)  
 
  Re: Priority problem...
 
Okay. sorry for cluttering the group with this drival... my main task was intefering with task priorities due to a while loop doing nothing at the end... after removing it and letting the main task end.. the task for sensor worked fine with lower (...) (25 years ago, 25-Mar-00, to lugnet.robotics.rcx.legos)
 
  Re: memcpy patch for gcc 2.95.2 wanted
 
(...) Could you describe the bug to us more clearly, i.e. what was the produced code, and what did you modify, so others won't run into the same trouble again, please? Thanks, Eddie C. Dost ecd@skynet.be (25 years ago, 25-Mar-00, to lugnet.robotics.rcx.legos)
 
  Re: memcpy patch for gcc 2.95.2 wanted
 
I've been able to fix my code by hand modifying the assembler code that is produced and using that instead of the .c code. I'm concerned, however, that the bug in GCC might manifest itself in other ways. Is there a patch for GCC available somewhere? (...) (25 years ago, 25-Mar-00, to lugnet.robotics.rcx.legos)
 
  Priority problem...
 
With a simple program... I have a task watching a touch sensor. If the task is given PRIO_NORMAL I am able to read the sensor in the task... If the task is given PRIO_NORMAL-1, I can't. I have checked the execi return values in both cases and in (...) (25 years ago, 24-Mar-00, to lugnet.robotics.rcx.legos)
 
  memcpy patch for gcc 2.95.2 wanted
 
In an attempt to track down my RCX lockup problems I've been rereading the older messages and came across the discussion that sounded exactly like my problem: the RCX locks up when dll is executed. The conclusion was that bad code was generated for (...) (25 years ago, 24-Mar-00, to lugnet.robotics.rcx.legos)
 
  My first NQC
 
I just have to share - I know it's very basic, but it's my first program with NQC! and it's even cooler, since I can now use my 486 to program the RCX, and don't need to steal computer time from my wife's Windows :P I just wrote a little prog to run (...) (25 years ago, 24-Mar-00, 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