To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.javaOpen lugnet.robotics.rcx.java in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / Java / 120
    8 power levels, and only 8? —Martin Egholm Nielsen
   Hi there, Inspired by the answer by Juergen Stuber in the lejos/legos thread, I suddenly began to think about the fact that "we" only have eight power levels to choose among. Why is that? And can it be changed? When programming my bot for the W3D, I (...) (23 years ago, 19-Sep-01, to lugnet.robotics.rcx.java)
   
        Re: 8 power levels, and only 8? —Juergen Stuber
   (...) This is what the ROM routines support. (...) Yes, but then we'd need our own motor control routines in the lejos VM, and that would cost some precious memory. (...) Yes, the standard LEGO routines make it very hard to control speed. Basically (...) (23 years ago, 19-Sep-01, to lugnet.robotics.rcx.java)
   
        Re: 8 power levels, and only 8? —Martin Egholm Nielsen
   Hi, (...) Bummer! I was afraid I might get that answer... :o) (...) Sure, but maybe it would be worth it, since I imagine that many/some of us will make some silly, but basic routine that cycles between float/stop and some motor power, anyway... (...) (23 years ago, 19-Sep-01, to lugnet.robotics.rcx.java)
   
        Re: 8 power levels, and only 8? —Juergen Stuber
   (...) Ok, here are some results of my investigation: - There is no general 8ms cycle - When you change motor settings they become effective on the next timer interrupt (occurs every ms), and the rotating pattern for a reduced powerlevel starts anew, (...) (23 years ago, 22-Sep-01, to lugnet.robotics.rcx.java)
   
        Re: 8 power levels, and only 8? —Paul Andrews
   Here is an interesting paper on using NQC to control motor speed. A similar technique could be used in leJOS: (URL) paper has lots of interesing ideas in it besides motor speed control. My favourite being the proximity sensor which I have remodelled (...) (23 years ago, 24-Sep-01, to lugnet.robotics.rcx.java)
   
        Proximity sensor ( Was: Re: 8 power levels, and only 8?) —Martin Egholm Nielsen
   Hi Paul, (...) Hmmm... can you please post your code for that? I tried it this weekend (I found it here: (URL) but I couldn't quite get it to work. Did you activate the sensor? Regards, Martin (23 years ago, 24-Sep-01, to lugnet.robotics.rcx.java)
   
        Re: Proximity sensor ( Was: Re: 8 power levels, and only 8?) —Paul Andrews
   (...) (23 years ago, 29-Sep-01, to lugnet.robotics.rcx.java)
   
        Re: Proximity sensor ( Was: Re: 8 power levels, and only 8?) —Martin Egholm Nielsen
   (...) Thats right Paul, but what are you saying? :o) Regards, Martin (...) (23 years ago, 29-Sep-01, to lugnet.robotics.rcx.java)
   
        Re: Proximity sensor ( Was: Re: 8 power levels, and only 8?) —Paul Andrews
   Well. Sixth time lucky maybe. I was trying to say this (it is part of leJOS 1.0.3.beta2): package josx.platform.rcx; /** * A 'sensor' to detect object proximity. Sends a short * message out of the infra-red port every so often and looks for * the (...) (23 years ago, 29-Sep-01, to lugnet.robotics.rcx.java)
   
        Re: Proximity sensor ( Was: Re: 8 power levels, and only 8?) —Martin Egholm Nielsen
   Hi, It works!!! Yahhooo!! And I was considering bying the InfraRed sensor from "techno-stuff", tsk tsk :o) This will absolutely cover my needs for now! (...) Well, us Linux users need to settle with this one for now then! Consider replacing all the (...) (23 years ago, 30-Sep-01, to lugnet.robotics.rcx.java)
   
        Re: Proximity sensor ( Was: Re: 8 power levels, and only 8?) —Paul Andrews
   (...) leJOS (...) Juergen Stuber is working on a Linux release. He wants to get USB support working before he releases it. (...) Hmm. OK. (...) I tried them but it looks as though there are problems with the Math methods. In particular Math.log(<I (...) (23 years ago, 1-Oct-01, to lugnet.robotics.rcx.java)
   
        Math.log probs. (Was: Proximity sensor) —Martin Egholm Nielsen
   Hi, (...) Well, what do you know; maybe I will! :o) I might have some spare time available for just that! Regards, Martin (23 years ago, 1-Oct-01, to lugnet.robotics.rcx.java)
 

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