-
Notifications
You must be signed in to change notification settings - Fork 35
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
leg6dof9musc replay of IK solution has disconnected patella #617
Labels
Milestone
Comments
Fixed by PR #620, Please verify and close as needed. |
This is fixed on my Mac (3-26 build) |
Fixed on W10. Build 04-27-18 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Expected result
Swing motion plays and all patella is constrained to the knee.
Actual result
Overall leg motion is correct but the patella does not track the femur.
This seems to be a constraint enforcement issue, because when a coordinate slider is manually adjusted, the patella snaps back into place.
This is likely related to #608 since the vectorized setting of state values does not enforce constraints. It expects that state values were obtained by satisfying constraints. Although IK computes the constrained
knee_angle_pat_r
value (constrained to be the knee_angle), it does not report the constrained coordinate value, andModel::formStateStorage
will use its default value.The fix here is to add a final
Model::assemble(s)
for good measure OR detect when the input files are motions (e.g. does not have a complete state) and then do the assemble.Environment and GUI version
Windows build 0321
The text was updated successfully, but these errors were encountered: