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 / *9974 (-5)
Subject: 
Re: Process Control with RCX
Newsgroups: 
lugnet.robotics.rcx
Date: 
Mon, 20 Feb 2017 16:15:09 GMT
Viewed: 
24710 times
  
Here is the twenty foot long process on the main RCX for the printer.
https://www.dropbox.com/s/ejpgar7sg9cw02c/BlockMainRCX.jpg?dl=0
I wanted to use sub routines and loop the process so the program could look
elegant but never got it to work. Here each color has it's own put and return.


Subject: 
Process Control with RCX
Newsgroups: 
lugnet.robotics.rcx
Date: 
Mon, 9 Jan 2017 04:25:54 GMT
Viewed: 
25476 times
  
I am back on the Lego wagon, making another painting machine. Looking forward to
creating the best practices program with your advising.


Subject: 
Re: Faster Firmware/Motor Control
Newsgroups: 
lugnet.robotics.rcx
Date: 
Thu, 19 Jul 2012 01:58:15 GMT
Viewed: 
25524 times
  
In lugnet.robotics.rcx, Iain Hendry wrote:

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 there doesn't appear to be a way to use
them in the program...

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 compiles no problem.  MotorSetPower128 doesn't seem to
work, though...

At any rate, WaitMS() is great!  Super-precision motor control, here I come!

http://www.youtube.com/watch?v=kZlBlbe2cu0

-Iain


Subject: 
Re: Faster Firmware/Motor Control
Newsgroups: 
lugnet.robotics.rcx
Date: 
Wed, 18 Jul 2012 10:37:47 GMT
Viewed: 
25509 times
  
In lugnet.robotics.rcx, Jetro de Chateau wrote:

I found this site:  http://www.elenafrancesco.org/old/lego/index.html

Thanks for the link!

(snip)

The documentation on this page
http://www.elenafrancesco.org/old/lego/Firmware%20Features.html mentions the
following:

"new wait1Msec opcode to perform program waits using one millisecond resolution"

Maybe that is what you are looking for.

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 there doesn't appear to be a way to use
them in the program...

-Iain


Subject: 
Re: Faster Firmware/Motor Control
Newsgroups: 
lugnet.robotics.rcx
Date: 
Wed, 18 Jul 2012 08:10:48 GMT
Viewed: 
25422 times
  
In lugnet.robotics.rcx, Iain Hendry wrote:

I found this site:  http://www.elenafrancesco.org/old/lego/index.html


Thanks for the link!

After downloading the 100x firmware, I can tell that it is a different firmware
(different clock, tone on button press is different, etc.) - however, it seems
like I just can't unlock this 1/1000 sec. timer issue.  Wait(1); still results
in a 1/100 second delay.

I found some reference to a "WaitMS" command in the NQC programming guide,
however, if I enter "WaitMS(1);" I get a "Error:  Undefined function 'WaitMS'"
whenever I try to compile.  BrixCC recognizes the WaitMS command (it turns blue
when I type it), so it must be valid...

I'm not a programmer.  I just want a 1/1000 wait :)

-Iain

The documentation on this page
http://www.elenafrancesco.org/old/lego/Firmware%20Features.html mentions the
following:

"new wait1Msec opcode to perform program waits using one millisecond resolution"

Maybe that is what you are looking for.



Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  Brief | Compact

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