You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to configure std::array-valued parameters for fixed-size definitions? For example, for Cartesian stiffness gains, I'm currently using...
@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 gt<> and lt<> validators.
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 std::vector that is somehow stack allocated, with a maximum size? Or is it supposed to be an std::array?
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: