kwatters's blog

Running a script when you start MRL from the command line

kwatters's picture

Lets say you have a python script for MyRobotLab that you would like to start automatically.  Here's an example of how to run a script directly from the command line when myrobotlab launches.


Robots for Good Demo

kwatters's picture

Coming up next week is the Redhat Summit.  This is a conference about open source and the open source operating system Linux.  You may be framiliar with Redhat because of the Redhat Linux distribution that payed a large role to the growth of the OpenSource community.


Starting Harry

kwatters's picture

Here's a quick blog post to help poeple get started using an AIML based InMoov in MyRobotLab...

To keep things simple this will go over downloading the "latest build"  , cloning the pyrobotlab github and launching the Harry.py  script 

Some key features of this are that each InMoov gesture is defined in a separate file (checked into the pyrobotlib project) and that the spoken responses and actions are managed by ProgramAB and defined by the chat bot named "harry" ...

Step 1.


Arduino and MRLComm setup and loop methods

kwatters's picture

I've been working on debugging various issues that people are having with the arduino service.  I've found that it's a bit overwhelming to read through so I took a crack at cleaning it up.  Below, I will share some notes about the coding convention that I've taken on with this refactor/code cleanup.

Design principals


Bay Area Maker Faire!

kwatters's picture

If you're in the San Francisco / Bay Area, come visit us at the Bay Area Maker Faire this weekend in San Mateo, CA.  We're very excited to show off 2 InMoovs and chat with people about MyRobotLab!

http://makerfaire.com/maker/entry/54951/

 

Hope to See you There!

 

InMoov, ProgramAB, and Gestures

kwatters's picture

So, in an effort to make the mega InMoov scripts easier to manage and to make sure the InMoov can better respond to human speech,  I've been working on making it so that the InMoovs can share their gestures  and also make it so that you can reload the gestures as they are edited without having to restart the whole bot.

So,  what does this mean and how does it work.

Frist, there is the InMoov service.  We have come to love this service, it controls all of the servos, camera, kinect, pir sensors, etc..


Arduino bug hunts.

kwatters's picture

my local environment is a bit of a mess. but here's some java code that is sure to blow up and give you issues talking to an arduino runing mrlcomm v.29

String port = "COM31";
Arduino ard = (Arduino)Runtime.createAndStart("ard", "Arduino");
ard.connect(port);
for (int i = 0 ; i < 10000; i++) {
  ard.sendMsg(ArduinoMsgCodec.GET_VERSION);
}
System.out.println("Done..");

Point cloud rendering with LWJGL

kwatters's picture

Here's a little teaser for the next great frontier.  I've been building a video game engine that can allow us to render 3d objects in a virtual universe using an open source java game library called "LWJGL".  There are some fantastic tutorials on YouTube for those who are interested in learning  https://www.youtube.com/playlist?list=PLRIWtICgwaX0u7Rf9zkZhLoLuZVfUksDP

 

 


JUnit testing and debugging a service in MyRobotLab

kwatters's picture

Here's a video tutorial to create a JUnit test to validate that a service is working as expected.  It also shows some simple debugging to set a break point and to step through the code.

 


InMoov , MyRobotLab and Notes on the HS 805BB potentiometer extraction

kwatters's picture

 

The below article is a work in progress, it talks a bit about InMoov and MRL at a higher level, but it does have some commentary about reworking the HS 805 BB  servo for continious operation and extracting the potentiometer.