Skip to content
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

Add marker pose estimation node with depth image #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

708yamaguchi
Copy link
Collaborator

@708yamaguchi 708yamaguchi commented Dec 26, 2024

This PR needs apriltag_ros/AprilTagCornerDetectionArray and depends on the following branch.
https://github.com/iory/apriltag_ros/tree/develop

Sample rosbag (this file may be deleted after this PR is merged.)
https://drive.google.com/file/d/1pXuz78WrQ2LTqlz1aDv3Po9lJW5E9QrN/view?usp=sharing

Test code (You can see depth-estimated marker by ~debug (geometry_msgs/PoseStamped) topic)

<launch>

  <arg name="rosbag_path" default="" />

  <node pkg="rosbag" type="play" name="rosbag_play"
        args="$(arg rosbag_path) --loop --clock">
  </node>

  <include file="$(find riberry_startup)/launch/apriltag_detection.launch">
  </include>

  <node pkg="riberry_startup" type="marker_depth_pose_estimator.py"
        name="marker_depth_pose_estimator"
        output="screen" >
    <remap from="~input/tag_corner_detections" to="/tag_corner_detections" />
    <remap from="~input/depth" to="/camera/depth/image_rect_raw" />
    <remap from="~input/color/info" to="/camera/color/camera_info" />
    <remap from="~input/depth/info" to="/camera/depth/camera_info" />
    <remap from="~standalone_tags" to="/apriltag_ros_continuous_node/standalone_tags" />
  </node>

</launch>

Thank you very much for your help, @iory.

@708yamaguchi 708yamaguchi changed the title [WIP] Add marker pose estimation node with depth image Add marker pose estimation node with depth image Dec 27, 2024
@708yamaguchi 708yamaguchi requested a review from iory December 27, 2024 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant