Subject:
|
Re: Communicating with IR tower
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Thu, 10 Dec 1998 10:52:35 GMT
|
Viewed:
|
1066 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
Hi John,
I've been doing this for a while with the Cybermaster. You can simple use
the SetVar and Poll commands in immediate mode via the OCX to read and set
variables in the brick. Add a bit of handshaking and you have a
communications mechanism between the PC and the programs running on the
brick. I use this to issue new commands from a mapping app running on the PC
to a small explorer program which runs on the Cybermaster brick, I also use
it to read back status from the Cybermaster. With a few tweaks you can use
the mechanism to allow the brick to detect when it has gone out of range of
the tower (and try and take steps to get back in range!). Most of the above
I've been using with Cybermaster, but the basic mechanism also works fine on
my RCX as well.
Andy
PS I'm not sure if you can do this using the standard RIS/Mindstorms
software. I've not used this at all I talk direct to the OCX form C++.
John Fronckowiak wrote in message
<4.1.19981209164708.02fa7f10@buffnet.net>...
> Has anyone developed any applications that allow the RCX to communicate
> back to your PC via the IR tower, analogous to the way two RCXs can
> communicate with each other. This would be useful to allow the robot to
> return to the IR tower for "new instructions".
>
>
|
|
Message has 2 Replies: ![](/news/x.gif) | | Re: Communicating with IR tower
|
| In article <F3qx1G.FCw@lugnet.com>, Andy Shaw <lugnet.robotics@lugnet.com> writes (...) Do you just call subroutines in the spirit.ocx? Is there a spec for the spirit api? (26 years ago, 10-Dec-98, to lugnet.robotics)
| ![](/news/x.gif) | | Re: Communicating with IR tower
|
| Unfortunately, to do it without polling from the computer periodically would be difficult, simply because the IR tower turns itself off after inactivity. However, if you happen to have one of those Mindpath remotes, the ones that come with the IR (...) (26 years ago, 10-Dec-98, to lugnet.robotics)
|
Message is in Reply To:
![](/news/x.gif) | | Communicating with IR tower
|
| Has anyone developed any applications that allow the RCX to communicate back to your PC via the IR tower, analogous to the way two RCXs can communicate with each other. This would be useful to allow the robot to return to the IR tower for "new (...) (26 years ago, 9-Dec-98, to lugnet.robotics)
|
8 Messages in This Thread: ![autostart of program in mindstorm -Bert van Dam (8-Dec-98 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: autostart of program in mindstorm -Mike Corlett (9-Dec-98 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![Re: autostart of program in mindstorm -Kekoa Proudfoot (9-Dec-98 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Communicating with IR tower -lego-robotics@crynwr.com (John Fronckowiak) (9-Dec-98 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![You are here](/news/here.gif) ![](/news/246.gif) ![Re: Communicating with IR tower -Peter Hesketh (10-Dec-98 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Communicating with IR tower -lego-robotics@crynwr.com (Chris Osborn) (10-Dec-98 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Communicating with IR tower -lego-robotics@crynwr.com (Laurentino Martins) (10-Dec-98 to lugnet.robotics)](/news/x.gif)
- 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
|
|
|
|