Award
Congratulations DJ Sures, for answering the question and has received an EZ-Credit award! Share what you have learned and create a tutorial to help others by clicking here.

With My Plugin In Test - Control Command List Is Not Complete In Blocky

Assistance Requested

Help Jlucben with their question and receive $10 of EZ-Credit to get more robots and parts from our store. The following information was provided about their previous efforts searching tutorials for a resolution.

Jlucben claims to have checked these sources:
 
#1

Hi

I'am in testing phase of a new plugin Synbot plugin

I Have included five commands as yu can see in the sheet tab
User-inserted image

but in the blocky list of command for ControlCommand() block , only 2 commands are selectable


User-inserted image

Thanks for your help

I have found a few conversations, tutorials and activities that may help with your question. Take a look at these links. I've sorted them by what I believe to be most relevant but that is not always the case as I'm still learning.


Also, consider reviewing the Learn section for informative lessons and activities. Check it out!


#2

Correct - ControlCommand() in Blockly will not display any commands with more than one parameter. This is because second parameters are optional or user defined, and there's no interface in Blockly to collect that information. Limit to one parameter only.

#3

Thanks dj

It's a limit
It Will be fine to improve in next releases

A next question on plugin is it possible To return a value ControlCommand of a plugin and how if possible can we do that in plugin code
Thanks

Jean luc

#4

you cannot return a value as ControlCommand. However, you may wish to either

1) Assign a value to a variable: http://www.ez-robot.com/Tutorials/UserTutorials/146/19

2) Create an ez-script function: http://www.ez-robot.com/Tutorials/UserTutorials/146/22

here is the plugin tutorial: http://www.ez-robot.com/Tutorials/UserTutorials/146/1

#5

Ok dj

I have already included options 1 and 2 in the plugin
It can be made public in one or 2 weeks after more deeper intégration testing

Thanks for all

#6

Excited to see it Grin

#7

Just waiting a little bit dj it's i think a good alternative to pandora bots full open source and very more powerful
I am french so i need more work To give examples in french and english

But it's on a very good way

#8

Wow - that is great! Many people here will be happy for your work Grin