Asked — Edited

Ez-Script Builder Idea

I was in the EZ-Script compiler tonight and came up with a little idea. I was wondering if I continued this path, if it would be useful to any of you?

The idea is you can right click on a line when editing EZ-Script and a graphical wizard will appear to help you create programs...


ARC Pro

Upgrade to ARC Pro

ARC Pro is your passport to a world of endless possibilities in robot programming, waiting for you to explore.

#1  

I'm not sure if this is possible or if it already exists in some way... but after seeing your video it gave me an idea:

Would it be possible to add a servo slider in the graphical wizard? So after selecting the port the user could choose/ visually see the servo location without having to exit out of the script editor. This could also be implemented with ADC meters and digital meters for proximity sensors. It would be helpful/faster programming if you could see the variables as you code in the script:)

Aaron

#2  

I like the idea. I like having options in a development environment and it might make it easier for some who don't know the numbering scheme do the ports. It could also help those that aren't comfortable with the commands to see the syntax of doing things by making this syntax more quickly available.

Options are a good thing.

PRO
Synthiam
#3  

Interesting @Robot56 - I like that idea. It will be quite a lot of work but over time I can see the EZ-Script builder turning into that!

#4  

DJ, I think it's a great idea and would be a wonderful addition in ARC. I think it would be a wonderful tool for users learning.

Canada
#5  

DJ, Yes that will be just great!

#6  

@DJ Sures or perhaps adding a new "port summary" tab on the right side would have the same effect?

PRO
Synthiam
#7  

Robot, can you expand on that?

#8  

Sure I'll do my best:)

When I'm coding in ARC the first thing I do it set up servo sliders and digital/ADC meters for all of the ports that are currently in use so that I know all of the servo position minimum and maximums. Often times they get moved to another virtual desktop to get them out of the way. This however doesn't help while inside the script editor as there is no way to retrieve specific servo/sensor data. often times I either exit the editor to get a specific servo position or just guess and fine tune the position once its run a few times.

My idea is to add another tab on the right side of the script editor (next to the script help, port summary, cheat sheet, console tabs) that incorporates servo sliders and meters that have already been created within the project. This way, as an example, one can move the servo within the script editor to determine a specific servo position while coding.

Hopefully I described this idea well enough? Like you said, it is probably a huge undertaking but I think coding would be a lot faster with less and back between script editors and the main menu screen where all of the data is displayed.

Aaron

PRO
Synthiam
#9  

I understand - so an interactive port summary? The port summary page is Project -> My EZ-robot Project -> Details -> Port Summary

that content is viewable when editing scripts - unless you've designed a robot with EZ-Bits, which overrides the port summary.

So the port summary but with an interactive controls? I'll think about how to do that...

#10  

Another thing, leading off of this, would be the global variables idea, where if you set servo minimums and maximums, a summary tab will show those mins and maxes, and the current position of the servo.

PRO
Synthiam
#11  

Techno pro, every control allows different min and max. That's a feature because many times you wish different min and max based on what is controlling it. For example, when using tracking for JD's neck seevos the min and max is different than using vuzix glasses.

Same applies to the wiimote on JD's arms vs the myo.

So showing min and max won't work. However, showing current servo position could be possible.

#12  

@DJ The "right click insert" feature is a really nice addition indeed.... The way ARC is evolving to streamline coding is awesome.... I think soon the only way you could possibly make scripting any easier would be the ability to actually dictate (speech) your code to ARC... :D