GroG's blog

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


New Motor GUI

GroG's picture

The Motor service gui is being updated.  It has been designed to support multiple motor controllers. This is nice, since there can be a little complexity in attaching a motor to a motor controller.

For example an Arduino can directly drive a simple 2 bit H-bridge connected to a DC motor.  Or a motor shield can be used, which has its own motor port configuration.  Other shields and bridges might have different configuration.