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

Unit of corners in config file? #22

Open
fi6 opened this issue Jan 27, 2022 · 3 comments
Open

Unit of corners in config file? #22

fi6 opened this issue Jan 27, 2022 · 3 comments

Comments

@fi6
Copy link

fi6 commented Jan 27, 2022

I'm trying to get accurate pose of markers, but I'm not sure what is the unit of the corners in config yaml files. Is it in meter or inch, or something else?

@bbenligiray
Copy link
Owner

I don't know what yaml files you're referring to, but the pose is estimated assuming the top left corner is (0, 0) and the bottom right corner is (1, 1). So 1 unit of distance is equal to the real world width of your printed marker.

@fi6
Copy link
Author

fi6 commented Jan 29, 2022

I don't know what yaml files you're referring to, but the pose is estimated assuming the top left corner is (0, 0) and the bottom right corner is (1, 1). So 1 unit of distance is equal to the real world width of your printed marker.

Sorry that I may got the wrong repo(should be in stag_ros repo) for the config files. However, when you are saying (0, 0) to (1, 1) for the corners, is 1 unit of distance equal to 1 meter or 1000px, or something different?

@bbenligiray
Copy link
Owner

No, I mean if the black borders of the marker you have printed out is 20cm x 20cm, then 1 unit of distance will be equal to 20cm

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