distinguish between controlled and model joints and links #528
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since EXOTica has the concept of the model state (the total DOF that describes the state of the kinematic chain) and the controlled state (the subset of the model state that can be controlled), I would like the API to reflect this more via the method names.
When querying the attributes (joints, links) and values (state) of a kinematic chain, the method name should contain which set is queried (i.e. the total model set of the controlled subset).
E.g. when using
GetJointNames
it is unclear if this will return the total set or only the controlled subset of joints.This breaks public API but I think it's worth to clarify this naming.