To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.robolabOpen lugnet.robotics.rcx.robolab in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / ROBOLAB / 237
    Robolab, byte codes and assembler —Don Stauffer
   Having investigated rotations sensors thoroughly, I conclude they have some serious design flaws. Most notably, some samples taken during voltage transitions can be impossible to differentiate from samples at entirely different rotational positions. (...) (21 years ago, 26-Nov-03, to lugnet.robotics.rcx.robolab)
   
        Re: Robolab, byte codes and assembler —Jordan Bradford
     (...) Don't run it too quickly or too slowly. (URL) Um, that's all I know, besides using BrickOS which has code to make it more accurate. You mentioned that already. Actually, now that I think about it, BrickOS might be able to run assembly language (...) (21 years ago, 26-Nov-03, to lugnet.robotics.rcx.robolab, FTX)
    
         Re: Robolab, byte codes and assembler —Don Stauffer
     (...) Two problems: 1. From what I've read about the problem, the speed I ran it at was right in the "sweet spot". 2. BrickOS would not qualify for the competition. I wonder if (hope?) the recent unavailability of rotation sensors at Pitsco is (...) (21 years ago, 26-Nov-03, to lugnet.robotics.rcx.robolab, FTX)
   
        Re: Robolab, byte codes and assembler —Mitchell Lichtenberg
     (...) Robolab can access LASM code (Lego Assembler) which may allow you to write instructions that fit your needs. The LASM documentation is part of the Mindstorms 2.0 SDK available from (URL) not an assembler programmer so I have no idea if this (...) (21 years ago, 27-Nov-03, to lugnet.robotics.rcx.robolab)
    
         Re: Robolab, byte codes and assembler —Don Stauffer
     (...) I've used some of the LabView features, though it seems like they work best when used on constants, rather than variables or containers. My impression, though, is that the non-Robolab-specific LabView features aren't what I'm looking for (...) (21 years ago, 27-Nov-03, to lugnet.robotics.rcx.robolab)
   
        Re: Robolab, byte codes and assembler —Philippe Hurbain
     Hello Don, Did you had a look to my analysis of this problem ((URL) But unfortunately I don't think that my modification is "competition-legal"... I agree that sampling can occur at the wrong time, but this should not occur more often at low (...) (21 years ago, 27-Nov-03, to lugnet.robotics.rcx.robolab)
    
         Re: Robolab, byte codes and assembler —Don Stauffer
     (...) Yes, I did read your information. It was very helpful - the best stuff I found on the subject. But as you said, modifying the sensor would probably disqualify. But, that does make me think again about the recent unavailability of the part . . (...) (21 years ago, 27-Nov-03, to lugnet.robotics.rcx.robolab)
    
         Re: Robolab, byte codes and assembler —Philippe Hurbain
     (...) I tend to think that positionning errors are more a problem of slip/skid than a problem of lost counts... Philo (21 years ago, 27-Nov-03, to lugnet.robotics.rcx.robolab)
    
         Re: Robolab, byte codes and assembler —Don Stauffer
     (...) That may be another problem to be solved; haven't got there yet because simply counting rotations has been unreliable. I mean with a motor shaft connected to a rotation sensor - no wheels, no robot! Can't even count rotations correctly. (21 years ago, 27-Nov-03, to lugnet.robotics.rcx.robolab)
    
         Re: Robolab, byte codes and assembler —Claude Baumann
     ---...--->snip (...) Welcome to LEGO Mindstorms robotics: do great things in real world with imperfect tools and objects. That's what makes it so interesting. It's always the Apollo 13 challenge: "Here guys, that's what they have on bord! Come on (...) (21 years ago, 27-Nov-03, to lugnet.robotics.rcx.robolab)
    
         Re: Robolab, byte codes and assembler —Mark Riley
      (...) By contrast, BrickOS continuously samples each sensor at a rate of about 6.7 samples per millisecond. This is 20 times more often than the standard firmware. It's no wonder it's more accurate at higher rotation rates. Of course, it also (...) (21 years ago, 27-Nov-03, to lugnet.robotics.rcx.robolab)
     
          Re: Robolab, byte codes and assembler —Claude Baumann
      (...) We should not forget that the RCX has initially been designed for kids. So the standard firmware should be considered according to the initial aims, which were to provide a really great tool - toy for children. Therefore the firmware designers (...) (21 years ago, 27-Nov-03, to lugnet.robotics.rcx.robolab)
     
          Re: Robolab, byte codes and assembler —Mark Riley
      (...) Please don't take my post as a criticism of the original firmware, I merely wanted to point out alternatives. I agree, the 3ms sample rate is more than adequate for most applications. (...) Yes, the RCX is rugged in many respects, but I think (...) (21 years ago, 27-Nov-03, to lugnet.robotics.rcx.robolab)
     
          Re: Robolab, byte codes and assembler —Claude Baumann
       OK You do something great, and all the world is looking at it, finding the finest detail one could have made much better. That's the power of internet-exchange. Don't take this personally. I only wanted to remind the great job they did at LEGO's (...) (21 years ago, 27-Nov-03, to lugnet.robotics.rcx.robolab)
      
           Re: Robolab, byte codes and assembler —Don Stauffer
       (...) It really is. I do think somebody made a mistake specific to the rotation sensor, though. I haven't decided yet whether it's the firmware, the sensor, or just the overall mechanism. I can understand how it got past quality control - sometimes (...) (21 years ago, 27-Nov-03, to lugnet.robotics.rcx.robolab)
     
          Re: Robolab, byte codes and assembler —Don Stauffer
      (...) <snip> (...) I'm quite interested in the alternative firmware for myself. However, for this particular problem, if a correct rotation count is my "Apollo 13's needed filter", then Robolab is the "cover of the flight manual" - it's what I have (...) (21 years ago, 28-Nov-03, to lugnet.robotics.rcx.robolab)
     
          Re: Robolab, byte codes and assembler —Claude Baumann
      ---...--->snip (...) I guess the competition asks you to run a certain distance as precisely as possible, or/and do some precise turns. We often experienced this kind of challenges in our school. The best way seemed to be to collect statistical (...) (21 years ago, 28-Nov-03, to lugnet.robotics.rcx.robolab)
     
          Re: Robolab, byte codes and assembler —Don Stauffer
      In lugnet.robotics.rcx.robolab, Claude Baumann wrote: <snip> (...) The main need is to return to the starting point after completing various challenges. I think the challenges also involve objects at known positions compared to the starting point (...) (21 years ago, 28-Nov-03, to lugnet.robotics.rcx.robolab)
     
          Re: Robolab, byte codes and assembler —Chris Phillips
      (...) All this talk of patching firmware to correct for problems in rotation sensor readings is very interesting, but I think you may be approaching the problem a bit too directly. First, if the competition rules specify the programming environments (...) (21 years ago, 28-Nov-03, to lugnet.robotics.rcx.robolab)
     
          Re: Robolab, byte codes and assembler —Don Stauffer
      (...) My arguments would be: 1. The firmware/sensor arrangement is _broken_. Fixing it should be legal. 2. The FIRST rules permit using different firmware implicitly, because they permit using RIS or Robolab, which requires different firmware. 3. (...) (21 years ago, 29-Nov-03, to lugnet.robotics.rcx.robolab)
     
          Re: Robolab, byte codes and assembler —Chris Phillips
      (...) Should be legal, perhaps. But I was just suggesting that before sending him off to try to patch the firmware, he might want to make sure it was legal to do so. Although RIS and RoboLab may not use the same identical firmware, that doesn't (...) (21 years ago, 29-Nov-03, to lugnet.robotics.rcx.robolab)
    
         Re: Robolab, byte codes and assembler —Don Stauffer
     (...) Unfortunately, I fear the comparison is all too true! So, is my robot going to blow up? ;) (...) I'd appreciate some specifics. So far, I have not been able to find a way to do this in Robolab. I wrote some code to test raw sensor values and (...) (21 years ago, 27-Nov-03, to lugnet.robotics.rcx.robolab)
   
        Re: Robolab, byte codes and assembler —Dick Swan
   "Don Stauffer" <BrainChild@Skyler.com> wrote in message news:Hoz4Gp.1zto@lugnet.com... (...) <<SNIP>> (...) The rotation sensor bad counts cannot be fixed at the byte-code level. The problem is "native" to implementation in the underlying firmware (...) (21 years ago, 27-Nov-03, to lugnet.robotics.rcx.robolab)
   
        Re: Robolab, byte codes and assembler —Don Stauffer
   Thanks for the response. (...) It seems to me it's a design flaw in the entire method of counting rotations, which relies on the theoretical ideal of "instantaneous" voltage changes, which can't be produced. You can't go from 2V to 5V without (...) (21 years ago, 27-Nov-03, to lugnet.robotics.rcx.robolab)
 

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