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

The Homogeneous Matrix flMe maybe wrong. #32

Open
allbluelai opened this issue Jun 8, 2023 · 1 comment
Open

The Homogeneous Matrix flMe maybe wrong. #32

allbluelai opened this issue Jun 8, 2023 · 1 comment

Comments

@allbluelai
Copy link

The Homogeneous Matrix flMe maybe wrong. According to Franka Emika Robot’s Instruction Handbook [see Page 164 of the handbook], the corrected one is:
vpHomogeneousMatrix flMe(
vpTranslationVector( 0, 0, 0.1034 ),
vpRotationMatrix( { std::cos( vpMath::rad( 45 ) ), std::sin( vpMath::rad( 45 ) ), 0,
-std::sin( vpMath::rad( 45 ) ), std::cos( vpMath::rad( 45 ) ), 0, 0, 0, 1 } ) );

@aaoliva
Copy link
Contributor

aaoliva commented Jun 13, 2023

Hi allbluelai,

The homogeneous matrix you are mentioning on the manufacturer's documentation is indeed correct; The orientation of the end-effector with respect to the flange has a rotation about the z-axis of -45 deg.
In the example you are mentioning though, we are showing a way to manually set the pose of the end-effector (for any arbitrary gripper you may want to use, even the Franka gripper with a different definition of the ee pose).
So this transformation was written on purpose this way to showcase this feature. As you can see from the example, this part of the code is not executed, since it is inside a if( 0 ) condition. The simulator by default, takes the pose of the frame EE on the CoppeliaSim scene and uses it as the ee pose (w.r.t. the flange) as flMe.

Hope this clarifies.

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