-
Notifications
You must be signed in to change notification settings - Fork 285
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
Improve interface for forward kinematics #161
Conversation
- Type defendent program is not recommended - Only workaround for Issue #122 use dynamic_cast but this should be gone once this issue is resolved
- Skeleton pointer is required to notice to the skeleton that joint values are changed - The skeleton point is set by Joint::init() and the init() function called by BodyNode::init()
How do you update spatial velocity if I give you a new position for a the joint? Do you compute the finite difference between the new and old joint positions? |
Joints contain position, velocity, and other generalized values inside them. If new joint position is set then spatial velocity is updated using the new position and the inside velocity.
|
Improve interface for forward kinematics
Skeleton
andJoint
Here are some examples with improved API: