GroG's blog

What's Left For Manticore Release ?

GroG's picture

Ahoy !

I'd like to know what we need to focus on to get Manticore release done.  There has been a lot of really great work put into this, but what things need to be tied up before an official release ?

This is the Project Page.


WebRTC

GroG's picture

This is a post to accumulate information regarding WebRTC.

WebRTC is the realitively new concept of peer2peer (like) connections from one browser to another.
On a low level it uses session management and websockets to exchange data.  Typically, it seems to use a extremely simple relay or proxy server.  This allows potentially any browser to talk to any other browser through NAT traversal. 


Cascading Detach

GroG's picture

This is a post to explore the possibility of a "cascading detach".  This is when a Service is released from Mrl and is currently attached to other services.  The goal will be to release the service as cleanly as possible, and in the process notify other Services it has been released.  Potentially, this notification will "cascade" into mutliple detach calls to successfully remove the target Service.

Setup - Here is setup of the problem - ***Mats can you add to the script? to get the initial setup?***

[[/home/GroG/detach.py]]


What To Borg ?

GroG's picture

Mats has this cool I2C temprature sensor - just needs a tiny MRL driver.

What thingies do you have which might be Borg'd ?!


More on Attach !

GroG's picture

Ahoy !

We recently were excited to add Java 8 default methods to interfaces for our services ... 
Sadly, this borked Jython :(

But my last checkin should have fixed all that.  There are now no more "default" methods in any Java org.myrobotlab.service interface.

In the process I tried to do some refactoring.  I created a new interface ... "Attachable" !  And moved interfaces which were common to ALL services to org.myrobotlab.framework.interfaces


Jython <---> Java 8 default Interfaces ... No Worky ! :(

GroG's picture

I was hoping to wrap up working with the interfaces.  Mats and I made a lot of progress defining how future "attach" will work, and starting to get into the details of implementation.   I have been testing with START_INMOOV.bat script, but now realize there is a rather large issue.

The issue is the new improvement from Java 8 of "default" interface methods are not reachable from Jython !


Service Attaching .... Diving Deeper

GroG's picture

We want to build services which can easily be attached.  With simple and consistent rules we can make a platform which supports much more complicated systems.


MotorController is missing an attach !

GroG's picture

I'm trying to get Sabertooth service working again .. 
In the process I noticed MotorContoller is missing this method .. 

public void attach(MotorController controller) throws Exception;  

to go along with the other Controller interfaces and to follow the Attach Pattern !


Borg a Furnace

GroG's picture

 

Ahoy !

Recently one morning my wife turned on the furnace and we were quickly inindated with a cloud of smoke.  After the smoke cleared, I looked into the details and found the motor completely burnt.  We purchased a new motor, but in the back of my head I'm always wondering, "How did that happen?"


BoardInfo Bug

GroG's picture

Sorry,
I created this one :P

As Calamity pointed out there is some missing runtime type identification of the board, which I recently  commented out. (I owe a unit test ! :P)

Now some history on it :

MRL can now "potentially" compile and upload the board, its necessary to send the correct command line parameters to avrdude.  This is "sort of" done in the ArduinoUtils - but it does not have all the needed types for all the boards.