GroG's blog

Request For InMoov Help - The Baseline Test

GroG's picture

Hello MRL'ians and InMoov Nation.

This is a request for help.  


Servo Analysis - Baseline Test

GroG's picture

This post is to examine the different ways in which a servo can be controlled through myrobotlab, and some of their limitations and advantages of the different speed implementations.  And more importantly, it is to start information regarding the Baseline Test for Servos.


Starting Python (and / or any other Service or Script on startup)

GroG's picture

bhouston asked if it was possilbe to start with Python service automatically on startup. I'll be including bat files which do this again shortly, but in the interim I'll show you how to create your own.

From the command line you can start any service(s) in addition you can actually invoke any command too... You could automatically run a script, which potentially is quite powerful.


NeoPixel

GroG's picture

This article is to collect information regarding the very cool NeoPixel.
I would like to create a NeoPixel service, but some of the libraries require the whole Arduino to work properly (rather a heavy sacrifice)

References


Try this Neo

GroG's picture
trigPin = 7
echoPin = 8
 
arduino = Runtime.createAndStart("arduino", "Arduino")
arduino.connect("COM15")
sr04 = Runtime.createAndStart("sr04", "UltrasonicSensor")
 
sr04.attach(arduino, trigPin, echoPin)
# blocking examples

A quick test with MRL 1.0.18 (from github!) - WebGUI ----> Python function

GroG's picture

Hi All,
This is a quick test of the new github release & some long awated functionality.
We want to call a Python function from the webgui using a single URL - this way we could save it as a bookmark or on our phones webrowser and activate it whenever we want.


AI - Sillyness

GroG's picture

This is just to keep some references in order to make a better shoutbox AI.

Currently MRL has a CleverBot but, I'm a bit underwhelmed by its dialog.  
I was thinking I'd like to have maybe a "little" funner interface to Wolfram Alpha ... at least you could get good information from it, like the current weather forcast in your area.


Quick HTTPClient example

GroG's picture

The following will dump all the data to the python tab (print it) from the default urban dictionary site.
You might want to find a site which delivers just simple text or parse out the joke or part of interest.

Make sure you have the HTTPClient service installed.

 

from java.lang import String
 
http = Runtime.createAndStart("http","HTTPClient")
print String(http.get("http://www.urbandictionary.com/"))

Tracking.minimal.py

GroG's picture

[[Tracking.minimal.py]]