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

April Tag Calibration Seems to Have Large Errors #5

Open
kwesiRutledge opened this issue Aug 18, 2022 · 1 comment
Open

April Tag Calibration Seems to Have Large Errors #5

kwesiRutledge opened this issue Aug 18, 2022 · 1 comment

Comments

@kwesiRutledge
Copy link
Contributor

It looks like the issue may be in this file around lines 37 and 38. How did we decide on these values @Xngzdai ? (They might be close to being correct, but I think we can improve them!) 😄

X_EndeffectorApriltag = np.identity(4)

@Xngzdai
Copy link
Contributor

Xngzdai commented Aug 18, 2022

Line 37 and 38 constructs the transformation from the end effector's interface to the surface of the apriltag.
Because these two surface are parallel, rotation matrix is an identity matrix.
The translation is applied along the z axis, pointing away from the x-y plane (the interface of the end effector). Therefore, the translation vector is [0, 0, z_offset]
Finally, I combined the rotation matrix and the translation matrix together as one transformation matrix. And I was fairly hesitant in doing this.

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