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 / 2968
    Faster Firmware/Motor Control —Iain Hendry
   Hi all, One of the common ways I like to control the speed of a gearmotor (in NQC) is by introducing a loop, for example, like this: while(true) { OnFwd(motor); Wait(a); Off(motor); Wait(b); } I often do this as a motor approaches a setpoint (say an (...) (12 years ago, 17-Jul-12, to lugnet.robotics.rcx)
   
        Re: Faster Firmware/Motor Control —David Koudys
   (...) I have it and use it exclusively. i'll mail you a copy when i get your e-mail sddess Take care, Dave K (...) (12 years ago, 17-Jul-12, to lugnet.robotics.rcx)
   
        Re: Faster Firmware/Motor Control —Iain Hendry
   (...) Hi Dave, Thanks - I tried to send you a note, but your email bounced... I found this site: (URL) downloading the 100x firmware, I can tell that it is a different firmware (different clock, tone on button press is different, etc.) - however, it (...) (12 years ago, 18-Jul-12, to lugnet.robotics.rcx)
   
        Re: Faster Firmware/Motor Control —Jetro de Chateau
   (...) Thanks for the link! (...) The documentation on this page (URL) mentions the following: "new wait1Msec opcode to perform program waits using one millisecond resolution" Maybe that is what you are looking for. (12 years ago, 18-Jul-12, to lugnet.robotics.rcx)
   
        Re: Faster Firmware/Motor Control —Iain Hendry
   (...) (snip) (...) BrixCC doesn't recognize "wait1Msec", and when I try to download a program with it, it just gives me an error. That's kind of what I was getting at with the motor power stuff; I can tell the RCX can handle more motor powers, but (...) (12 years ago, 18-Jul-12, to lugnet.robotics.rcx)
   
        Re: Faster Firmware/Motor Control —Iain Hendry
   (...) D'oh... I'm posting this because I'm sure I'm not the only one who missed this: I didn't realize there's a drop-down when BricxCC starts up, to select "Swan" instead of "RCX" when making the first handshake with the brick. After doing that, it (...) (12 years ago, 19-Jul-12, to lugnet.robotics.rcx)
 

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