Giter Site home page Giter Site logo

Comments (7)

v-lopez avatar v-lopez commented on June 28, 2024 2

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.

from aruco_ros.

Eswar1991 avatar Eswar1991 commented on June 28, 2024

We are also facing this issue. Please see the image below:
image
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.

from aruco_ros.

sakthivelj avatar sakthivelj commented on June 28, 2024

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>```

from aruco_ros.

v-lopez avatar v-lopez commented on June 28, 2024

Either the marker size is wrong or the camera is not properly calibrated.

from aruco_ros.

Eswar1991 avatar Eswar1991 commented on June 28, 2024

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

from aruco_ros.

lalazari avatar lalazari commented on June 28, 2024

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!

from aruco_ros.

saikishor avatar saikishor commented on June 28, 2024

Hello,

We will proceed to close this issue due to inactivity.

Thank you,

Best Regards,
PAL Robotics Team.

from aruco_ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.