Share:
Notifications
Clear all

python translation function in blocky code not working.  

  RSS

447ad2225b8ea85650ba5ceb4d48cfc0?s=80&d=mm&r=g
 Jose
(@the_hoseman)
Active Member Customer
Joined: 4 years ago
Posts: 5
18/04/2020 4:21 am  

I’ve been playing around with blocky GUI and pybot scara robot arm. I noticed that javascript and XML code is generated, but, python code translation/generation is not working. For example, see the following attachments:
See: BROBOT_Block_programming.png
simple code block to move scara arm.

see: BROBOT_Block_programming-JavaScript Output.png
javascript output working

see: BROBOT_Block_programming- Python example.png
python script not translated

see: BROBOT_Block_programming- XML output example.png
XML code looks to be generated.

I get the same results on chrome, safari, internet explorer browsers.

From that I see in the index.html file for the blocky GUI page, it looks like all three translators; javascript, python, and XML are configured. Is this a known issue? What am I missing to get this to work?

I am definitely not a programmer, but I feel that I know enough to reverse engineer code examples to make my own code. At least I try ;]

I tried to install js2py and translate JS to python. It looked to generate some form of hybrid python code in a working translation, but, I couldn’t get it to run :{

Any help or direction in this matter would be appreciated.

BTW – how is the Translate from G-code to Robotic Arm movement feature moving along. That would be one really cool feature to have working on pybot robot arm. It’s next on my agenda to research and see if I can get this functionality to work.

Thanks in advance,
JS

5503=486 BROBOT Block programming

5503=487 BROBOT Block programming JavaScript Output

5503=488 BROBOT Block programming Python

5503=489 BROBOT Block programming XML output


Quote
350a26dd49eb55d3494500240423a207?s=80&d=mm&r=g
(@robotn1)
Honorable Member Admin
Joined: 5 years ago
Posts: 688
20/04/2020 12:35 pm  

Looking at this! Please give us some time, the Covid19 situation is disrupting everything!


ReplyQuote
447ad2225b8ea85650ba5ceb4d48cfc0?s=80&d=mm&r=g
 Jose
(@the_hoseman)
Active Member Customer
Joined: 4 years ago
Posts: 5
20/04/2020 7:38 pm  

Looking at this! Please give us some time, the Covid19 situation is disrupting everything!

No worries at all. Put this on the bottom of your list and get back to me when you can.

Thanks,
JS


ReplyQuote
Share: