Closed Circle-Kai closed 2 years ago
We are also facing this issue. Please see the image below:
As shown above, the location of marker frame in RViz does not match with that of gazebo. This really confuses us because we are not clear which dictates the physical location of marker in reality
Any help on this issue would be appreciated.
I am also facing the same issues. I am also using a summit xl.
my launch file is:
<arg name="markerId" default="0"/>
<arg name="markerSize" default="0.05"/> <!-- in meter -->
<arg name="eye" default="left"/>
<arg name="marker_frame" default="marker_frame"/>
<arg name="ref_frame" default=""/> <!-- leave empty and the pose will be published wrt param parent_name -->
<arg name="corner_refinement" default="LINES" /> <!-- NONE, HARRIS, LINES, SUBPIX -->
<node pkg="aruco_ros" type="single" name="aruco_single">
<!-- <remap from="/camera_info" to="/usb_cam/camera_info" /> -->
<remap from="/camera_info" to="/robot/front_rgbd_camera/rgb/camera_info" />
<!-- <remap from="/image" to="/usb_cam/image_raw" /> -->
<remap from="/image" to="/robot/front_rgbd_camera/rgb/image_raw" />
<param name="image_is_rectified" value="True"/>
<param name="marker_size" value="$(arg markerSize)"/>
<param name="marker_id" value="$(arg markerId)"/>
<param name="reference_frame" value="$(arg ref_frame)"/> <!-- frame in which the marker pose will be refered -->
<param name="camera_frame" value="robot_front_ptz_camera_base_link"/>
<param name="marker_frame" value="$(arg marker_frame)" />
<param name="corner_refinement" value="$(arg corner_refinement)" />
</node>
</launch>```
Either the marker size is wrong or the camera is not properly calibrated.
Either the marker size is wrong or the camera is not properly calibrated.
But the calibration info is obtained from the standard topic of SUMMIT XL robot "camera info". We are not clear on how the marker size influence frame location, because the marker frame is located at a distance from camera frame in gazebo, whereas in rviz it is showing above.
The correlation between marker frame location and marker size is not clear
The size parameter for aruco determines the distance from the camera.
A 100px x 100px marker in the camera, could be a 10cm marker a 10 meters, or a 1cm marker at 1meter.
The size parameter for aruco determines the distance from the camera.
A 100px x 100px marker in the camera, could be a 10cm marker a 10 meters, or a 1cm marker at 1meter.
I changed my aruco size in launch file from 0.12 to 0.13 and everything is fine. Thanks a lot!
Hello,
We will proceed to close this issue due to inactivity.
Thank you,
Best Regards, PAL Robotics Team.
I placed ARuco in front of the camera, but when RViz looked at the tf, the marker_frame was above the camera.