-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to View & Edit Arrays (1 or 2 Dimensional) in Configuration Variables #7
Comments
Yes, arrays are not currently supported. I couldn't really think of a compelling use for array configuration variables, although I'm interested to hear your use case (especially for multidimensional arrays). I'm most concerned about creating a general-purpose array viewer/editor that scales to multiple dimensions and various sizes. |
During auto, our motions are defined by passing in a desired coordinate on the field along with other parameters (motor power, robot orientation, etc). Usually we only have 4-5 parameters, but the number of rows can be pretty large depending upon the number of motions. Traditionally, we've stored this information in a 2D array, or a text files that is later read into an array. If possible in the FTC Dashboard, we thought it would be really useful to be able to edit the coordinates and other motion parameters in real time to speed up debugging/testing. |
Interesting use case. I'd be happy to merge an array PR, although I don't plan on implementing array support myself in the near future. |
I have an idea how to do it so contact me if you want to hear |
A valid use for configurable arrays, although quite niche, is for OpenCv Scalars since the parameter stored in its class is an array. You could just make vars for each value in the scalar but that gets annoying. |
Fixed-size arrays are supported after #144. |
…radlew Missing gradle wrappers
…view Update printing
In the configuration variables menu, I am unable to view or change any arrays (both 1 & 2 dimensional arrays). All that shows up is the name of the variable, but it appears that the values cannot be displayed.
Perhaps viewing arrays isn't supported, but that would be a cool feature to add.
The text was updated successfully, but these errors were encountered: