Hello I am new to this group. I would like to know where I can download MyRobotLab.apk.

 

Thank you

Hi Beetlejuice,

The apk was removed because it was difficult to maintain the changes as MRL become more advanced. They had seperate code primarily because of the GUI.  MRL's old GUI is Swing  - which is not Android compatible.  Once the WebGUI become sufficiently usable, I'll repost a Android version which will be in synch with the rest of MRL all the time.

Grog,

 

Awesome work guys.  Do you have any kind of rough idea when android bits may work again, and which services will or won't work? 

 

Regards

 

Phil

Well it depends what you mean by "work" :)

There is already parts of the new webgui working on Android.  At least any Android compatible browser which supports websockets.
 

What "parts" are you interested in ?

Hi Grog,

 

Thanks for answering so quickly.

Maybe I'm being dumb, it happens often enough!  To clarify what I meant:

I found an old copy of MRL.apk (myrobotlab.1695.20130913.0508.zip) and installed it, but it crashed on startup with "Unfortunately MyRobotlab has stopped working." without showing any screen, this was on my Galaxy Tab 10.1 with a Jelly Bean ROM (4.2.2).  Looking at one of your previous comments it looked like it was being decommissioned until the bugs in webgui had been ironed out.

What I'm trying to do is run a version of MRL on Android, that can run by itself without a computer.   I'm instersted in the following services:

Arduino

OpenCV

Face Tracking

Twitter

Joystick

Speech recognition

Text to Speech

a websocket server and http server would be awesome too, so I can make some kind front end using a remote web browser???

Enormous thanks in advance for your time Grog.

Appreciateingly yours

 

Phil

 

GroG

10 years 6 months ago

In reply to by cleaverpj

Heh, no your not being dumb .. it was a trick question :)

When some people want something to "run" on their phone they are only interested in the gui part .. and this work now for Android in that the webgui (browser end) runs on any phone - but the "real" part of MRL runs on only a raspi or regular pc at the moment.

It used to run on Android but was integrated with Android's own graphics display, but that caused lots of gaps between the Swing GUI and Android.

Now we are working ont the webgui which allows access from any device (Android, Tablet, IOS, PC, etc) - but its very developmental ... 

I could compile another apk - but the only access you would have would be through the webgui .. and since I dont know what you are doing its hard to say if the present state would accomidate what you need.

Do you have a specific hardware setup, or robot your trying to work with.. is it similar to a cellbot?

Mabye with more info about your project I can give you a better recommondation...

Hey Grog,

What I'm trying to achieve is using an Android phone as the brains / heart of internet enabled robots.  I want to utilise the affordable hardware to create a robots/drones for people that has minimal cost and complications.  I will make both land-based and flying toys.

Yes, similar to a cellbot, but I want people to be able to easily create their own front-end and be able to edit the higher level logic. 

I have been working on my own project in Java, and am close to finishing, but thought maybe your system has some advantages on the backend.  I wish I had learned about your excellent framework when I started, and maybe could have put all my efforts into helping you.  As it is, I've come too far to not finish this project (nealry 4 years work and counting).

I have created a really simple way for people to customise their robots.  I've adapted Google's Blockly so that all coding can be done using a minimal number of blocks.  Maybe some time in the future I could help by adding some of my work to your project.

The attached picture shows all of the coding needed for a drone. All comms and hardware setup is done in the gui and needs no coding.

The front end is built in much the same way and generates HTML.

I look forward to hearing from you.

I'm excited about seeing drones and bots controlled by your system !

And I totally agree .. smartphone hardware is the bee'sknees for cheap yet powerful robots - (it's small, low power consumption, integrated gps, camera, accelerometer, and other sensors make it a shoe in - that plus consumer demand has made them crazy inexpensive)

Your Block design looks great, I too had thought of adding a Block service for programming...  but at the time I was considering OpenBlocks .. I guess the grandpappy of Blocky...  I still would like to do it, there are just a lot of things further up in priority on the list.

When I made MRL's first gui I was inspired by MatLab's graphical programming.  I had never used MatLab but saw some cool pictures in a glossy brochure ;)

You can program MRL using its graph - mostly its creating, deleting, or changing message routes for data flow

Some people still use it, and it has on occasion been usefull to get a map or diagnose a couple issues.  But most people quickly move on to programming with Python.  Python in MRL is just another service, in that, there is another scripting service and several more on the close horizon of being incorporated into MRL - (the rhino Javascript engine Service is next)

So, MRL's architecture is based on these Services and we continually Borg in other projects to allow us to play with more Blocks !!! :D

I would be very excited about Borg'ing your project with your guidance if you are interested, and in turn, your project would have easy access to all the other Services in MRL (OpenCV, Sphinx, Speech, etc... as you mentioned)

Also, I completely understand about wanting to complete your project.. maybe you can utilize MRL from it in some way....

raydnz

10 years 3 months ago

Hi,

I now have BBB successfully running MRL ;-)

I have used python to test the Adafruit  BBB Python modules (linux shared objects .so) for GPIO and successfully switch LEDs on and off . (note need to run as root or sudo due to permissions under default ubuntu user.

>>> import Adafruit_BBIO.GPIO as GPIO

>>> GPIO.setup("P8_14", GPIO.OUT)

>>> GPIO.output("P8_14", GPIO.HIGH)

>>> GPIO.output("P8_14", GPIO.LOW)

Now I want to test this from MRL but cannot get the Adafruit_BBB.GPIO to import.

This is MRL code I have written to test it out

1 egg_path='/home/ubuntu/.python-eggs/Adafruit_BBIO-0.0.19-py2.7-linux-armv7l.egg-tmp'
2
3 sys.path.append(egg_path)
4
5 import Adafruit_BBIO.GPIO as GPIO

It fails on line 5 with

-----Traceback (most recent call last):  File string, line 5, in moduleImportError: No module named GPIO    at org.python.core.Py.ImportError(Py.java:290)    at org.python.core.imp.import_logic(imp.java:785)    at org.python.core.imp.import_nam..........

Can any one suggest a way forward. I have searched the www and there is not a lot of info on trying something like this.

I'm not a coder, so would rather integrate existing modules ;-)

here is the link to Adafruit's BBIO modules

https://github.com/adafruit/adafruit-beaglebone-io-python

thanks in advance

Hi Raydnz !

A quick suggestion - copy and paste what you have here in a new Blog post.

search for "create content" --- then create blog - they paste what you have, Your posting to an older post which is great but not really relevant for what you are trying to do.

Your post will go to the front page too - and get more attention from people who have more experience.  For example Alessandruino I think has done successful imports of python into the Jython service.

It's great you got MRL running on BBB - would like to see screenshots too if you have them !

Cheers,

GroG