GroG's blog

Esp 8266 Borg Assimilation

GroG's picture

20160516 - Update !

We can talk !  Parts of MrlComm are now running on the Esp8266.  Did a full getVersion request and the data flowed !  ....  goodtimes....

Next is considerable cleanup..   MrlComm "should" be a library..   and then I "think" this should probably not be its own service ... its really just a reconfig of pin mapping (once working correctly) in the Arduino service...

Not sure ..


Agent ... or how MRL starts

GroG's picture

Some confusion has occurred about zombie processes ... Strangely the process which would be kind of the 'cure' to zombies, is itself becoming a zombie - but not because its a process out of control.. its because very few know how to use it, and it does not (at the moment) default to present a UI

 

This "probably" should change because it give a lot of control, and can be used to prevent Zombies !


Fun way to test .. Keep the Elves Busy !

GroG's picture

 

Here the "Test" service is auto-testing.  The elves go through a matrix of testing.  It's easy to add tests and more are on the way.  Much more fun than an spreadsheet & the tests can now be run on many platforms.


Asynchronous Serial Messages

GroG's picture

Azul was having some issues reading data coming back from a custom script running on an Arduino Mega, so I thought I'd make a small script which demonstrates how to do asynchronous reading.

The script requires no hardware, because it uses a Virtual Serial Port (COM77_uart).

I used the swing gui, because its better at displaying python errors, although the webgui has a better send interface (swing one grows for some reason :P)


Acapela Speech Emoticons

GroG's picture

Saw this in harland's script, and thought it was funny - 
So I looked up what Acapela had to offer regarding speech .. they have lots of exclamations, emoticons & sound effects.

http://www.acapela-group.com/doc/Vocal%20smileys/excla.html


Servo Stuff

GroG's picture

Hi,
I had some servo suggestions.  I was thinking it might be nice not to tie the status of the servo with the control.  I think they are 2 different things and tying them together can cause unwanted feeback and other problems.


Xmpp gets refactored

GroG's picture

Not checked in yet - but its showing promise ..
Xmpp is very nice in the sense its a protocol which will allow connections over challenging obstacles.
Like NATs  (Network Address Translation) - most people have this on their local network at home (or in the office) where devices are not connected directly to the internet.

But with NAT tranversalling, which Xmpp can do - you can connect one InMoov to another and connect those to phones.


Jython 2.5.2 vs 2.7.0

GroG's picture

Okay, we've been going back and forth on this.
Functionality wise, 2.7.0 has json serialization in it (a good thing) , but something is wonky with some encoding..

I would prefer to use 2.7.0 vs 2.5.2 but I don't know all the encoding issues people have been suffering, or the details.  My own experience is that it's killing my unit tests, which is why we are back to 2.5.2 at the moment.

Does anyone know any details ?  Kwatters said he tried using jvm parameters to fix 2.7.0 encoding.  Do we know what is going wrong ?


WebGui - new functionality

GroG's picture

Hi All,

The WebGui has some new functionality.  Its basic positioning, hiding, and showing which can be accessed through the WebGui service.  All functionality of any Service can be accessed through Python.  

First download the myrobotlab.jar from the "latest" link to a new directory.