Skip to content
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

Qustion about robot.compute_spatial_twist_jacobian() #168

Open
isabella4444x opened this issue Jul 19, 2024 · 3 comments
Open

Qustion about robot.compute_spatial_twist_jacobian() #168

isabella4444x opened this issue Jul 19, 2024 · 3 comments

Comments

@isabella4444x
Copy link

Hello,
When I compute joint velocity from twist, the function robot.compute_spatial_twist_jacobian() in 0.8 version I want to use disappears now in 3.0v.
So is there similar method to get the jacobian?
Thank you a lot!!!

@fbxiang
Copy link
Collaborator

fbxiang commented Jul 25, 2024

All functionalities related to kinematics and dynamics are now only supported through Pinocchio. You can call robot.get_pinocchio_model() to create a pinocchio model and you can refer to this file for usage.

https://github.com/haosulab/SAPIEN/blob/dev/python/py_package/wrapper/pinocchio_model.py

@isabella4444x
Copy link
Author

Thank you!
I have used robot.create_pinocchio_model() to compute the ee link's jacobian.
And maybe the first 3dims of the jaccobian is last 3 dims of qvel, I mean the of sort of linear velocity and angular velocity is different?

@fbxiang
Copy link
Collaborator

fbxiang commented Aug 5, 2024

I am not sure what you are trying to achieve here. The Jacobian simply maps joint velocity (in the order of qvel) to link twist (in the order of $v, \omega$). Twist is not linear and angular velocity unless the link's frame aligns with its center of mass in a very specific way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants