Request: "Paste signatures from clipboard" for Vision Utility

The Vision Utility has a tiny little button that will **Copy signatures to clipboard".

It generates code like this:

vision::signature SIG_1 (1, -279, -87, -182, 469, 827, 648, 2.500, 0);
vision::signature SIG_2 (2, 0, 0, 0, 0, 0, 0, 2.500, 0);
vision::signature SIG_3 (3, 0, 0, 0, 0, 0, 0, 2.500, 0);
vision::signature SIG_4 (4, 0, 0, 0, 0, 0, 0, 2.500, 0);
vision::signature SIG_5 (5, 0, 0, 0, 0, 0, 0, 2.500, 0);
vision::signature SIG_6 (6, 0, 0, 0, 0, 0, 0, 2.500, 0);
vision::signature SIG_7 (7, 0, 0, 0, 0, 0, 0, 2.500, 0);
vex::vision vision1 ( vex::PORT1, 50, SIG_1, SIG_2, SIG_3, SIG_4, SIG_5, SIG_6, SIG_7 );

Any chance you could implement the complimentary action of: Paste signatures from clipboard

Some of the programming tasks my students must accomplish involve navigating a classroom maze with obstacles. I would like to provide students with reliable color signature setting values so their success is based on the algorithm they program and not the extremely variable color signature settings.

In Blocks, there is no way to adjust/set color signature values and this would provide that.

Thanks!

This is always tricky as any mis-formatting of the text causes the data to be hard to parse. We tried to do this with only partial success in VEXcode V5 Pro.

One way to do this would be to provide an example program to the students with signatures already set as a starting point.

5 Likes

Yeah, parsing user input can be fraught with problems. I was hoping it would minimally be able to paste signatures created by the copy button (with any malformations simply being rejected).

To provide a scaffolded/differentiated learning experience, I want students to do their own signatures, and when necessary provide them.

Without a paste function, there is no way to revisit/save/revert past signatures (at least not in Blocks). Only having them pre-set from the beginning of a project is a limitation.