Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python translation function in blocky code not working.
04-18-2020, 03:21 AM
Post: #1
python translation function in blocky code not working.
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


Attached File(s) Thumbnail(s)
               
Find all posts by this user
Quote this message in a reply
04-20-2020, 11:35 AM
Post: #2
RE: python translation function in blocky code not working.
Looking at this! Please give us some time, the Covid19 situation is disrupting everything!
Visit this user's website Find all posts by this user
Quote this message in a reply
04-20-2020, 06:38 PM
Post: #3
RE: python translation function in blocky code not working.
(04-20-2020 11:35 AM)JJrobots JP Wrote:  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
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)