Subject:
|
Controlling 2 or more RCX
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Sun, 19 Mar 2000 17:33:48 GMT
|
Original-From:
|
Jason Di Fazio <difazio@uwindsorNOMORESPAM.ca>
|
Viewed:
|
1033 times
|
| |
| |
I am developing a GUI in Visual Basic to control the RCX realtime. I have kind
of run into a snag though and I could use some help. Right now I have 2 RCX
which I am trying to control. The problem I am not sure how to control each RCX
separately. If I want to control Motor1 on RCX1 I will also turn on Motor1 of
RCX2. Is there a way out of this??? Is it possible to talk to only one RCX at
a time?? Is there a way to specify the RCX I want to talk to??
Jason Di Fazio
Electrical Engineering
University of Windsor
difazio@uwindsor.ca
--
MIME ATTACHMENTS DISCARDED:
1. Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Length: 1086
|
|
Message has 3 Replies: | | Re: Controlling 2 or more RCX
|
| MAybe using rcx messages you can send messages in the range 0-100 to the first, and 101-255 to second. Make them react to only the range you defined. Nqc should do it. Make a table with differents code meaning different nqc actions (0 = stop, 1 = (...) (25 years ago, 19-Mar-00, to lugnet.robotics)
| | | Re: Controlling 2 or more RCX
|
| (...) I'm afraid not... But you can use Message codes. I've set up a system for up to 5 RCX's. It goes like this. Each RCX gets a constant set. #define RCX# 0 // 0 to 4 are valid Then for each message the takes the code and adds RCX# to it. The (...) (25 years ago, 20-Mar-00, to lugnet.robotics)
| | | Re: Controlling 2 or more RCX - Here's how to do it
|
| Hi Jason, Here's a possible solution. =-= GOAL =-= To have a PC program control multiple RCX's in real time. Each RCX is an individual and should be able to respond to commands sent only to it. =-= PROBLEM =-= The tower sends its commands to ALL (...) (25 years ago, 21-Mar-00, to lugnet.robotics)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|