GroG's blog

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 :
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 :


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

Are we ready to package the latest InMoov script from here 
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)

Kuka Arm table tennis

GroG's picture

Awesome and Amazing ...

Of course I'm curioiusly trying to find the array of high speed digital video cameras for positioning, and curious about the amount of "not on the arm" processing going on ...

Kinect V2 on Linux (Ubuntu 14.04)

GroG's picture

I didn't think the Open Source Guru Drivers created a working version for the Kinect V2, but wow .. they DID !

And installing was a breeze .. followed the GitLab instructions and baddabing baddaboom .. worky !