Color Tracking In MRL using OpenCV, Jython, and Arduino Services

michael96_27's picture

Hi guys! :)

I have a project that uses arduino and pan/tilt servos to track a desired color. With the use of a camera and myrobotlab, this project slowly come to life. I and with the help of GroG, are working on it to make it possible. However, it's not yet done and the project is still under progress. Here's some of the highlights of the project. Comments and Suggestions will be greatly appreciated :)

First, you need to download MRL:

Arduino Service - almost like "real" software ....

GroG's picture

"Finally"...  presenting "The Arduino Service - reloaded (again)" -  it's not ready for "prime time" , but it's starting to come together.  It would be great if I could get some testing & feedback..  with enough updates I'm hoping it might even be useful :)

If your interested,
here are the steps to get started in graphic detail..


MyRobotLab - Roomba

GroG's picture

2012.07.27 Update


14.10 Arduino Oscope & Digital Analyzer

GroG's picture

Digital inputs are now working. I'd do a screenshot of a Arduino Mega 2560 - but only have a Uno compatible board this minute.  The 2560 give you a LOT of lines. Finally seperated Arduino IDE's compiler & uploader from the gui.  Still needs a bit of clean up.  I like the new Rainbow Traces !  Starting to move on to OpenCV updates !  So much has changed.....


SEAR + MRL

GroG's picture

Here's a video from a very cool project by morrows_end & Kegfloater

They are using a Jython state machine to control a 3D simulator (SEAR) and will be using the same control logic to plug into a real Roomba.

 

 

ReleaseNotes

admin's picture

Release Notes

This page will document the new features and functions of each release.  If you want notification of updated releases subscribe or comment on this page and you will get notifications of changes via email.

Releases can be found here : http://code.google.com/p/myrobotlab/downloads/list

 

 

14.9 - Compile and Upload Arduino Sketches Programmatically

GroG's picture

With this short Jython script, an Arduino service is created and a Arduino sketch is compiled then uploaded to the microcontroller.  In this case the sketch is MRLComm which allows communication between MRL and Arduio, but other sketches could be loaded too, depending on the state of the Borg :)

 


New 14.9 Arduino GUI overhaul

admin's picture

Whoa.. it all became clear now.  The folks who created the first Arduino IDE, gutted Processing and changed the "export to applet" to compile & upload to an Arduino board.  That is why there are so many Java file references and other applet related amalgams.  Time to hack & stich it up more !


New 14.9 Jython IDE

GroG's picture

Here's a preview..  Complete with Java & Jython consoles, plus lovely open, save, restart and execute buttons.  I'll be looking into autocompletion and caret positioning after Jython errors....