-
Notifications
You must be signed in to change notification settings - Fork 315
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
Marker Plate wrong axis? #51
Comments
Hi, @CesMak , If you change this take into account that the simple_double.cpp has to be modified too, in order to avoid the same issue (this only affects the simple_double.cpp file). So you will have to change this line to |
I have the same question about that. So witch axis is right ? Displayed in /aruco_single/result OR displayed in rviz ?
I have the same question about that and still don't understand by your reply. |
You can also test with the ARuco 3.0.4 branch: https://github.com/pal-robotics/aruco_ros/tree/aruco-3.0.4 I tried to adapt the package conventions to the library convention. The problem is that if we merged this, a lot of code that relies on the orientation would stop working as expected. |
@nevermore0127
The Z axis (the blue one) must be "going out" of the ARuco tag.
So following the ARuco convention, the /aruco_single/result has the correct orientation. Notice that this not affect translation at all.
As I said above, the orientation issue doesn't affect the pose estimation. So, yes the TF data is right the only difference is that it has an additional rotation. So in Rviz you see the y-axis pointing out of the tag.
Is not necessary it is just for convention, according to your needs you may need a different orientation. Or you can publish a static transform with a new rotation. (this is is the simplest solution). Notice that the TF data is only correct if your camera is correctly calibrated. If I am not clear enough, please let me know. |
Thanks,clear about that. |
Hi, I also found it is a bit confusing the TF axis direction is different from the detection result. I made a PR for this problem. |
@ctaipuj by the way, how can I directly get the corner position? |
Hey there,
I just wonder the following:
In the picture it looks like the y axis (green) is going out of the red plate but actually this should be the blue z - axis or??
does that mean the marker axis are displayed wrong?!
This is my code:
Just tested the same thing again with this pack:
https://github.com/joselusl/aruco_eye
and got a whole different output picture which seems to be right:
so I now guess that with this lib here the axes are just drawn wrong in the result pic!
Think I know my error I just should make the
to NONE not to LINES .....
Anyway does anyone has a description of the corner_refinement parameter?
The text was updated successfully, but these errors were encountered: