Make an EZ-Builder Behavior Control

Code: EZB Manager

The EZ_Builder.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 EZ_Builder.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 EZ_Builder.EZBManager instead of raw commands directly to the EZB. Here are some examples of using the EZBManager methods, to demonstrate how much more convenient they are for moving servos, specifically...


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

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

For detailed examples, remember that DJ Sures releases all his plug-ins open source, which means you can examine for reference. Here is a link to all of DJ's plugins:

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.

#8   — Edited
The new button to create a plugin behavior control is less than an inch below the button you pressed to create this question. :)

User-inserted image
Thanks for the quick response.

This what happens when you are working on robotics when its way past your bed time.

You miss the obvious
User-inserted image

User-inserted image

User-inserted image

User-inserted image
Sorry but can I ask you something why I didn't see the EZ-Builder library when I added visual studio even though I set up the C ++. DLL library and there's another way to execute it and send / receive console in out but I don't know how to do it with EZ_builder?
#12   — Edited
Please follow the tutorial. It’s impossible to know why you’re plug-in isn’t showing up without asking you if you followed each step of the tutorial:)