Skip to content
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

Closed
sbhatnag02 opened this issue Aug 21, 2019 · 6 comments

Comments

@sbhatnag02
Copy link

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.

@rbrott
Copy link
Member

rbrott commented Aug 22, 2019

Perhaps viewing arrays isn't supported, but that would be a cool feature to add.

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.

@sbhatnag02
Copy link
Author

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.

@rbrott
Copy link
Member

rbrott commented Aug 28, 2019

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.

@adamrubinfeld
Copy link

adamrubinfeld commented Aug 26, 2020

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

@jaredhaertel
Copy link

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.

@rbrott
Copy link
Member

rbrott commented Nov 5, 2023

Fixed-size arrays are supported after #144.

@rbrott rbrott closed this as completed Nov 5, 2023
j5155 pushed a commit to jdhs-ftc/ftc-dashboard-record that referenced this issue Jul 22, 2024
aaditn pushed a commit to 6165-MSET-CuttleFish/ftc-dashboard that referenced this issue Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants