InMoov.py - the "Service Page" script !!!

GroG's picture

Ahoy !!
We've done a tonne of work !  Close 50+ bugs (https://github.com/orgs/MyRobotLab/projects/1)

But wait there's more !  ... We've made better documentation, now all our Services Pages which document our MRL building blocks have an auto-magically linked Python example at the bottom ... called "Examples"


Pid Service

javadoc

A PID service allows the tracking and transformation of output in relation to iinput.  This is currently used as one of the tracking strategies in the Tracking service.  Input is sent to PID, a "compute" method is sent and appropriate output is sent to a servo.

References

Examples:

[[service/Pid.py]]

HttpClient Service

javadoc

 

HttpClient service is a service wrapper of the Apache HttpClient
So, you can download webpages, images, and a all sorts of
goodies from the internet.

Setup: 

example: 

Examples:

[[service/HttpClient.py]]

WikiDataFetcher Service

javadoc

 

[ service actualy in debug state for some fixes ( quantities ) ]

Mostly copy/paste from Beetlejuice blog post : http://myrobotlab.org/content/wikidatafetcher

This service grab data from wikis website ( for now wikidata )

wikidata store data by entities with an ID , by exemple, Adam Sandler have the ID Q132952 .

each entity contain several elements :

Examples:

[[service/WikiDataFetcher.py]]

The Service Matrix (Re-visited) - Need Help !

GroG's picture

Service Matrix

http://myrobotlab.org/matrix.php?branch=develop

We now have a working service matrix.  
The build now deploys the latest serviceData.json here 

http://34.201.4.170/deploy/develop/serviceData.json

Master doesn't work because we haven't released yet

http://34.201.4.170/deploy/master/serviceData.json


Installing MRL on a Raspberry Pi 3 for NOOB's

Ray.Edgley's picture
New Out Of Box (NOOB) is a term used for very new beginners.
We have all been there, and with the alittle help, we learn all the time.
 
This set of instruction is for the new user with very little or no experience with the Raspberry Pi.
Most seasoned experimenters/developers will find these instruction too simple and goes into detail they do not need.
 

This script can save your life...

kwatters's picture

So, sometimes an arduino running mrlcomm will get away from you.  The best way to reset it is to toggle the serial port.  This resets the arduino that's connected and thus clearing the device list in mrlcomm.

Here's a small snippet of python code that will toggle the DTR pin and reset the arduino.

pi@raspberrypi:~ $ cat reset.py


Campaign for MyRobotLab on Wikipedia

kwatters's picture

Update: This document now open for anyone to edit...  

https://docs.google.com/document/d/1HDlE8d--x1-A56Ff5mcQehE5togKtGt4yuuGIHVStgk/edit?usp=sharing  

 

so.. I see that there are 2 pages that point to MyRobotLab on wikipedia.

1.  the InMoov page : https://en.wikipedia.org/wiki/InMoov

2. the open source robotics page : https://en.wikipedia.org/wiki/Open-source_robotics

 


Mqtt Service

javadoc

MQTT is one of the protocols lumped in with the "Internet of Things" (IoT) and it can be used for lots of things. An MQTT client has been borged into MRL.

 

Here's a screenshot from my Android phone running MyMQTT connected to the same broker.

 

Examples:

[[service/Mqtt.py]]