Subject:
|
Re: Just some really basic questions...
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Mon, 29 Jan 2001 07:19:53 GMT
|
Viewed:
|
2119 times
|
| |
| |
Krusty wrote:
> Okay, I'm really new to the whole NQC thing and have visited Amazon and
> ordered a couple books, but I've got some rather high level, I guess for
> lack of a better term, questions...
>
> I can store up to three program in my RCX.
5. You get five slots.
> Correct? What's the best way to
> maximize modularity in programming to get the most use out of the 3 spaces?
> Can you say, tell the program in slot 1 to run the program in slot 3 and
> when done, return back to 1?
Yes, with Version 2 of the firmware.
> Can you also write functions in Programs using
> NQC that can further this ability? Say for instance you wanted to make
> program 3 something like, 'responses' where if something was encountered in
> program 1 (slot 1) it could pass that off to another program (in say, slot
> 3) just for responding to stuff? Passing variables to the other program and
> the like? I hope I'm using the right nomenclature here, I'm calling 'slots'
> the 3 places I store programs on the RCX, correct? There are, iirc, 3 of
> them...
From what I understand you get 6k of program space, you can use it all in a
program or spread it around 2 to 5. Your choice.
>
> I'm merely asking because I'm way unfamiliar with this and I'm *just*
> starting to get into it. I'm gonna go grab all the requisite documentation,
> but I just wondered a couple things before I get started...
>
> Can one RCX activate a program (and specify it as well?) on ANOTHER RCX
> brick sitting near enough to use the IR link? How fast is the connection
> between them? Can you, for instance create a pack on your shoulder that
> connected to an exoskeleton connected to your own arm and transfer movement
> to a similar arm on a table nearby and do it almost real-time?
Sort of. Computer to RCX control is quite fast for direct control. RCX to RCX
is a little more complicated. Codes (1 to 255) are easy but more then that is
harder.
Dean
--
Coin-Op's For Sale!: http://www.akasa.bc.ca/tfm/coin-op.html
Dean's Lego Workshop: http://www.akasa.bc.ca/tfm/lego_wr.html
Vancouver Lego Club: http://www.akasa.bc.ca/vlc
|
|
Message has 1 Reply: | | Re: Just some really basic questions...
|
| Okay, cool, so I get 5 slots (my bad...I knew that too...I don't know *why* I kept saying 3) and the TOTAL space I can use is 6k? Does that include the datalog feature? Can you pass variables into other programs? How do you use these 'Codes (...) (24 years ago, 29-Jan-01, to lugnet.robotics.rcx.nqc)
|
Message is in Reply To:
| | Just some really basic questions...
|
| Okay, I'm really new to the whole NQC thing and have visited Amazon and ordered a couple books, but I've got some rather high level, I guess for lack of a better term, questions... I can store up to three program in my RCX. Correct? What's the best (...) (24 years ago, 29-Jan-01, to lugnet.robotics.rcx.nqc)
|
9 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|