This is a listing of Services which can operate in MyRobotLab framework. You could think of these Services as being little software machines managing input, output and communicating to other systems.

Android Service

javadoc

Master service for MyRobotLab running on Android.  It controls what sensors and resources are exposed and running (GPS, Accelerometer, Camera, Bluetooth, etc)

It is a singleton.  Which means only a single instance can be running on any Android device, however, multiple Android devices can pool Services & resources.

Examples:

[[service/Android.py]]

Log Service

javadoc

A helpful diagnostic Service which knows how to associate itself with a user interface.  It can display messages from other Services.

Examples:

[[service/Log.py]]

Proxy Service

javadoc

The Proxy Service allows interoperability between different services.  This would be necessary for Computers running Sun's Hotspot JVM to interact with Phones or devices running Android's the Dalvik JVM.

Examples:

[[service/Proxy.py]]

SensorMonitor Service

javadoc

The SensorMonitor takes a variety of input data and displays it to a user interface.  It also has the capability of adding alerts.  An alert would be triggered if a sensor goes above or below some threshold.

Examples:

[[service/SensorMonitor.py]]

ArduinoBT Service

javadoc

Arduino with Bluetooth serial port.  MyRobotLab on Android uses this to connect to Arduinos or Arduino clones.  A client .PDE will be needed for the Arduino.  ArduinoSerialBare.PDE can be used.

Examples:

[[service/ArduinoBT.py]]

RemoteAdapter Service

javadoc

A RemoteAdapter allows other instances of MyRobotLab to connect.  Services and resources can be shared by 2 or more joined instances.  The default communication listener is a UDP server listening on all addresses on port 6767. 

To connect two instances simply start all the services local and then use the RemoteAdapterListener.py script one one host and RemoteAdapterHost.py on the other host.

[[/service/RemoteAdapterListener.py]]

[[service/RemoteAdapterHost.py]]

Examples:

[[service/RemoteAdapter.py]]