Hello, I ran the tutorial from 13. April Tags — Omniverse IsaacSim latest documentation. I made some modifications, placing the camera at position (0, 0, 0), as shown in the figure below.
I placed the apriltag_id1 at position (-1, 0.1, 0), and set the scale of y and z to 0.001.
Then, I modified the apriltag_continuous_detection.launch file as follows:
{‘id’: 1, ‘size’: 0.1, ‘name’: tag_1}
param name=“publish_tf” type=“bool” value=“true”
After that, I ran the program and executed the command: rosrun tf tf_echo /world /tag_1. The coordinates of the detected tag_1 were:
- Translation: [-0.455, 0.125, 0.000]
- Rotation: in Quaternion [0.004, 0.708, -0.003, 0.706]
in RPY (radian) [3.072, 1.567, 3.062]
in RPY (degree) [175.993, 89.808, 175.413]
As we can see, the detected coordinates (-0.455, 0.125) differ significantly from the actual coordinates (-1, 0.1). What should I do to correct this? Thank you, welcome all suggestions.
april_tag.usd (13.5 KB)