Anyone had any success?
I started MRL, started an OpenCV service, when I clicked the capture button in the input section of the GUI I get the following error on the command line.
Anyone had any success?
I started MRL, started an OpenCV service, when I clicked the capture button in the input section of the GUI I get the following error on the command line.
Here is some general crazyness ...
This is using 2 completely different GUI systems at the same time. Since MRL IS NOT THE GUI ! It works quite well :)
2 MRL Instances on 2 different machines have combined and give access to all of the services running on both machines. 2 Views of distributed computing !
The layout is as follows:
Laptop - running runtime (borg)
Hi Everyone,
I have just started working on building an inMoov robot and would like to download myrobotlab for the finger starter so I can learn more about how to configure the servos, connect arduino etc. I couldn't find any resources that explain how to download myrobotlab on a Mac. Due to this I also tried it on a pc with Windows 8 but this also didn't work due to an error saying it was unable to find javaw, even though I installed java a minute before. Is it available on mac?
Any help would be greatly appreciated as I'm determined to make my first robot!
Last night I tried to get MRL to connect to my Arduino so I could play with the InMoov starter finger kit and I've run into a few problems. First is when I click on the Tools menu and then Boards, the sub menu where I'd select Uno never shows up. When I mouse down to Serial Device I do get a sub menu but MRL (or the embedded Arduino IDE) never finds my Uno. I am able to see the Uno on /dev/tty.usbmodem641 using a standalone Arduino IDE installation and I was able to install the MRLComm.ino to the Uno through the external IDE. When I follow the tutorial for th
:D funny test :D don't pay attention to my english :D
Simplicity Is Beauty
And the following I think is very simple
Unfortunately - this breaks down when there is a "/" in the parameter :(
An example of this would be
instead of this being equivalent to
arduino.setSerialDevice("/dev/ttyUSB0")
it becomes
from org.myrobotlab.opencv import OpenCVData from org.myrobotlab.service import OpenCV opencv = Runtime.create("opencv","OpenCV") topcodes = runtime.start("topcodes","TopCodes") opencv.startService() opencv.addFilter("PyramidDown1", "PyramidDown") def input(data) : simage = opencv.getDisplay() codes = topcodes.scan(simage.getImage()) limit = codes.size() for x in range(limit) : code = codes.get(x) print 'code number' , x ,'=', code.getCode() # other information could be provided #print 'diameter' , x , 'is' , code.getDiameter() #print 'x of center' , x , 'is' , code.getCenterX() #print 'y of center' , x , 'is' , code.getCenterY() #print 'rotation' , x , 'is' , code.getOrientation() , 'radians' opencv.addListener("publishOpenCVData", python.name, "input"); opencv.setCameraIndex(0) opencv.capture()
!!org.myrobotlab.service.config.ServiceConfig listeners: null peers: null type: TopCodes
TopCodes service allows to recognize a special code. You can print these codes using the attached topcodes.pdf.
The service gives back the following information :
THERE ARE 99 DIFFERENT CODES.
CAMERA SHOULD BE AS PERPENDICULAR AS POSSIBLE TO THE CODE, IN ORDER TO WORK WELL.
UPDATE 06/28/2013
Test with "real codes" printed...supa worky :D
Here is a pic....
Update - Test with 4 simbols :D
WORKYYYYY :D
This is our two instances joined together. One is mine which has grey tabs - gui, runtime. And the other tabs are from your system. python, raspi, remote. I can now start any service on your system from my system - including executing scripts. The "bad news" is OpenCV is not behaving nice (as usual) .. so no video at the moment ..
Thanks Gael !
I'm getting all emotional ... because, how often does this happen ? :D D D