Git Product home page Git Product logo

Comments (9)

matiasfrosini avatar matiasfrosini commented on August 26, 2024

Hi,
I have the same question. Could you find the answer ?

Thank you.

from apriltag.

alddiaz avatar alddiaz commented on August 26, 2024

Hi guys,
Q1: Yes, you are right. The coordinates of the tag are equal to the camera coordinates, i.e., x->right, y->down, z->inside the tag. You should be able to contrast this against the estimated 3-D tag orientation / rotation matrix.

Q2: The sequence of Euler angles doesn't matter as soon as you preserve it through all your calculations. You can use any one. A very typical sequence used in many engineering applications is XYZ, i.e., first rotation around z-axis (yaw), then rotation around y-axis (pitch), and finally around x-axis (roll).

from apriltag.

artificial-cassiano avatar artificial-cassiano commented on August 26, 2024

did anyone get the poses using the python binding already?

from apriltag.

alddiaz avatar alddiaz commented on August 26, 2024

nope, but I rather used a MATLAB implementation I wrote for that purpose, perhaps it could be helpful....
https://github.com/alddiaz/MATLAB_AprilTag3

from apriltag.

yuzhiyiliu avatar yuzhiyiliu commented on August 26, 2024

Hi guys,
Q1: Yes, you are right. The coordinates of the tag are equal to the camera coordinates, i.e., x->right, y->down, z->inside the tag. You should be able to contrast this against the estimated 3-D tag orientation / rotation matrix.

Q2: The sequence of Euler angles doesn't matter as soon as you preserve it through all your calculations. You can use any one. A very typical sequence used in many engineering applications is XYZ, i.e., first rotation around z-axis (yaw), then rotation around y-axis (pitch), and finally around x-axis (roll).

Are you sure?

from apriltag.

yuzhiyiliu avatar yuzhiyiliu commented on August 26, 2024

I'm sorry, my tag got left hand coordinate system, maybe x->right, y->down, z->outside.
pose_R :
[[ 0.9999614 -0.00163934 -0.00863229]
[-0.00865461 -0.01413587 -0.99986263]
[-0.00151709 -0.99989874 0.01414951]]
pose_t :
[[0.00151295 0.14521985 0.23501338]]

from apriltag.

mkrogius avatar mkrogius commented on August 26, 2024

The pose refers to the position of the tag within the camera frame, not the position of the camera relative to the tag. Maybe this is why it appears left-handed?

from apriltag.

yuzhiyiliu avatar yuzhiyiliu commented on August 26, 2024

The position of my tag within the camera frame, I am sure.

from apriltag.

mkrogius avatar mkrogius commented on August 26, 2024

I have added information regarding the coordinate frame to the user guide: https://github.com/AprilRobotics/apriltag/wiki/AprilTag-User-Guide#coordinate-system

from apriltag.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.