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.

Deeplearning4j Service

javadoc

 

 

Distributed, Deep Learning Library for the JVM. 

Deep learning is a subset of machine learning in Artificial Intelligence (AI) that has networks which are capable of learning unsupervised from data that is unstructured or unlabeled. Also known as Deep Neural Learning or Deep Neural Network.

References :

Examples:

[[service/Deeplearning4j.py]]

HtmlFilter Service

javadoc

Htmlfilter is a service that can be used to either strip out text or wrap the input text in html tags. For example it can be used to filter away html code from ProgramAB before sending the text to a speech synthesis service.

Examples:

[[service/HtmlFilter.py]]

FileConnector Service

javadoc

FileConnector is a service that crawls thru a folder and publishes one document for each found file.

Examples:

[[service/FileConnector.py]]

DatabaseConnector Service

javadoc

DatabaseConnector is a service that executes a select statement from a database and publishes a document for each line. The example is using MySQL database with the example database that is included when you download it from here: https://dev.mysql.com/downloads/

It uses the jdbc driver so it can be used with most databases.

 

 

Examples:

[[service/DatabaseConnector.py]]

CsvConnector Service

javadoc

CsvConnector is a service that reads a comma separated file ( .csv ) and publishes one document for each row. 

 

Examples:

[[service/CsvConnector.py]]

BoofCv Service

javadoc

The BoofCv service is a wrapper for the BoofCV open source Java library for real-time computer vision and robotics applications.

References:

https://boofcv.org/index.php?title=Main_Page

http://boofcv.org/javadoc/

It has a lot more possibilities than what has been used in MRL so far.

Examples:

[[service/BoofCv.py]]

InMoovEyelids Service

javadoc

Careful if they are closed, tracking will get borked :)

Service refactored, as test, to use any servo controler

Some 3D parts : 

https://www.thingiverse.com/thing:2548952
https://www.thingiverse.com/thing:1521400
https://www.thingiverse.com/thing:1751434

TODO :

- moveToBlocking instead of sleep
- 1 eyelid only blink

SAMPLE :

 

 

Examples:

[[service/InMoovEyelids.py]]

MotorHat4Pi Service

javadoc

MotorHat4Pi is a motor connected to the AdafruitMotorHat4Pi driver board that can be used on the Raspberry PI. It can drive 4 DC motors ( implemented in mrl ) or two stepper motors ( yet to be implemented ).

https://www.adafruit.com/product/2348

Examples:

[[service/MotorHat4Pi.py]]

AdafruitMotorHat4Pi Service

javadoc

AdafruitMotorHat4Pi is a motor driver board that can be used on the Raspberry PI. It can drive 4 DC motors ( implemented in mrl ) or two stepper motors ( yet to be implemented ).

https://www.adafruit.com/product/2348

To use the motor you need thee services running on the PI.

1. The raspi service. http://myrobotlab.org/service/RasPi

2. This service. It represents the board it'self and communicates with the Raspberry PI using the i2c protocol.

3. One to four MotorHat4P services, one for each motor: http://myrobotlab.org/service/MotorHat4Pi

Examples:

[[service/AdafruitMotorHat4Pi.py]]

MotorDualPwm Service

javadoc

A general DC continous Motor which is controlled by 2 inputs.
A motor controller (such as Arduino or AdafruitMotorShield) is needed for the MotorDualPwm service to attach.
One of the most useful methods is the motor's move(powerLevel).  The powerLevel needs to be a float value between -1.0 and 1.0   

Examples:

[[service/MotorDualPwm.py]]