Make an ARC Skill

Example: EZB Manager

The ARC.EZBManager is a helper class that makes accessing I/O very easy, by doing the complicated work for you. Within the EZBManager are methods to read adc, read digital, set digital, set servo positions, etc..

The ARC.EZBManager also has an array of EZB objects. Each EZB object is a physical EZB. This is an array because the user’s project can have up to 128 EZ-B’s defined. It’s always safe to assume that the first (index zero) EZ-B is default, which is why EZBManager.EZBs[0] is commonly used for raw commands that are not using the EZBManager helper methods.

It is highly recommended to use the ARC.EZBManager instead of raw commands directly to the EZB. Here are some examples of using the ARC methods, to demonstrate how much more convenient they are for moving servos, specifically...


ARC.EZBManager.SetServoPosition(_cf.SERVOS[ConfigurationDictionary._VERTICAL_SERVOS], 20);

ARC.EZBManager.SetServoIncrement(_cf.SERVOS[ConfigurationDictionary._HORIZONTAL_SERVOS], -1);


ARC Pro

Upgrade to ARC Pro

Subscribe to ARC Pro, and your robot will become a canvas for your imagination, limited only by your creativity.

United Kingdom
#1  

Is this out of date? There doesn't seem to be a GetConfiguration function within EZ_Builder.Config.Sub.PluginV1

PRO
Synthiam
#2  

Look at the tutorial step titled Code: Saving/Loading Configuration

The get and set configuration methods are overrides of the form. There’s a great video on the first step of this tutorial that demonstrates the step by step of building a plugin. I recommend watching that because it helps fill in any steps that were missed.

When you’ve done it once, it makes sense and voila, you can rinse and repeat:)

United Kingdom
#3  

Excellent, thanks - I will do. I really must learn not to just jump ahead in the process:)

PRO
Synthiam
#4  

Hey no problem - I do it all the time, and end up frustrated because I dont know what it was that I missed. Excitement gets the best of me

United Kingdom
#5  

Trying to follow the tutorials but can't find where the plugin page has gone. How do I add a new plugin to the ez-robot / Synthiam site to get the XML?

United Kingdom
#6  

Never mind. Just found the "Create skill control" link:)

#7  

I am trying to follow the instructions for adding my own plugin but I cannot seem to find the place to register the plugin based on the instructions.

Any help is appreciated.

Thanks

PRO
Synthiam
#8   — Edited

The new button to create a plugin skill control is less than an inch below the button you pressed to create this question. :)

User-inserted image