GroG's blog

Festo Tentacles

GroG's picture

I want at least 7 more !


Down The Arduino Rabbit Hole

GroG's picture

Setting the arduino board type needs to come from the user's UI or helper functions like arduino.setBoardUno().

Currently the board can set the type, by data coming back from the board.  Although I would prefer this method, if Arduino & its firmware was capable of providing all the necessary information.  But its not.  Sad, too, because I like "plug and play"


Avoid Interface Primitive Parameter Types

GroG's picture

I think interfaces should NOT be using primitive types.  We should always use the Object form of the primitive.

For example :
In 
instead of this :

enablePin(int address);

do this :

enablePin(Integer address);

In the past I thought int was somehow more effecient or cleaner than using the Object form, but in MRL-Land that is not the case.  In fact it can cause problems.


On the Soap Box about DigitalWrite AnalogWrite & PinMode

GroG's picture

Ok, I feel the need to get on the SoapBox again, because I'm currently working with Swing UI and pin control. 

I have made tonnes of mistakes, the stuff I'm refactoring now could be a shiney example of what "not to do". With that said, I think Arduio's following functions were a mistake :


VInMoov

GroG's picture

moz4r having fun with virtual inmoov :)


Normalize Normalize ! The chaos is the only confusing part !

GroG's picture

Sometimes we need to figure out unecessary complexities, so that we can make things more accessable.

I'm talking about Arduino Board Type.  Something you'd think is very straight forward, yet .. its not.  Not because it can't be, but I think because few have taken the time to make sense of it.

"Board Type" is a general term, but there are potentially 2 things which depend on it.


Harder Better Faster Stronger - Is the InMoov Script Ready ?

GroG's picture

Hi,
Are we ready to package the latest InMoov script from here  https://github.com/MyRobotLab/inmoov 
as part of the build process so they will continue to grow in sync ?


I Love Serializing

GroG's picture

Not that kind of Cereal.  
Serializing is when you squish information into a tiny stream of 1s and 0s.  The great thing about it, is it allows you to send this information over little pipes and wires !   You can move information around. You can make things change remotely. What are we waiting for ?


SwingGui updates... Search For Service - cuz time is precious :)

GroG's picture

We want to find our service quick !  So many services now, who has time to scroll ?
Now in the SwingGui - Search !  (honestly should have done this years ago ;)


Servo Joystick & Arduino seem to work over a remote connection now (mostly) - BoardInfo & DeviceSummary were not serializable (fixed)