I have some questions.
I calibrated a built-in camera of my laptop and run Isaac-ROS-Apriltag.
However, the values of the output, x, y and z in position, were different from the values what I measured in real.
For instance, the distance between the camera of laptop and apriltag marker was 50 cm, but the value of z that Isaac-ROS-Apriltag showed was 2.37.
In addition, I sent a .png file that was made by Blender to Isaac-ROS-Apriltag.
The focal length was 13.8mm and image size was 1920 x 1080.
So, I set parameters below as camera_info.k.
camera_info.k = [
736., 0., 960.,
0., 621., 540,
0., 0., 1.,
]
The outputs of Isaac-ROS-Apriltag was {‘x’: -0.3213535249233246, ‘y’: 0.14823968708515167, ‘z’: 0.6875213980674744}.
But the difference of coordinates between the apriltag and camera in Blender was [0.16572, (-)0.2582, 0.2565], its unit is meter.
coordinates of camera
coordinates of apriltag
So, there is the difference between the expected coordinates’ values and the output, x, y and z in position, from Isaac-ROS-Apriltag.
I checked ROS Parameters and changed not size but tag_dimensions because I could not find size in /workspaces/isaac_ros-dev/src/isaac_ros_apriltag/isaac_ros_apriltag/config/apriltag_node.yaml.
- name: cuda_april_tag_detector
type: nvidia::isaac::CudaAprilTagDetector
parameters:
camera_image: camera_image_info_in
april_tags: april_tags_out
allocator: pool
max_tags: 64
tile_size: 4
tag_dimensions: 0.08 # I use 8cm x 8cm Apriltag marker.
Then run colcon build.
$ cd /workspaces/isaac_ros-dev && \
colcon build --symlink-install && \
source install/setup.bash
Nevertheless I chenged the parameter, tag_dimensions, and colcon build, nothing was changed.
What do I miss for this?
Are the values of position from Isac-ROS-Apriltag different from the values in real?
If so, do I need to take some measures like matrix calculations, for example using quaternion, to get the correct values for real?
Thank you.








