-
Notifications
You must be signed in to change notification settings - Fork 45
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
Statically Sized Parameters #190
Comments
@jcarpinelli-bdai we do support a feature that is similar to what you are asking for. You can check here in the example for how it is used. The referenced example creates a vector that is at most size 10 and is stack-allocated. If you want to require a specific size, you could probably use To answer your question, we somewhat support that and it is useful. Also, you may have issues with the leading zero in front of the 6. I'm not positive if that is valid. |
Thank you, @pac48! To clarify, what value should the resulting parameter take? Is it an |
@jcarpinelli-bdai The type is a |
Is it possible to configure
std::array
-valued parameters for fixed-size definitions? For example, for Cartesian stiffness gains, I'm currently using...It may be nice to have a single parameter for stiffness gains, but still have stack-allocated values. For example...
Do you agree this feature does not currently exist, but may be a nice feature to have?
The text was updated successfully, but these errors were encountered: