jrobocom - communication library for robot devices |
[español] This document describes the architecture and sources of an api for controlling a lego mindstorms robot via a java applet throughout the internet. The package is coded in Java and published as Free Software under the terms of the GNU General Public License. This software was part of the installation argonautas presented at Caixaforum Barcelona (2002), cyberia02 at Santander and at Medialab Madrid (2003). |
overview |
The software-architecture of the api looks like this:
+------------+ +--------+ |roboclient 1|-- ---|applet 1| +------------+ \ / +--------+ \ / +------------+ \+-----------+ +----------+/ +--------+ |roboclient 2|-----|robocontrol|-------|roboserver|------|applet 2| +------------+ /+-----------+ +----------+\ +--------+ / \ +------------+ / \ +--------+ |roboclient x|-- ---|applet x| +------------+ +--------+The software is based on the model of server-client. The server "roboserver" manages useres and robots. On the userside he manages the control of the users over the robots. In a concret moment only one user has the control over a robotic client throughout a webpage with a Java applet. The other users get informed when the can ask for the control over this "roboclient". On the robotside he manages which robot receives the orders from the users. Between the server and the robots there is a service called "robocontrol" which has implemented the protocol which speak the robots. At this time it only comunicated with robots from Lego Mindstorms but with a simple implementation of the protocol of a different device it would be possible to control it also by jrobocom. The next image shows the corresponding hardware-architecture: +-----+ +----------+ +---------+ +-------+ |robot|<-infrared->|pc control|<-inet->|webserver|<-inet->|pc user| +-----+ +----------+ +---------+ +-------+The communication works in a chain of four steps. The user ("pc user") executes an applet in a webpage and is connected through the internet to a webserver ("webserver"). The webserver passes the information through internet to the computer ("pc control") which controls the "robot" throughout infrared. |
download and installing |
The packages are constructed for controlling different types of robots throughout the internet. The following packages are adapted for the use with lego mindstorms:
Additional software required to use this libraries:
|
changes v0.2 |
|
future |
I was in some hurry putting all this together and getting the thing working so there are a lot of lacks in the code-design. I have plans developing future projects including remote-control for robots. with an easy2use multifunctional api for this tasks it is a lot more comfortable developing this kind of things. so check out for future releases! the next steps of development will be:
|
(c)left gerald kogler 2002, last change: 18.04.2004 |