GroG's blog

OpenCV 2.4.3 update

GroG's picture

Yay ! - LKOptical tracking filter tracking 30 points simultaneously !   The Tracking service can proceed .... Wooh .. about time !  Still need to write a bug up for JavaCV, but the filter works around it.

Added an ouput panel - which allows recording of a video stream or individual frames from the output stream.


Detached Service Tabs Now Have Memory

GroG's picture

If your system has many parts, it is sometimes nice to detach and arrange them in the most convient way depending on how your working.  As an example the InMoov service may have up to 22 servos.  When capturing gestures its nice to have al lthe relevant service tabs arranged in such a way that gestures can be tweaked and code can be modified.


SteamPunk Birthday Party Fission Plant Robo Game

GroG's picture

 

Fission Plant

ToDo


Arduino Digital Pin Debounce And Digital Trigger

GroG's picture

 

Debounce

Implemented digital pin debounce based on this . It puts in a 50 ms wait after a state change on a digital line.  Needs testing. 

It should help with encoders, bumpers, and other bouncy switches although remember boys & girls, you should always try to clean your signal at the source :)

Digital Trigger Only


Dynamic Robot Simulators

GroG's picture

Update : Radom Mapper ! - it works !  

The cause and effect :  
Arduino wire changes state  (Bumper) ------  sends an  event to Python --------->  Makes a random wall !


Jython Editor - Becomes Multi-Page

GroG's picture

Something I've wanted for a while is multi-paged Jython editor ... Viola ... (it's still in development - but getting closed to being checked in) 

Now you can have an initialization script in one file, and a State machine in another :)

We can copy paste, from one file to another..

But wait .. There's MORE !


Windows 7 (64 bit) Arduino Service Strangeness - SOLVED

GroG's picture

 

Here I'll go over several issues I have found with the Arduino service & WIndows 7 (64 bit)

FTDI Driver strangeness & Jumpy Oscope

After updating my driver at some point (or unknowingly being updated by Windows) I noticed the Arduino Oscope behaving very strangly.  When I selected a trace on the Arduino to display, the trace line would freeze, then flash quick, then pause, then flash - nothing like the smooth behavior it had previosly.


Arduino to PC Serial Communication Challenges

GroG's picture

MRL runs on a JVM and can communication to the Arduino micro-controller through a serial port.  MRL controls the Arduino through a serial protocol.  

MRL to Arduino uses a 3 byte command set

msg[0] = METHOD
msg[1] = PARAM1
msg[2] = PARAM2