Next version 'Nixie' is coming soon !

Help us to get ready with MyRobotLab version Nixie: try it !

Register Services

How one instance of MyRobotLab makes contact with another instance.

If MyRobotLab is running on two different machines, they have the capability of contacting one another and sharing resources.

That's "House-ton."  The way they say it in New York City.

Javadoc link
Example code (from branch develop):
#file : Android.py (github)
# start the service
android = runtime.start("android","Android")
Example configuration (from branch develop):
#file : Android.py (github)
!!org.myrobotlab.service.config.ServiceConfig
listeners: null
peers: null
type: Android

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.

Javadoc link
Example code (from branch develop):
#file : Log.py (github)
# start the service
log = runtime.start("log","Log")
Example configuration (from branch develop):
#file : Log.py (github)
!!org.myrobotlab.service.config.ServiceConfig
listeners: null
peers: null
type: Log

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

Controls

Start / Stop Logging - starts or stops all logging

Javadoc link

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.

Javadoc link
Example code (from branch develop):
# start the service
sensormonitor = runtime.start("sensormonitor","SensorMonitor")
Example configuration (from branch develop):
!!org.myrobotlab.service.config.ServiceConfig
listeners: null
peers: null
type: SensorMonitor

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.