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

Request for clarification on coordinate system-related issues #17

Open
le-wei opened this issue Jul 16, 2024 · 1 comment
Open

Request for clarification on coordinate system-related issues #17

le-wei opened this issue Jul 16, 2024 · 1 comment

Comments

@le-wei
Copy link

le-wei commented Jul 16, 2024

Hello, thank you very much for the work you have done and the open-source code. I am currently studying your code. However, I have some confusion regarding the following lines in the step function of the VuerTeleop class in the teleop_hand.py file:

left_pose = np.concatenate([left_wrist_mat[:3, 3] + np.array([-0.6, 0, 1.6]),
                            rotations.quaternion_from_matrix(left_wrist_mat[:3, :3])[[1, 2, 3, 0]]])
right_pose = np.concatenate([right_wrist_mat[:3, 3] + np.array([-0.6, 0, 1.6]),
                             rotations.quaternion_from_matrix(right_wrist_mat[:3, :3])[[1, 2, 3, 0]]])

I haven't been able to understand these lines. Could you please explain their purpose? Also, why is the array [-0.6, 0, 1.6] used, and is there any reference material for the coordinate system definition (what is the reference coordinate system for the obtained left_pose)? Thank you very much for your assistance.

@chengxuxin
Copy link
Contributor

Thanks. We will update the readme with a description of the coordinate transformations.

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