Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Get Started
Asked — Edited

Questions About Plugin Development

I have a couple of questions that I hope you can help me with. I didn't realize that some of these issues existed until I loaded the plugin on a non-development machine.

What would be the proper way to write a text file containing your configuration settings for you app to the %public%\Documents\EZ-Builder\Plugins\[GUID] directory or should I be writing this file somewhere else?

Is there a way to allow some functions in my plugin to be startable from a script? If so, can you please let me know how this is done?

I think this is all for now, but I am sure that I will come up with some more in time.



Upgrade to ARC Pro

ARC Early Access will give you immediate updates and new features needed to unleash your robot's potential!

Yes, the config data must be saved with the project. Do not, under any circumstances save any user data outside of the project data.

Follow that tutorial and you're good to go!:)

If you need additional examples on how to use it, check the source of my plugins. They all have a configuration screen.
Thanks DJ. Is there a way to expose some functions to be called from the script component? I want to have the start and stop exposed mainly.
Can you expand on that question?

The entire scripting engine is exposed. I'll direct you to the commands if I understand the question. Are you asking to bind to a controlcommand()?
I'll post it tomorrow. Going to go hang with the family but basically

Commandcontrol command in the script engine is what I want to use.
All my plugins have an example...

There's two override methods you care about. One method will return the possible ControlCommand() parameters. The other will bind to the control command.

Take a look at any of the plugins