Ultrasonic Distance icon Ultrasonic Distance — Displays HC-SR04 ultrasonic distance readings in ARC; scriptable via GetPing(), pausable, sets a variable with multiplier, optional NMS output Try it →

ARC Pro

Upgrade to ARC Pro

Take control of your robot's destiny by subscribing to Synthiam ARC Pro, and watch it evolve into a versatile and responsive machine.

Author Avatar
United Kingdom
#2  

Nice! but you missed the question, what I am looking to do is to create a standalone app to control an ez-b based bot, rather than have the kitchen sink carrying ARC (which I happen to love, but some people find overwhelming) :-)

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#3  

Blockly generates code - and doesn’t interface directly with any functions. Think of the Blockly UI as a graphical representation of code commands or snippets. There’s a block layer, where you define blocks. And there’s a code layer, which relates blocks to code. 

Blockly is JavaScript and runs in a bowser window, such as Cef Chronium in c#

You will need an interpreter to convert the Blockly generated code to functions. Some sort of complied or script interpreter.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#4  

Oh, one more thing... if you want to see how Blockly creates ez-script, look in the ARC application folder on your hard drive here:  C:\Program Files (x86)\EZ-Robot Inc\EZ-Builder\Blockly