OpenRoberta / robertalab-ev3dev

roberta lab connector for ev3dev
Apache License 2.0
17 stars 14 forks source link

connection to robot works but nothing happens when clicking play #7

Closed oroulet closed 8 years ago

oroulet commented 8 years ago

Hi,

I installed ev3dev, updated all packaged and now brickman has a open robert lab option. then I made a deb packaged from your rep and installed it on ev3dev the systemd service refused to start but if running openroberta from shell it seems brickman is happy and connects and gives me a code. Then I go to http://lab.open-roberta.org/# connect to robot with code, everything looks good. Then I write a simple program (drive forward for example) and click play. But clicking on play does not seem to do anything. nothing on the shell in ev3dev from openroberta script either. nothing interresting in lab.open-roberta.org log either.

clicking on show code shows some java code. Is there a way to see python code (I understood openroberta is supposed to send python code in this case.

am I missing something to make it work? Thanks Olivier (I can make python scripts on ev3dev and run robot so that works, ut I would like to use open roberta for the kids)

dlech commented 8 years ago

We've just released a new ev3dev image file. It ships with a working version.

Please read http://www.ev3dev.org/news/2015/12/30/ev3dev-jessie-2015-12-30-release/

ensonic commented 8 years ago

Sorry, I missed the issue. @oroulet could you retry? FYI - the service write status information into journal, you can run:

sudo journalctl -f -u openrobertalab

to see it. If it still is not working, please attach the last ~20 lines here.

oroulet commented 8 years ago

It is working now! Thanks! The generated python code has issues by this is something else

On Wed, Jan 20, 2016, 20:38 Stefan Sauer notifications@github.com wrote:

Closed #7 https://github.com/OpenRoberta/robertalab-ev3dev/issues/7 via 9d3ee4e https://github.com/OpenRoberta/robertalab-ev3dev/commit/9d3ee4e0a643f67beef3a5213d1d5b58a2aaae3c .

— Reply to this email directly or view it on GitHub https://github.com/OpenRoberta/robertalab-ev3dev/issues/7#event-520820558 .

ensonic commented 8 years ago

@oroulet - thanks for testing again. Please file new tickets for the generated python code. I am working on several fixes already and will release an update soon.

oroulet commented 8 years ago

where can I follow your changes? Especially I had issue with generated loops that were missing some kind of sleep() and where using up all cpu thus prevent some events to be executed.

On Thu, 21 Jan 2016 at 09:29 Stefan Sauer notifications@github.com wrote:

@oroulet https://github.com/oroulet - thanks for testing again. Please file new tickets for the generated python code. I am working on several fixes already and will release an update soon.

— Reply to this email directly or view it on GitHub https://github.com/OpenRoberta/robertalab-ev3dev/issues/7#issuecomment-173495212 .

ensonic commented 8 years ago

This repo: https://github.com/OpenRoberta/robertalab-ev3dev/commits/develop

no fix wrt to loop, so I am definitely interested in this one. FYI, the generated code is under /home/robot on your ev3.